POST /variant-warehouse-updates.json
Body Required
-
adjustments integer(int32) | null
Adjustments
-
available integer(int32) | null
Available
-
dropshipmentItems integer(int32) | null
Dropshipment items
-
inventoryAllocated integer(int32) | null
Inventory allocated
-
inventoryQuantity integer(int32) | null
Inventory quantity
-
received integer(int32) | null
Received
-
shipped integer(int32) | null
Shipped
-
sold integer(int32) | null
Sold
-
totalIn integer(int32) | null
Total in
-
totalOut integer(int32) | null
Total out
-
transfersIn integer(int32) | null
Transfers in
-
transfersOut integer(int32) | null
Transfers out
-
Variant inventory update
-
Warehouse
POST /variant-warehouse-updates.json
curl \
-X POST http://api.example.com/v1/variant-warehouse-updates.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"adjustments":42,"available":42,"dropshipmentItems":42,"inventoryAllocated":42,"inventoryQuantity":42,"received":42,"shipped":42,"sold":42,"totalIn":42,"totalOut":42,"transfersIn":42,"transfersOut":42,"variantInventoryUpdateId":42,"warehouseId":42}'
Request example
{
"adjustments": 42,
"available": 42,
"dropshipmentItems": 42,
"inventoryAllocated": 42,
"inventoryQuantity": 42,
"received": 42,
"shipped": 42,
"sold": 42,
"totalIn": 42,
"totalOut": 42,
"transfersIn": 42,
"transfersOut": 42,
"variantInventoryUpdateId": 42,
"warehouseId": 42
}
Response examples (200)
{
"adjustments": 42,
"available": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipmentItems": 42,
"id": 42,
"inventoryAllocated": 42,
"inventoryQuantity": 42,
"received": 42,
"shipped": 42,
"sold": 42,
"totalIn": 42,
"totalOut": 42,
"transfersIn": 42,
"transfersOut": 42,
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantInventoryUpdateId": 42,
"warehouseId": 42
}