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 {
allocatedShipCost: MonetaryValue
createdAt: ISO8601DateTime!
currency: String!
dutiesCost: MonetaryValue
estimatedWeight: BigDecimal
htsCode: String
id: ID!
image: Image
name: String
poItem: POItem
poItemId: ID
product: Product
productId: ID
quantity: BigDecimal
receivedQuantity: Decimal
shipment: SupplyShipment!
shipmentId: ID!
shippingCost: MonetaryValue
sku: String!
totalCost: MonetaryValue
totalUnitsCost: MonetaryValue
unitCost: MonetaryValue
updatedAt: ISO8601DateTime!
}
Fields
SupplyShipmentItem.allocatedShipCost ● MonetaryValue object common
Effective shipping cost: stored override if present, otherwise proportionally allocated
SupplyShipmentItem.createdAt ● ISO8601DateTime! non-null scalar common
Timestamp when the shipment item was created
SupplyShipmentItem.currency ● String! non-null scalar common
Currency code for the costs (e.g., USD, EUR). Defaults to USD
SupplyShipmentItem.dutiesCost ● MonetaryValue object common
Duties cost: persisted value if present, otherwise calculated from HTS code data
SupplyShipmentItem.estimatedWeight ● BigDecimal scalar common
Effective weight: stored override if present, otherwise calculated from master carton data
SupplyShipmentItem.htsCode ● String scalar common
The HTS (Harmonized Tariff Schedule) code assigned to this item
SupplyShipmentItem.id ● ID! non-null scalar common
The unique identifier of the shipment item
SupplyShipmentItem.image ● Image object products
SupplyShipmentItem.name ● String scalar common
SupplyShipmentItem.poItem ● POItem object purchase-orders
The purchase order item associated with this shipment item
SupplyShipmentItem.poItemId ● ID scalar common
ID of the associated purchase order item
SupplyShipmentItem.product ● Product object products
The product associated with this shipment item, if available
SupplyShipmentItem.productId ● ID scalar common
ID of the product associated with this shipment item, if available
SupplyShipmentItem.quantity ● BigDecimal scalar common
Quantity of the item in this shipment
SupplyShipmentItem.receivedQuantity ● Decimal scalar common
SupplyShipmentItem.shipment ● SupplyShipment! non-null object shipments
The parent shipment this item belongs to
SupplyShipmentItem.shipmentId ● ID! non-null scalar common
ID of the parent shipment
SupplyShipmentItem.shippingCost ● MonetaryValue object common
Stored shipping cost override for this item
SupplyShipmentItem.sku ● String! non-null scalar common
Stock keeping unit (SKU) for this item
SupplyShipmentItem.totalCost ● MonetaryValue object common
Total cost of all units in this shipment item (quantity × unit_cost)
SupplyShipmentItem.totalUnitsCost ● MonetaryValue object common
Total units cost before any adjustments (quantity × unit_cost)
SupplyShipmentItem.unitCost ● MonetaryValue object common
Unit cost of the item in the shipment's currency
SupplyShipmentItem.updatedAt ● ISO8601DateTime! non-null scalar common
Timestamp when the shipment item was last updated
Member Of
InventoryIncoming object ● ItemFinancialDetail object ● SupplyShipment object ● SupplyShipmentHtsCode object