Skip to content

Get Shipment

Returns a single shipment by id — every column, the order/customer context, both the billing and shipping addresses, and the shipped line items so clients can render without a follow-up fetch. Requires the sales.shipments.view permission.

Endpoint

EndpointMethod
/api/admin/shipments/{id}GET

Response fields

FieldTypeDescription
idIntegerShipment row id.
orderId / orderIncrementIdInteger / StringParent order id and human-facing number.
shippedToStringThe name on the order's shipping address.
orderDateStringWhen the order was placed.
orderStatus / orderStatusLabelStringParent order status code and its display label.
channelNameStringSales channel the order belongs to.
customerName / customerEmailStringCustomer who placed the order.
paymentMethod / paymentTitleStringThe order's payment method code and its display title — see Payment and Shipping below.
orderCurrencyCodeStringCurrency the order was placed in (e.g. USD).
shippingMethod / shippingTitleStringThe order's shipping method code and its display title — may be null.
baseShippingAmountNumberShipping price in the store's base currency — may be null.
formattedBaseShippingAmountStringThe same shipping price pre-formatted for display — may be null.
statusStringShipment status — often null.
totalQtyNumberTotal quantity shipped across all line items.
totalWeightNumberCombined weight of the shipment — may be null.
carrierCode / carrierTitleStringShipping carrier code and its title — either may be null.
trackNumberStringCarrier tracking number — may be null.
emailSentBooleanWhether the shipment notification email was sent.
inventorySourceId / inventorySourceNameInteger / StringThe warehouse/source the items shipped from.
billingAddressObjectThe order's billing address — see below.
shippingAddressObjectThe order's shipping address — see below.
createdAt / updatedAtStringTimestamps.
itemsArrayThe shipped line items — see below.

Payment and Shipping

Mirrors the "Payment and Shipping" panel on the admin Shipment view — the order's payment and shipping details carried alongside the shipment.

FieldTypeDescription
paymentMethodStringThe order's payment method code (e.g. cashondelivery).
paymentTitleStringThe payment method's display title (e.g. Cash On Delivery).
orderCurrencyCodeStringCurrency the order was placed in (e.g. USD).
shippingMethodStringThe order's shipping method code (e.g. free_free) — null when the order had no shipping method (e.g. virtual/free).
shippingTitleStringThe shipping method's display title — null when there was no shipping method.
baseShippingAmountNumberShipping price in the store's base currency — null when there was no shipping method.
formattedBaseShippingAmountStringThe same shipping price pre-formatted for display — null when there was no shipping method.

Address objects (billingAddress, shippingAddress)

Each address carries id, addressType, firstName, lastName, city, country, postcode, email, and phone.

Shipped items (items)

FieldTypeDescription
idIntegerShipment-item row id.
orderItemIdIntegerThe order line this shipped item maps to.
skuStringProduct SKU.
nameStringProduct name.
qtyNumberQuantity shipped for this line.

Permission

sales.shipments.view

Released under the MIT License.