Inventory Product
POST /openapi/{version}/products/inventory/
Bulk create multiple inventory product entries in a single request.
Note: This is an asynchronous API. This will return the task ID which is submitted to create the Inventory Products.
To know the status of the task, you can do one of the following:-,
-
Use Get Bulk Create or Update Product Status API by providing the task ID.
OR
-
Subscribe to the InventoryProductBulkUploadStatus callback type in Seller Webhooks section.
Example:
curl --location '{{url}}/openapi/v2/products/inventory/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '[
{
"sku": "SKU001-test-31",
"name": "Product One",
"cost_price_currency": "PHP",
"cost_price": "10.50",
"dimension_height": "10.00",
"dimension_width": "5.00",
"dimension_length": "20.00",
"weight": "1.50",
"expiry_managed_enabled": true,
"batch_managed_enabled": false,
"sell_by": 30,
"serial_number_enabled": true,
"upc": "Demo-31",
"country_of_origin": "MY",
"country_hs_codes": [
{
"country_code": "MY",
"hs_code": "6109.10.01"
}
],
"material": "Leather",
"description": "High-quality leather product with excellent durability and comfort."
},
{
"sku": "SKU001-test-32",
"name": "Product Two",
"cost_price_currency": "PHP",
"cost_price": "10.50",
"dimension_height": "10.00",
"dimension_width": "5.00",
"dimension_length": "20.00",
"weight": "1.50",
"expiry_managed_enabled": true,
"batch_managed_enabled": false,
"sell_by": 30,
"serial_number_enabled": true,
"upc": "Demo-32",
"country_of_origin": "MY",
"country_hs_codes": [
{
"country_code": "MY",
"hs_code": "6109.10.01"
}
],
"material": "Wool",
"description": "Premium wool material providing warmth and comfort."
}
]'
Request
- Base URLhttps://base_url
- Authnone declared
Path parameters
versionstring required
Request body
Response
Successful Bulk Create Inventory Product Task Submission.
Changes
No recorded changes to this operation across all 1 revision of this API.