Inbound Shipments
List inbound shipments
Get a paginated list of active (non-archived) inbound shipments.
Optional attributes
- Name
filters[not_received]- Type
- boolean
- Description
- When true, only return shipments that have not yet been received
- Name
page- Type
- integer
- Description
- The page number to retrieve (1-indexed) 1
- Name
per_page- Type
- integer
- Description
- The number of items per page 15
Request
curl -G https://YOUR_DOMAIN/api/shipments/inbound \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Create an inbound shipment
Create a new inbound shipment for the current merchant. This endpoint does not support idempotency keys. Repeating a create request after a timeout can create a duplicate shipment; retain the shipment ID returned by a successful create request.
Required attributes
- Name
name- Type
- string
- Description
- The name of the shipment January Restock 2024
- Name
warehouse_id- Type
- integer
- Description
- The ID of the destination warehouse 5
Optional attributes
- Name
notes- Type
- string
- Description
- Optional notes about the shipment Handle with care
Request
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"
}'List archived inbound shipments
Get a paginated list of archived inbound shipments.
Optional attributes
- Name
page- Type
- integer
- Description
- The page number to retrieve (1-indexed) 1
- Name
per_page- Type
- integer
- Description
- The number of items per page 15
Request
curl -G https://YOUR_DOMAIN/api/shipments/inbound/archived \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"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
curl -G https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment} \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Update an inbound shipment
Update the name and notes of an existing inbound shipment. Internal notes require service provider permission. The warehouse cannot be changed; delete the shipment and create a new one with the intended warehouse instead. ETA is read-only and comes from carrier tracking data; sending eta in this request does not update it. Add tracking numbers using POST /shipments/inbound/{inbound_shipment}/add-tracking, including after the shipment has been submitted.
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 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 Priority processing requested
Request
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"
}'Delete an inbound shipment
Delete an inbound shipment by its ID. Use this to cancel an inbound shipment that is no longer expected. Merchant tokens can delete their own shipments when the user has the permission for the shipment's current status.
Required attributes
- Name
inbound_shipment- Type
- integer
- Description
- The ID of the inbound shipment 1001
Request
curl -X DELETE https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment} \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Submit an inbound shipment
Mark an inbound shipment as shipped. Optionally include 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 ups
- Name
tracking_numbers- Type
- array<string>
- Description
- List of tracking numbers. Required when carrier is provided.
Request
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/submit \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"carrier": "ups",
"tracking_numbers": [
"1Z999AA10123456784"
]
}'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
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/receive \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"Add tracking to an inbound shipment
Add tracking numbers from one carrier to an inbound shipment. The numbers are added alongside the shipment's existing tracking; a number the shipment already has is left unchanged. When no carrier is provided, the shipment is not changed.
Required attributes
- Name
inbound_shipment- Type
- integer
- Description
- The ID of the inbound shipment 1001
Optional attributes
- Name
carrier- Type
- string
- Description
- The carrier the tracking numbers belong to. Use purolator for Purolator shipments. German parcel networks use dhl_paket_de (DHL Paket Germany), dpd_de (DPD Germany), gls_de (GLS Germany), and hermes_de (Hermes Germany). Tracking updates can supply an ETA when the tracking provider has an estimate. The other value does not fetch tracking updates or an ETA. ups
- Name
tracking_numbers- Type
- array<string>
- Description
- The tracking numbers to add. Required when carrier is provided.
Request
curl -X POST https://YOUR_DOMAIN/api/shipments/inbound/{inbound-shipment}/add-tracking \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"carrier": "ups",
"tracking_numbers": [
"1Z999AA10123456784"
]
}'Batch archive inbound shipments
Archive multiple inbound shipments at once.
Required attributes
- Name
shipment_ids- Type
- array<integer>
- Description
- The IDs of the shipments to archive
Request
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
]
}'