Order

(OBJECT)

Order

link GraphQL Schema definition

  • type Order {
  • # system's internal ID
  • id: ID!
  • # order's evidence number
  • order_num: String!
  • # order's optional external reference
  • # This might be a reference to order from marketplace etc.
  • external_ref: String
  • # date and time of receiving the order
  • pur_date: DateTime!
  • # variable symbol (payment reference)
  • var_symb: Int
  • # Source of the order (eshop, e-mail, phone etc.). It may contain also custom
  • # values.
  • source: String
  • # flag that the order is awaiting administrator's intervention or review
  • # Further processing of this order should be avoided until manually reviewed by
  • # staff.
  • # This may happen because of number of various reasons
  • #
    • #
    • # the order number could not be issued due to system misconfiguration,
    • #
    • #
    • # the customer's VAT ID could not have been verified,
    • #
    • #
    • # or other business conditions were met (usage of alternate VAT ID for
    • # invoicing company, order in the OSS regime etc.)
    • #
  • blocked: Boolean!
  • # customer's note for the order
  • note: String
  • # internal note to order (not visible to customer)
  • internal_note: String
  • customer: Customer!
  • # reference to person/account creating the order - @see OrderCreator for details
  • creator: OrderCreator!
  • # invoice address
  • invoice_address: AddressData!
  • # delivery address if specified or pickup point's address if applicable
  • delivery_address: AddressData
  • # shipment reports
  • shipments: [ShipmentInfo!]
  • # ordered items (products)
  • items: [OrderItem]!
  • # non-product elements and fees
  • price_elements: [OrderPriceElement]!
  • # total order price - may be net or incl. tax
  • # . This object may contain net price for tax-exempted orders. @see
  • # href="price.doc.html" class="doclink">Price for further reference.
  • sum: Price!
  • # current order status
  • status: OrderStatus
  • # assigned sales representative
  • salesrep: Person
  • # set of preinvoices (payment requests) related to this order
  • preinvoices: [Preinvoice]
  • # set of invoices (final documents) related to this order
  • invoices: [Invoice]
  • # VAT summary - contains multiple taxation objects corresponding to specific tax
  • # rates contained within the order
  • vat_summary: [Taxation!]
  • # order language
  • language: LanguageVersion!
  • # date of last change
  • last_change: DateTime!
  • # this order is in One-Stop-Shop EU VAT regime
  • oss: Boolean
  • # country code for OSS regime
  • # VAT taxed on this order follows rates and is dedicated to this EU country "
  • oss_country: CountryCodeAlpha2
  • }

link Require by