productsمطلوب | array of objects | |
products[].external_idمطلوب | string | null | Optional here; if sent, the same as the key in the path. |
products[].titleمطلوب | string | |
products[].description | string | null | Plain text; HTML is not interpreted. |
products[].short_description | string | null | Only fills an empty field on the first send. It never overwrites what the seller wrote. |
products[].brand | string | null | |
products[].statusمطلوب | active | draft | archived | What you say about the product. The Souq decides what a buyer sees: a seller that is not enabled gets drafts, and archived stays archived. |
products[].currencyمطلوب | string | ISO 4217. A currency the marketplace doesn't sell in fails that product with unsupported_currency. |
products[].product_category_id | string | null (uuid) | A product subcategory. Only fills an empty field on the first send. |
products[].options | array of string | Option names, such as Size. A product has at most 3. |
products[].variantsمطلوب | array of objects | 1 to 100 versions (a plain product is one). Several versions are written only while the marketplace has them switched on (variants_not_enabled). |
products[].variants[].external_idمطلوب | string | Your variant key, unique within the product. |
products[].variants[].option_values | array of string | One value per option name of the product, in order. |
products[].variants[].sku | string | null | Unique within the business. |
products[].variants[].gtin | string | null | A valid GTIN (8, 12, 13 or 14 digits). An invalid one is dropped with the warning gtin_dropped. |
products[].variants[].priceمطلوب | integer | What a buyer pays, in minor units of the product's currency (cents; fils for JOD). For JOD it must be a multiple of 10 for now, or the product fails with precision_unsupported. |
products[].variants[].compare_at_price | integer | null | The price it was before, when price is a sale price. |
products[].variants[].quantity | integer | null | Null when you don't count stock; the variant is then always available. |
products[].variants[].weight_grams | integer | null | |
products[].variants[].image_url | string | null | The variant's photo, an https address. It is fetched like the product's photos. |
products[].images | array of objects | Up to 12 photos. A product with an uploaded video holds 11: the extra photo is dropped with the warning too_many_images. |
products[].images[].urlمطلوب | string | A public https address on the standard port, without a user name. It is fetched after your call, by us, once per address (an address already copied is not fetched again) up to a daily budget. |
products[].images[].alt | string | null | |