OrderInput
(INPUT_OBJECT)
set of data needed to create a new order
link GraphQL Schema definition
- input OrderInput {
- # external order number. Used for matching records
- String :
- # customer data
- CustomerInput! :
- # invoice address
- AddressDataInput! :
- # delivery address
- AddressDataInput :
- # datetime when the order has been created in source environment
- # This does not impact the internal 'pur_date' (creation timestamp), but
- # is recorded to order's history for reference
- DateTime :
- # list of ordered items
- OrderItemInput!]! : [
- # delivery, payment and other order elements
- OrderPriceElementInput] : [
- # initial order status - internal Id
- Int! :
- String :
- # order source e.g. market place identificator - defaults to 'api'
- String :
- # array of taxation inputs (base, rate, tax amount)
- TaxationInput] : [
- # language version iinternal Id
- Int! :
- # currency internal Id (not currency code)
- Int! :
- # final price of order - subject to verification
- # If omitted, it is calculated based on 'vat_summary' taxation and/or
- # sum of ordered items and price elements.
- # Inconsistencies may result into failed validation (reporting errors and not
- # accepting the input).
- PriceInput :
- # additional information for shipping e.g. pickup point branch ID
- ShipmentInfoInput!] : [
- # order in One Stop Shop (OSS) mode - defaults to FALSE
- Boolean :
- # code for country in OSS - defaults to NULL
- CountryCodeAlpha2 :
- # order tax excluded - defaults to FALSE
- Boolean :
- # reason for tax exemption
- # You may use one of predefined constants
- #
- eu-deal - intracommunitary delivery of goods
- #
- export - export of goods outside of EU
- #
- eu-service - intracommunitary provision of service
- #
- export-service - provision of service outside of EU
- #
# By using one of these constants the tax exemption reason will be replaced with # system's default tax sentence # translated to language of order's target language version. # Also, you may provide any other custom text. This text will be used in invoice. String : # unique entity identificator - @see SubmissionID SubmissionID! : }