Body
application/json
List of products to create
Response
OK
Expected output when listing products, it will return an array of ProductOutputSerializer.
The name of the product
Example:
"Organic Bananas"
The external ID of the product from an external system
Example:
"ext_001"
The Stock Keeping Unit (SKU) for the product
Example:
"11111"
The description of the product
Example:
"Fresh organic bananas, perfect for smoothies and baking"
List of image URLs for the product
Example:
[
"https://example.com/bananas1.jpg",
"https://example.com/bananas2.jpg"
]
List of categories the product belongs to
Example:
["Produce", "Fruits", "Organic"]
The weight of the product
Example:
0.5
Dimensions of the product
Example:
{ "depth": 8, "height": 4, "width": 12 }
List of identifiers for the product
Example:
[{ "type": "UPC", "value": "123456789012" }]
List of attributes for the product
Example:
["WEIGHTED"]
Additional product details including weight and size specifications
Example:
{
"packSizeSpecification": {
"description": "10 units per pack",
"value": 10
},
"sizeSpecification": { "description": "ea", "value": 1 },
"weightedItemInfo": { "weightPerItem": 0.12, "weightUnit": "kg" }
}