orderCreateLine
Create an order line.
Arguments
2 argumentsid•ID!ID of the order.
productId•ID!ID of the product that is ordered
quantityOrdered•Int!Quantity that is ordered
name•String!Name of the product ordered
currency•String!ISO 4217 currency code
value•String!Amount
currency•String!ISO 4217 currency code
value•String!Amount
Possible return
id•ID!Unique primary key.
parentLine•OrderLineParent order line (for bundles)
id•ID!Unique primary key.
name•StringName of the product
brandName•StringBrand name of the product
code•StringArticle number of the product
currency•String!ISO 4217 currency code
value•String!Amount
currency•String!ISO 4217 currency code
value•String!Amount
value•Float!Weight value
hsCode•StringHS code of the product
countryCodeOfOrigin•StringCountry code of origin of the product
description•StringGoods description for customs in English
quantityAllocated•Int!Quantity allocated to fulfillments
quantityOnHand•Int!Quantity on hand in warehouses
quantityAvailable•Int!Quantity available
quantityUnallocated•Int!Total quantity unallocated (backorders) across all order lines
createdAt•DateTimeTz!When the product was created.
updatedAt•DateTimeTz!When the product was last updated.
id•ID!Unique primary key.
barcode•String!Barcode
quantity•Int!Quantity of items when scanned
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[MetafieldEdge!]!A list of Metafield edges.
pageInfo•PageInfo!Pagination information about the list of edges.
A list of IntegrationProduct edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[OrderLineEdge!]!A list of OrderLine edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[ProductWarehouseEdge!]!A list of ProductWarehouse edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[SupplierEdge!]!A list of Supplier edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[ProductMediaEdge!]!A list of ProductMedia edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[StockEdge!]!A list of Stock edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[StockMutationEdge!]!A list of StockMutation edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[ProductPartEdge!]!A list of ProductPart edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[ProductPartEdge!]!A list of ProductPart edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[TagEdge!]!A list of Tag edges.
name•String!Name of the ordered product
currency•String!ISO 4217 currency code
value•String!Amount
currency•String!ISO 4217 currency code
value•String!Amount
quantityOrdered•Int!Quantity ordered
quantityAllocated•Int!Quantity allocated in to fulfillments
quantityShipped•Int!Quantity (already) shipped
quantityUnallocated•Int!Quantity that is not (yet) allocated to a fulfillment
id•ID!Unique primary key.
integrationReference•StringIntegration reference of the order
quantityOrdered•Int!Quantity ordered
quantityAllocated•Int!Quantity allocated in to fulfillments
quantityShipped•Int!Quantity (already) shipped
quantityUnallocated•Int!Quantity that is not (yet) allocated to a fulfillment
reference•StringReference of the order
currency•String!ISO 4217 currency code
value•String!Amount
status•OrderStatus!Status of the order
CANCELEDCREATEDEXPECTEDALLOCATEDPARTIALLY_SHIPPEDSHIPPEDUNALLOCATEDcustomsInvoiceNumber•StringInvoice number for customs
customsShipmentType•CustomsShipmentTypeShipment export type for customs
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLElocale•StringBCP-47 locale used for communication templates
canceledAt•DateTimeTzWhen the order was canceled.
shippedAt•DateTimeTzWhen the order was shipped.
createdAt•DateTimeTz!When the order was created.
updatedAt•DateTimeTz!When the order was last updated.
isUpdatable•Boolean!Whether this order can be updated.
id•ID!Unique primary key.
name•String!Name of the brand
customsShipmentType•CustomsShipmentTypeDefault customs shipment to use for shipments
DOCUMENTSGIFTRETURNED_GOODSSALE_GOODSSAMPLEcustomsUseReferenceIfInvoiceNumberEmpty•Boolean!Use reference if invoice number is empty
inboundGBEori•StringImport EORI for GB
inboundGBVat•StringImport VAT number for GB
createdAt•DateTimeTz!When the brand was created.
updatedAt•DateTimeTz!When the brand was last updated.
avatar•AvatarAvatar of the brand.
logoPrint•AvatarLogo print of the brand.
logoScreen•AvatarLogo screen of the brand.
senderAddress•AddressSender address of the brand.
returnAddress•AddressReturn address of the brand.
brandPortals•BrandPortalConnection!Brand portals configured for this brand
communicationTemplates•CommunicationTemplateConnection!Sparse localized overrides configured for this brand.
id•ID!Unique primary key.
companyName•StringCompany name
name•StringName
address•StringStreet / first address line
address2•StringSecond address line
houseNumber•StringHouse number
postalCode•StringPostal code
city•StringCity
stateCode•StringState code
countryCode•String!Country code
email•StringEmail address
phone•StringPhone number
phoneE164•StringPhone number in E.164 format
eori•StringEORI
vat•StringVAT number
oss•StringOne-Stop Shop (OSS) number
formattedLines•String!Formatted address
id•ID!Unique primary key.
companyName•StringCompany name
name•StringName
address•StringStreet / first address line
address2•StringSecond address line
houseNumber•StringHouse number
postalCode•StringPostal code
city•StringCity
stateCode•StringState code
countryCode•String!Country code
email•StringEmail address
phone•StringPhone number
phoneE164•StringPhone number in E.164 format
eori•StringEORI
vat•StringVAT number
oss•StringOne-Stop Shop (OSS) number
formattedLines•String!Formatted address
id•ID!Unique primary key.
reference•StringReference of the customer
billingAddress•AddressBilling address of the customer
recipientAddress•AddressRecipient address of the customer
createdAt•DateTimeTz!When the customer was created.
updatedAt•DateTimeTz!When the customer was last updated.
ordersCount•Int!Customer orders count
returnRequestsCount•Int!Customer return requests count
shipmentsCount•Int!Customer shipments count
orders•OrderConnection!Customer orders
returnRequests•ReturnRequestConnection!Customer return requests
shipments•ShipmentConnection!Customer shipments
id•ID!Unique primary key.
isEnabled•Boolean!Synchronization enabled
name•String!Name of the integration
isOrderSyncEnabled•Boolean!Order sync enabled
orderSyncUpdatedAt•DateTimeTzWhen the last order was updated at the integration while syncing
isProductSyncEnabled•Boolean!Product sync enabled
productSyncUpdatedAt•DateTimeTzWhen the last product was updated at the integration while syncing
isStockSyncEnabled•Boolean!Stock sync enabled
paymentProfiles•[IntegrationPaymentProfile!]!Payment profiles exposed by the integration
createdAt•DateTimeTz!When the integration was created.
updatedAt•DateTimeTz!When the integration was last updated.
shippingServiceMethodId•IDID of the shipping service method.
returnShippingServiceMethodId•IDID of the return shipping service method.
printPackingSlip•BooleanPrint packing slip of the order fulfillment preferences.
fulfillmentMode•FulfillmentModeFulfillment mode of the order fulfillment preferences.
DELIVERYLOCAL_PICKUPallocationStrategy•OrderAllocationStrategyAllocation strategy of the order fulfillment preferences.
FEFOLEFOBULK_NON_PICKABLEpageInfo•PageInfo!Pagination information about the list of edges.
edges•[FulfillmentEdge!]!A list of Fulfillment edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[OrderLineEdge!]!A list of OrderLine edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[EventEdge!]!A list of Event edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[OrderExceptionEdge!]!A list of OrderException edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[MetafieldEdge!]!A list of Metafield edges.
pageInfo•PageInfo!Pagination information about the list of edges.
edges•[ShipmentEdge!]!A list of Shipment edges.
pageInfo•PageInfo!Pagination information about the list of edges.
A list of SupportTicketAccess edges.
message•String!field•[String!]