PUT /variant-warehouses/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
binLocation string | null
Bin location
Maximum length is
255
. -
createdAt string(date-time)
Created at
-
id integer(int32)
Id
-
Inventory quantity
Default value is
0
. -
updatedAt string(date-time)
Updated at
-
Variant
-
Warehouse
PUT /variant-warehouses/{id}.json
curl \
-X PUT http://api.example.com/v1/variant-warehouses/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"binLocation":"string","createdAt":"2024-05-04T09:42:00+00:00","id":42,"inventoryQuantity":0,"updatedAt":"2024-05-04T09:42:00+00:00","variantId":42,"warehouseId":42}'
Request example
{
"binLocation": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"inventoryQuantity": 0,
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantId": 42,
"warehouseId": 42
}