v1

latestOpenAPI 3.0.0Apache License 2.02026-07-263171,5614.1 MB
External Fulfillment Inventory v2024-09-11

batchInventory

Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided sku and locationId pair.

post/externalFulfillment/inventory/2024-09-11/inventories

Request body

Example request

{
  "requests": [
    {
      "method": "POST",
      "uri": "/inventory/update?locationId=EXSB&skuId=efptestsku1",
      "body": {
        "quantity": 15,
        "clientSequenceNumber": 12345678,
        "marketplaceAttributes": {
          "marketplaceId": "AXJDDKDFDKDF",
          "channelName": "FBA"
        }
      }
    },
    {
      "method": "POST",
      "uri": "/inventory/fetch?locationId=EXSB&skuId=efptestsku2",
      "body": {
        "marketplaceAttributes": {
          "marketplaceId": "AXJDDKDFDKDF",
          "channelName": "FBA"
        }
      }
    }
  ]
}

Response

Multi-status response that contains information about numerous resources.

Example response

{
  "responses": [
    {
      "body": {
        "locationId": "43cd8cd4-a944-4fa8-a584-5e3b3efdb046",
        "sellableQuantity": 20,
        "reservedQuantity": 5,
        "clientSequenceNumber": 12345678,
        "marketplaceAttributes": {
          "marketplaceId": "AXJDDKDFDKDF",
          "channelName": "FBA"
        },
        "skuId": "efptestsku3",
        "actionableErrors": []
      }
    }
  ]
}