Skip to main content

SupplyShipmentItem

Represents an individual item within a supply shipment.

Shipment items are the line items that make up a shipment. Each item references a line item from a purchase order and includes quantity, cost, and currency information for tracking purposes.

Item Relationships

  • **Shipment**: Links to the parent shipment
  • **PO Item**: Links to the source purchase order line item

Cost Tracking

Items track both unit costs and total costs in the original currency. Costs are stored using monetized fields for precision in financial calculations.

type SupplyShipmentItem {
createdAt: ISO8601DateTime!
currency: String!
id: ID!
image: ProductImage
name: String
poItem: POItem
poItemId: ID
product: Product
productId: ID
quantity: BigDecimal
shipment: SupplyShipment!
shipmentId: ID!
sku: String!
totalCost: MonetaryValue
unitCost: MonetaryValue
updatedAt: ISO8601DateTime!
}

Fields

SupplyShipmentItem.createdAt ● ISO8601DateTime! non-null scalar

Timestamp when the shipment item was created

SupplyShipmentItem.currency ● String! non-null scalar

Currency code for the costs (e.g., USD, EUR). Defaults to USD

SupplyShipmentItem.id ● ID! non-null scalar

The unique identifier of the shipment item

SupplyShipmentItem.image ● ProductImage object

SupplyShipmentItem.name ● String scalar

SupplyShipmentItem.poItem ● POItem object

The purchase order item associated with this shipment item

SupplyShipmentItem.poItemId ● ID scalar

ID of the associated purchase order item

SupplyShipmentItem.product ● Product object

The product associated with this shipment item, if available

SupplyShipmentItem.productId ● ID scalar

ID of the product associated with this shipment item, if available

SupplyShipmentItem.quantity ● BigDecimal scalar

Quantity of the item in this shipment

SupplyShipmentItem.shipment ● SupplyShipment! non-null object

The parent shipment this item belongs to

SupplyShipmentItem.shipmentId ● ID! non-null scalar

ID of the parent shipment

SupplyShipmentItem.sku ● String! non-null scalar

Stock keeping unit (SKU) for this item

SupplyShipmentItem.totalCost ● MonetaryValue object

Total cost of all units in this shipment item (quantity × unit_cost)

SupplyShipmentItem.unitCost ● MonetaryValue object

Unit cost of the item in the shipment's currency

SupplyShipmentItem.updatedAt ● ISO8601DateTime! non-null scalar

Timestamp when the shipment item was last updated

Member Of

SupplyShipment object