Inbound Shipment Items

GET/shipments/inbound/{inbound_shipment}/items

List items for an inbound shipment

Get the list of items (expected, actual, and unsellable) for an inbound shipment.

Required attributes

  • Name
    inbound_shipment
    Type
    integer
    Description
    The ID of the inbound shipment 1001

Optional attributes

  • Name
    item_ids[]
    Type
    array<integer,string>
    Description
    Filter to a specific list of item IDs (item_ids[]=1&item_ids[]=2, or item_ids[name]=1 with any key)

Request

GET/shipments/inbound/{inbound_shipment}/items
curl -G https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/items \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
Loading response...
POST/shipments/inbound/{inbound_shipment}/add-item

Add an item to an inbound shipment

Add an inventory item with a specified quantity to the shipment, identified by exactly one of item_id or product_uuid.

Required attributes

  • Name
    inbound_shipment
    Type
    integer
    Description
    The ID of the inbound shipment 1001
  • Name
    quantity
    Type
    integer
    Description
    The quantity to add to the item's expected quantity, keeping the total at most 2147483647 10

Optional attributes

  • Name
    item_id
    Type
    string
    Description
    The integer inventory item ID to add, found through GET /inventory by merchant_skus[] or product_uuids[], or omitted when product_uuid is sent
  • Name
    product_uuid
    Type
    string
    Description
    The UUID of the inventory item to add, as an alternative to item_id 0195a620-9847-7020-b9b9-0c196baaec01

Request

POST/shipments/inbound/{inbound_shipment}/add-item
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/add-item \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
Loading response...
POST/shipments/inbound/{inbound_shipment}/update-item

Update an item on an inbound shipment

Update the expected and actual quantities for an item on an inbound shipment, identified by exactly one of item_id or product_uuid.

Required attributes

  • Name
    inbound_shipment
    Type
    integer
    Description
    The ID of the inbound shipment 1001
  • Name
    expected
    Type
    object
    Description
    Expected quantity update
  • Name
    expected.quantity
    Type
    integer
    Description
    The new expected quantity 10
  • Name
    expected.item_group_configurations
    Type
    array
    Description
    Required group configuration summaries, listed or keyed by any names, sent as [] when there are none and otherwise used to compute the quantity
  • Name
    actual
    Type
    object
    Description
    The received quantity update, validated for every caller but applied only when the user has service provider receiving permission, so merchant-supplied values are ignored
  • Name
    actual.quantity
    Type
    integer
    Description
    The new actual received quantity 8
  • Name
    actual.item_group_configurations
    Type
    array
    Description
    Required group configuration summaries, listed or keyed by any names, sent as [] when there are none and otherwise used to compute the quantity

Optional attributes

  • Name
    item_id
    Type
    string
    Description
    The integer inventory item ID to update, found through GET /inventory by merchant_skus[] or product_uuids[], or omitted when product_uuid is sent
  • Name
    product_uuid
    Type
    string
    Description
    The UUID of the inventory item to update, as an alternative to item_id 0195a620-9847-7020-b9b9-0c196baaec01
  • Name
    actual.moves
    Type
    array
    Description
    Put-away moves into storage locations of the shipment's warehouse, as a list or keyed by any names, or null

Request

POST/shipments/inbound/{inbound_shipment}/update-item
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/update-item \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
Loading response...
POST/shipments/inbound/{inbound_shipment}/remove-item

Remove an item from an inbound shipment

Remove an inventory item from an inbound shipment, identified by exactly one of item_id or product_uuid.

Required attributes

  • Name
    inbound_shipment
    Type
    integer
    Description
    The ID of the inbound shipment 1001

Optional attributes

  • Name
    item_id
    Type
    string
    Description
    The integer inventory item ID to remove, or omitted when product_uuid is sent
  • Name
    product_uuid
    Type
    string
    Description
    The UUID of the inventory item to remove (deleted items included), as an alternative to item_id 0195a620-9847-8020-b9b9-0c196baaec01

Request

POST/shipments/inbound/{inbound_shipment}/remove-item
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/remove-item \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
Loading response...