PUT /variant-warehouse-updates/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
adjustments integer(int32) | null
Adjustments
-
available integer(int32) | null
Available
-
createdAt string(date-time)
Created at
-
dropshipmentItems integer(int32) | null
Dropshipment items
-
id integer(int32)
Id
-
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
-
updatedAt string(date-time)
Updated at
-
Variant inventory update
-
Warehouse
PUT /variant-warehouse-updates/{id}.json
curl \
-X PUT http://api.example.com/v1/variant-warehouse-updates/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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}'
Request example
{
"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
}