POST /variant-warehouses.json

POST /variant-warehouses.json
application/json

Body Required

Responses

POST /variant-warehouses.json
curl \
 -X POST http://api.example.com/v1/variant-warehouses.json \
 -H "Content-Type: application/json" \
 -d '{"binLocation":"string","inventoryQuantity":0,"variantId":42,"warehouseId":42}'
Request example
{
  "binLocation": "string",
  "inventoryQuantity": 0,
  "variantId": 42,
  "warehouseId": 42
}
Response examples (200)
{
  "binLocation": "string",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "id": 42,
  "inventoryQuantity": 0,
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "variantId": 42,
  "warehouseId": 42
}