Shipment
A shipment caused by either an order or a return.
type Shipment implements Node {
id: UUID!
order: Order
return: Return
sentItems(
first: Int
orderBy: OrderItemOrderInput
skip: Int
): OrderItemConnection!
shipmentAddress: Address!
shipmentMethod: ShipmentMethod!
status: ShipmentStatus!
}
Fields
Shipment.id ● UUID! non-null scalar
The ID of the node.
Shipment.order ● Order object
The order creating this shipment.
Shipment.return ● Return object
The product return causing this shipment.
Shipment.sentItems ● OrderItemConnection! non-null object
Get all OrderItems sent with this shipment
Shipment.sentItems.first●IntscalarNumber of items to return
Shipment.sentItems.orderBy ● OrderItemOrderInput input
Ordering
Shipment.sentItems.skip ● Int scalar
Number of items to skip
Shipment.shipmentAddress ● Address! non-null interface
The address this shipment is sent to.
Shipment.shipmentMethod ● ShipmentMethod! non-null object
The shipment method this shipment uses.
Shipment.status ● ShipmentStatus! non-null enum
The status of the shipment.
Interfaces
Node interface
An object with an ID.
Member Of
OrderItem object ● Return object ● ShipmentConnection object