Skip to main content

OrderItemCreateInput

Input for creating an OrderItem

input OrderItemCreateInput {
adjustments: [OrderItemAdjustmentInput]
barcode: String
currency: ResonanceCurrency!
customProperties: JSON
deliveryMethod: VariantDeliveryMethod!
demandHqId: ID!
discounts: [OrderItemDiscountInput]
note: String
orderId: ID!
productId: ID!
productTitle: String!
quantity: Int!
shippingCharges: [OrderShippingChargeInput]
shippingMethod: ShippingMethod
sku: String
taxes: [OrderItemTaxInput]
unitPrice: Float!
variantId: ID!
variantTitle: String!
vendor: String!
}

Fields

OrderItemCreateInput.adjustments ● [OrderItemAdjustmentInput] list input

OrderItemCreateInput.barcode ● String scalar

OrderItemCreateInput.currency ● ResonanceCurrency! non-null enum

OrderItemCreateInput.customProperties ● JSON scalar

OrderItemCreateInput.deliveryMethod ● VariantDeliveryMethod! non-null enum

OrderItemCreateInput.demandHqId ● ID! non-null scalar

OrderItemCreateInput.discounts ● [OrderItemDiscountInput] list input

OrderItemCreateInput.note ● String scalar

OrderItemCreateInput.orderId ● ID! non-null scalar

OrderItemCreateInput.productId ● ID! non-null scalar

OrderItemCreateInput.productTitle ● String! non-null scalar

OrderItemCreateInput.quantity ● Int! non-null scalar

OrderItemCreateInput.shippingCharges ● [OrderShippingChargeInput] list input

OrderItemCreateInput.shippingMethod ● ShippingMethod enum

OrderItemCreateInput.sku ● String scalar

OrderItemCreateInput.taxes ● [OrderItemTaxInput] list input

OrderItemCreateInput.unitPrice ● Float! non-null scalar

Price per item, can be multiplied by quantity for total price

OrderItemCreateInput.variantId ● ID! non-null scalar

OrderItemCreateInput.variantTitle ● String! non-null scalar

OrderItemCreateInput.vendor ● String! non-null scalar

Member of

createOrderItem mutation