Admin API / Queries

shipment

Finds a shipment by ID. A caller reads their own shipments and the shipments of the stores that they staff. A caller with the ADMIN or OWNER role reads every shipment. No caller reads a shipment with orders of more than one seller. A caller below the SELLER role who has open seller obligations reads only shipments whose orders are all their own, with at least one open obligation. For such a caller, Shipment.subtotal, shippingFee and itemQuantity can count their own orders that Shipment.orders leaves out. Null when no readable shipment has the ID. Order.shipment gives the ID.

Requires a client key with one of these scopes: admin:shipments:readRequires this member role or higher: SELLER A member below this role, or an inactive member, who has outstanding seller obligations can also call it.
shipment(
  id: ID!
): Shipment

Arguments

ArgumentTypeDescription
idID!The shipment to look up.

Return type

Shipment