Skip to main content

PurchaseOrderItem

A single item to be shipped to an address

type PurchaseOrderItem {
barcode: String
createdAt: String!
customProperties: JSON
demandHqId: ID!
externalProductId: String!
externalVariantId: String!
fulfilledQuantity: Int!
fulfillments: [PurchaseOrderItemFulfillment]
isCancelled: Boolean
isDraft: Boolean
isProcessing: Boolean
orderItemId: ID!
productTitle: String!
purchaseOrderItemId: ID!
quantity: Int!
remainingQuantity: Int!
shippingAddress: Address
sku: String
status: PurchaseOrderItemStatus!
storefrontId: ID
supplierId: ID!
supplierProductId: ID!
supplierVariantId: ID!
unitCost: Float!
updatedAt: String!
updatedBy: String!
variantTitle: String!
vendor: String!
}

Fields

PurchaseOrderItem.barcode ● String scalar

PurchaseOrderItem.createdAt ● String! non-null scalar

PurchaseOrderItem.customProperties ● JSON scalar

PurchaseOrderItem.demandHqId ● ID! non-null scalar

DemandHQ that originated the PurchaseOrderItem

PurchaseOrderItem.externalProductId ● String! non-null scalar

Actual Supplier ID for the SupplierProduct

PurchaseOrderItem.externalVariantId ● String! non-null scalar

Actual Supplier ID for the SupplierVariant

PurchaseOrderItem.fulfilledQuantity ● Int! non-null scalar

The quantity fulfilled.

PurchaseOrderItem.fulfillments ● [PurchaseOrderItemFulfillment] list object

Packages of items being shipped.

PurchaseOrderItem.isCancelled ● Boolean scalar

When is cancelled, cannot be processed.

PurchaseOrderItem.isDraft ● Boolean scalar

When is a draft, cannot be processed.

PurchaseOrderItem.isProcessing ● Boolean scalar

Once in processing, can no longer be draft or cancelled.

PurchaseOrderItem.orderItemId ● ID! non-null scalar

OrderItem this PurchaseOrderItem is associated with

PurchaseOrderItem.productTitle ● String! non-null scalar

PurchaseOrderItem.purchaseOrderItemId ● ID! non-null scalar

PurchaseOrderItem.quantity ● Int! non-null scalar

PurchaseOrderItem.remainingQuantity ● Int! non-null scalar

The quantity remaining to be fulfilled.

PurchaseOrderItem.shippingAddress ● Address object

PurchaseOrderItem.sku ● String scalar

PurchaseOrderItem.status ● PurchaseOrderItemStatus! non-null enum

Status of the PurchaseOrderItem

PurchaseOrderItem.storefrontId ● ID scalar

Storefront that originated the OrderItem

PurchaseOrderItem.supplierId ● ID! non-null scalar

Supplier the PurchaseOrderItem is associated with

PurchaseOrderItem.supplierProductId ● ID! non-null scalar

SupplierProduct the PurchaseOrderItem is associated with

PurchaseOrderItem.supplierVariantId ● ID! non-null scalar

SupplierVariant the PurchaseOrderItem is associated with

PurchaseOrderItem.unitCost ● Float! non-null scalar

PurchaseOrderItem.updatedAt ● String! non-null scalar

PurchaseOrderItem.updatedBy ● String! non-null scalar

PurchaseOrderItem.variantTitle ● String! non-null scalar

PurchaseOrderItem.vendor ● String! non-null scalar

Returned by

createPurchaseOrderItem mutation ● purchaseOrderItem query ● updatePurchaseOrderItem mutation

Member of

PurchaseOrderItemConnection object ● PurchaseOrderItemEdge object