v1
latestOpenAPI 3.0.32026-07-13149852.3 MBshipping
Shipping - Restore Inventory
Restore inventory that was previously deducted when a shipment was created.
post/s/ship/shipping/restore_inventory
Request body
Example request
{
"store_id": "507f1f77bcf86cd799439011",
"shipment_id": "507f1f77bcf86cd799439011"
}Response
Inventory restored and returns updated order shipments
Example response
{
"_id": "507f1f77bcf86cd799439011",
"shipments": [
{
"_id": "507f1f77bcf86cd799439011",
"request": {
"_id": "507f1f77bcf86cd799439011",
"store_id": "507f1f77bcf86cd799439011",
"address": {
"country": "US"
},
"origin_address": {
"country": "US"
},
"return_address": {
"country": "US"
},
"rate": {
"carrier_account": {
"_id": "507f1f77bcf86cd799439011"
}
},
"order_items": [
{
"item_id": "507f1f77bcf86cd799439011",
"location_id": "507f1f77bcf86cd799439011"
}
],
"customs_items": [
{
"origin_country": "US"
}
],
"currency": "USD",
"origin": "507f1f77bcf86cd799439011",
"shipping_date": "2025-01-15"
},
"time": "2025-01-15T12:00:00.000Z"
}
]
}