PUT /variant-inventory-updates/{id}.json

PUT /variant-inventory-updates/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /variant-inventory-updates/{id}.json
curl \
 -X PUT http://api.example.com/v1/variant-inventory-updates/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"actionResource":"adjustment","actionType":"manual","adjustmentId":42,"adjustments":42,"available":42,"createdAt":"2024-05-04T09:42:00+00:00","dropshipmentItemId":42,"dropshipmentItems":42,"feeds":42,"fulfillmentItemId":42,"goodsReceiptItemId":42,"hasFeeds":true,"id":42,"inventoryAllocated":42,"inventoryFeedVariantId":42,"inventoryQuantity":42,"inventoryTransferItemId":42,"inventoryTrigger":"automated","purchaseItemId":42,"purchaseReturnItemId":42,"received":42,"saleItemId":42,"saleReturnItemId":42,"shipped":42,"sold":42,"totalIn":42,"totalOut":42,"transfersIn":42,"transfersOut":42,"updatedAt":"2024-05-04T09:42:00+00:00","userId":42,"variantId":42}'
Request example
{
  "actionResource": "adjustment",
  "actionType": "manual",
  "adjustmentId": 42,
  "adjustments": 42,
  "available": 42,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "dropshipmentItemId": 42,
  "dropshipmentItems": 42,
  "feeds": 42,
  "fulfillmentItemId": 42,
  "goodsReceiptItemId": 42,
  "hasFeeds": true,
  "id": 42,
  "inventoryAllocated": 42,
  "inventoryFeedVariantId": 42,
  "inventoryQuantity": 42,
  "inventoryTransferItemId": 42,
  "inventoryTrigger": "automated",
  "purchaseItemId": 42,
  "purchaseReturnItemId": 42,
  "received": 42,
  "saleItemId": 42,
  "saleReturnItemId": 42,
  "shipped": 42,
  "sold": 42,
  "totalIn": 42,
  "totalOut": 42,
  "transfersIn": 42,
  "transfersOut": 42,
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "userId": 42,
  "variantId": 42
}