Create products batch
POST
/products/batch
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/products/batch' \
--header 'X-Identifier: {{x_identifier}}' \
--header 'Authorization: Bearer {{token}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"products": [
{
"status": "draft",
"meta_title": "string",
"meta_description": "string",
"name": "string",
"external_reference": "string",
"description": "string",
"short_description": "string",
"slug": "string",
"hs_code": "string",
"country_of_origin": "string",
"vat_rate": 2500,
"variants": [
{
"sku": "string",
"stock": 0,
"weight": 0,
"purchase_price": 0,
"stock_price": 0,
"package_size": 1,
"supplier_sku": "string",
"prices": [
{
"price": 0,
"compare_price": 0,
"customer_group_id": 1,
"currency_id": 1,
"tier": 0
}
],
"gtin": "string",
"options": [
{
"type": "string",
"value": "string"
}
]
}
],
"type": "standard",
"categories": [
{
"name": "string",
"external_identifier": "string",
"update_on_exists": true
}
],
"brand_name": "string",
"supplier_name": "string",
"attributes": [
{
"key": "string",
"value": "string",
"is_featured": true,
"is_labeled": true
}
],
"specifications": [
{
"section_title": "string",
"specifications": [
{
"key": "string",
"value": "string",
"is_featured": true
}
]
}
],
"filter_tags": [
"string"
],
"images": [
"string"
],
"vehicle_data": [
{
"tag": "string",
"model": "string",
"brand": "string",
"year": 0,
"metadata": {}
}
]
}
]
}'
Response Response Example
{}
Request
Header Params
X-Identifier
string
optional
Example:
{{x_identifier}}
Authorization
string
optional
Example:
Bearer {{token}}
Accept
string
optional
Example:
application/json
Content-Type
string
optional
Example:
application/json
Body Params application/json