/** * @example * { * id: "P11", * name: "Iphone 11" * } */ export interface CreateUpdateProductRequest { /** Brand of the product */ brand?: string; /** Category ID-s of the product */ categories?: string[]; /** UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the product deleted from the shop's database */ deletedAt?: string; /** Description of the product */ description?: string; /** Product ID for which you requested the details */ id: string; /** Absolute URL to the cover image of the product */ imageUrl?: string; /** product deleted from the shop's database */ isDeleted?: boolean; /** Meta data of product such as description, vendor, producer, stock level. The total characters of cumulative metaInfo shall not exceed **20000 characters**. */ metaInfo?: Record; /** **Mandatory in case of creation**. Name of the product, as displayed in the shop */ name: string; /** Parent product id of the product */ parentId?: string; /** Price of the product */ price?: number; /** Alternative price of the product */ alternativePrice?: number; /** Product identifier from the shop */ sku?: string; /** Current stock value of the product from the shop's database */ stock?: number; /** Facilitate to update the existing product in the same request (updateEnabled = true) */ updateEnabled?: boolean; /** URL to the product */ url?: string; } export declare namespace CreateUpdateProductRequest { namespace MetaInfo { type Value = string | number; } }