Inbound Shipments

GET/shipments/inbound

List inbound shipments

Get a paginated list of active (non-archived) inbound shipments.

Optional attributes

  • Name
    archived
    Type
    string
    Description
    Send 1 or an empty value to list archived shipments instead of active ones
  • Name
    filters[not_received]
    Type
    string
    Description
    When 1, true, on or yes, only return shipments that have not yet been received
  • Name
    page
    Type
    integer
    Description
    The page number, starting at 1, with 20 shipments per page 1

Request

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

Create an inbound shipment

Create a new inbound shipment for the current merchant.

Required attributes

  • Name
    name
    Type
    string
    Description
    The name of the shipment, 3 to 255 characters once surrounding spaces are trimmed January Restock 2024
  • Name
    warehouse_id
    Type
    integer
    Description
    The ID of one of the service provider's non-deleted warehouses, fixed once created so a different warehouse needs a new shipment 5

Optional attributes

  • Name
    notes
    Type
    string
    Description
    Optional notes about the shipment Handle with care

Request

POST/shipments/inbound
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "January Restock 2024",
    "warehouse_id": 5,
    "notes": "Handle with care"
}'
Loading response...
GET/shipments/inbound/archived

List archived inbound shipments

Get a paginated list of archived inbound shipments.

Optional attributes

  • Name
    archived
    Type
    string
    Description
    Validated as a boolean (empty, 0 or 1) and otherwise ignored on this path
  • Name
    filters[not_received]
    Type
    string
    Description
    When 1, true, on or yes, only return shipments that have not yet been received
  • Name
    page
    Type
    integer
    Description
    The page number, starting at 1, with 20 shipments per page 1

Request

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

Show an inbound shipment

Get a single inbound shipment by its ID, including attachments, service lines, warehouse, and tags.

Required attributes

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

Request

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

Update an inbound shipment

Update the name and notes of an existing inbound shipment.

Required attributes

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

Optional attributes

  • Name
    name
    Type
    string
    Description
    The name of the shipment, 3 to 255 characters once trimmed, where null or an empty string clears it January Restock 2024 (Updated)
  • Name
    notes
    Type
    string
    Description
    Notes about the shipment Handle with care
  • Name
    internal_notes
    Type
    string
    Description
    Internal notes visible only to staff, ignored unless the user may update internal notes for the service provider Priority processing requested

Request

PUT/shipments/inbound/{inbound_shipment}
curl -X PUT https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment} \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "January Restock 2024 (Updated)",
    "notes": "Handle with care",
    "internal_notes": "Priority processing requested"
}'
Loading response...
DELETE/shipments/inbound/{inbound_shipment}

Delete an inbound shipment

Delete an inbound shipment by its ID to cancel a shipment that is no longer expected.

Required attributes

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

Request

DELETE/shipments/inbound/{inbound_shipment}
curl -X DELETE https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment} \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"
POST/shipments/inbound/{inbound_shipment}/submit

Submit an inbound shipment

Mark an inbound shipment as shipped, optionally with a carrier and tracking numbers.

Required attributes

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

Optional attributes

  • Name
    carrier
    Type
    string
    Description
    The carrier used for shipping, where blank or null adds no tracking ups
  • Name
    tracking_numbers
    Type
    array
    Description
    The tracking numbers, required with a carrier, where recognisable DHL Express, FedEx, UPS, USPS and OnTrac numbers are filed under that carrier

Request

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

Receive an inbound shipment

Mark an inbound shipment as received at the warehouse.

Required attributes

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

Request

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

Add tracking to an inbound shipment

Add tracking numbers from one carrier to an inbound shipment alongside its existing tracking, including after it is submitted.

Required attributes

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

Optional attributes

  • Name
    carrier
    Type
    string
    Description
    The carrier code, such as purolator or dhl_paket_de, whose tracking updates can supply an ETA unless it is other ups
  • Name
    tracking_numbers
    Type
    array
    Description
    The tracking numbers to add, required with a carrier and listed or keyed by any names, leaving numbers the shipment already has unchanged

Request

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

Batch archive inbound shipments

Archive multiple inbound shipments at once.

Required attributes

  • Name
    shipment_ids
    Type
    array
    Description
    The IDs of the shipments to archive, listed or keyed by any names

Request

POST/shipments/inbound/batch/archive
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/batch/archive \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "shipment_ids": [
        1001
    ]
}'
Loading response...