interface IInput {
    input: {
        barcode_strategy?: null | MarketplaceBarcodeStrategy;
        category_id?: null | number;
        delivery_points?: null | {
            braname: string;
            min_supply_volume: number;
        }[];
        description?: null | string;
        id: string;
        images?: null | {
            base64?: null | string;
            bucket_key?: null | string;
            mime_type?: null | string;
        }[];
        pack_size?: null | number;
        packages?: null | {
            id?: null | string;
            is_default?: null | boolean;
            label?: null | string;
            package_type: string;
            price: string;
            size: number;
        }[];
        price_per_unit?: null | string;
        product_name?: null | string;
        quantity_available?: null | number;
        sale_form?: null | MarketplaceSaleForm;
        shelf_life_days?: null | number;
        unit_of_measure?: null | MarketplaceUnitOfMeasure;
        unlimited_flag?: null | boolean;
    };
}

Properties

Properties

input: {
    barcode_strategy?: null | MarketplaceBarcodeStrategy;
    category_id?: null | number;
    delivery_points?: null | {
        braname: string;
        min_supply_volume: number;
    }[];
    description?: null | string;
    id: string;
    images?: null | {
        base64?: null | string;
        bucket_key?: null | string;
        mime_type?: null | string;
    }[];
    pack_size?: null | number;
    packages?: null | {
        id?: null | string;
        is_default?: null | boolean;
        label?: null | string;
        package_type: string;
        price: string;
        size: number;
    }[];
    price_per_unit?: null | string;
    product_name?: null | string;
    quantity_available?: null | number;
    sale_form?: null | MarketplaceSaleForm;
    shelf_life_days?: null | number;
    unit_of_measure?: null | MarketplaceUnitOfMeasure;
    unlimited_flag?: null | boolean;
}

Type declaration

  • Optional barcode_strategy?: null | MarketplaceBarcodeStrategy
  • Optional category_id?: null | number
  • Optional delivery_points?: null | {
        braname: string;
        min_supply_volume: number;
    }[]

    КУ поставки с минимальным объёмом. Если передано — полностью заменяет набор.

  • Optional description?: null | string
  • id: string
  • Optional images?: null | {
        base64?: null | string;
        bucket_key?: null | string;
        mime_type?: null | string;
    }[]

    Изображения товара (base64). Если передано — полностью заменяет текущий набор. До 8 файлов, каждый ≤ 10 МБ, JPEG/PNG/WEBP.

  • Optional pack_size?: null | number
  • Optional packages?: null | {
        id?: null | string;
        is_default?: null | boolean;
        label?: null | string;
        package_type: string;
        price: string;
        size: number;
    }[]

    Каталог упаковок. Если передан — полностью заменяет текущий набор.

  • Optional price_per_unit?: null | string
  • Optional product_name?: null | string
  • Optional quantity_available?: null | number
  • Optional sale_form?: null | MarketplaceSaleForm

    Способ отпуска. Если передан packaged — требуется непустой список packages.

  • Optional shelf_life_days?: null | number

    Срок годности имущества в днях (основа списания скоропорта).

  • Optional unit_of_measure?: null | MarketplaceUnitOfMeasure
  • Optional unlimited_flag?: null | boolean