PurchaseOrderItemCreateInput
Input for creating a PurchaseOrderItem
Requires PurchaseOrderItem/write permissions
input PurchaseOrderItemCreateInput {
barcode: String
customProperties: JSON
demandHqId: ID!
externalProductId: String!
externalVariantId: String!
fulfillments: [PurchaseOrderItemFulfillmentInput]
isCancelled: Boolean
isDraft: Boolean
isProcessing: Boolean
orderItemId: ID!
productTitle: String!
quantity: Int!
shippingAddress: AddressInput
sku: String
storefrontId: ID
supplierId: ID!
supplierProductId: ID!
supplierVariantId: ID!
unitCost: Float!
variantTitle: String!
vendor: String!
}
Fields
PurchaseOrderItemCreateInput.barcode
● String
scalar
PurchaseOrderItemCreateInput.customProperties
● JSON
scalar
PurchaseOrderItemCreateInput.demandHqId
● ID!
non-null scalar
DemandHQ that originated the PurchaseOrderItem
PurchaseOrderItemCreateInput.externalProductId
● String!
non-null scalar
Actual Supplier ID for the SupplierProduct
PurchaseOrderItemCreateInput.externalVariantId
● String!
non-null scalar
Actual Supplier ID for the SupplierVariant
PurchaseOrderItemCreateInput.fulfillments
● [PurchaseOrderItemFulfillmentInput]
list input
Packages of items being shipped.
PurchaseOrderItemCreateInput.isCancelled
● Boolean
scalar
When is cancelled, cannot be processed.
PurchaseOrderItemCreateInput.isDraft
● Boolean
scalar
When is a draft, cannot be processed.
PurchaseOrderItemCreateInput.isProcessing
● Boolean
scalar
Once in processing, can no longer be draft or cancelled.
PurchaseOrderItemCreateInput.orderItemId
● ID!
non-null scalar
OrderItem this PurchaseOrderItem is associated with
PurchaseOrderItemCreateInput.productTitle
● String!
non-null scalar
PurchaseOrderItemCreateInput.quantity
● Int!
non-null scalar
PurchaseOrderItemCreateInput.shippingAddress
● AddressInput
input
PurchaseOrderItemCreateInput.sku
● String
scalar
PurchaseOrderItemCreateInput.storefrontId
● ID
scalar
Storefront that originated the OrderItem
PurchaseOrderItemCreateInput.supplierId
● ID!
non-null scalar
Supplier the PurchaseOrderItem is associated with
PurchaseOrderItemCreateInput.supplierProductId
● ID!
non-null scalar
SupplierProduct the PurchaseOrderItem is associated with
PurchaseOrderItemCreateInput.supplierVariantId
● ID!
non-null scalar
SupplierVariant the PurchaseOrderItem is associated with
PurchaseOrderItemCreateInput.unitCost
● Float!
non-null scalar
PurchaseOrderItemCreateInput.variantTitle
● String!
non-null scalar
PurchaseOrderItemCreateInput.vendor
● String!
non-null scalar
Member of
createPurchaseOrderItem
mutation