This document is generated by Apidog. Apidog: All-in-one workspace for API design, document, debug, test, mock
{
"items": [
{
"name": "bmw m2",
"image": "https://somecdn/image.jpeg",
"sku": "bmwm2",
"scannable": "bmwm2",
"description": "bmw m2 rwd",
"uom": "car",
"base_unit": "each",
"is_perishable": false,
"is_batch_controlled": false,
"is_tracked_by_serial_no": false,
"is_hazmat": true,
"hazmat_type": "LIMITED_QUANTITY"
},
{
"name": "bmw m3",
"image": "https://somecdn/image.jpeg",
"sku": "bmwm3",
"scannable": "bmwm3",
"description": "bmw m3 rwd",
"uom": "car",
"base_unit": "each",
"receiving_unit": "trailer",
"receiving_unit_base_conversion": "10",
"shipping_unit": "maersk-ship",
"shipping_unit_base_conversion": "100",
"is_perishable": false,
"is_batch_controlled": false,
"is_tracked_by_serial_no": false,
"is_hazmat": true,
"hazmat_type": "LIMITED_QUANTITY"
}
]
}
curl --location --request POST 'https://nova-sandbox.leanafywms.com/v1/item/bulk' \
--header 'X-API-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"items": [
{
"name": "bmw m2",
"image": "https://somecdn/image.jpeg",
"sku": "bmwm2",
"scannable": "bmwm2",
"description": "bmw m2 rwd",
"uom": "car",
"base_unit": "each",
"is_perishable": false,
"is_batch_controlled": false,
"is_tracked_by_serial_no": false,
"is_hazmat": true,
"hazmat_type": "LIMITED_QUANTITY"
},
{
"name": "bmw m3",
"image": "https://somecdn/image.jpeg",
"sku": "bmwm3",
"scannable": "bmwm3",
"description": "bmw m3 rwd",
"uom": "car",
"base_unit": "each",
"receiving_unit": "trailer",
"receiving_unit_base_conversion": "10",
"shipping_unit": "maersk-ship",
"shipping_unit_base_conversion": "100",
"is_perishable": false,
"is_batch_controlled": false,
"is_tracked_by_serial_no": false,
"is_hazmat": true,
"hazmat_type": "LIMITED_QUANTITY"
}
]
}'
{
"success": true,
"payload": true
}