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!
dutiesCost: MonetaryValue
estimatedWeight: BigDecimal
htsCode: String
id: ID!
image: Image
lotNumber: String
missingProductData: [ShipmentItemMissingProductDataEnum!]!
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
totalVolume: BigDecimal
unitCost: MonetaryValue
updatedAt: ISO8601DateTime!
}
Fields
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 distributed to this item, or null before it has been distributed
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.lotNumber ● String scalar common
The production lot number for goods in this shipment item.
SupplyShipmentItem.missingProductData ● [ShipmentItemMissingProductDataEnum!]! non-null enum shipments
Product data missing for cost distribution
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
Shipping cost distributed to this item, or null before it has been distributed
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.totalVolume ● BigDecimal scalar common
Total volume calculated from the item's master carton data
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 ● SupplyShipment object