Order
type Order {
id: ID!
abandonedCartFlows: [AbandonedCartFlow!]
archived: Boolean!
attributes: [OrderAttributeValue!]
availableShippingMethods: [AvailableShippingMethod!]
billingAddress: OrderAddress
branch: OrderBranch
branchSession: OrderBranchSession
branchSessionId: String
campaignOffers: [CartV2CampaignOffer!]
cancelledAt: Timestamp
cancelReason: OrderCancelledReasonEnum
cartId: String
cartStatus: CartV2StatusEnum
checkoutId: String
clientIp: String
couponCode: String
createdBy: CartCreatedByEnum
currencyCode: String!
currencyRates: [OrderCurrencyRate!]!
currencySymbol: String
customer: OrderCustomer
customerId: String
customerOrderCount: Float
dueDate: Timestamp
giftPackageLines: [OrderGiftPackageLine!]
giftPackageNote: String
host: String
invoices: [Invoice!]
isGiftPackage: Boolean
itemCount: Float
lastActivityDate: Timestamp
marketingCampaignId: String
merchantId: String!
note: String
orderAdjustments: [OrderAdjustment!]
orderedAt: Timestamp
orderLineItems: [OrderLineItem!]!
orderNumber: String
orderPackages: [OrderPackage!]
orderPackageSequence: Float
orderPackageStatus: OrderPackageStatusEnum
orderPaymentStatus: OrderPaymentStatusEnum
orderSequence: Float
orderTagIds: [String!]
paymentMethods: [OrderPaymentMethod!]
priceList: OrderPriceList
priceListId: String
recoverEmailStatus: CheckoutRecoveryEmailStatusEnum
recoveryStatus: CheckoutRecoveryStatusEnum
salesChannel: OrderSalesChannel!
salesChannelId: String
sessionInfo: OrderSessionInfo
shippingAddress: OrderAddress
shippingLines: [OrderShippingLine!]
shippingMethod: OrderShippingMethodEnum!
shippingSettingsId: String
shippingZoneRateId: String
sourceId: String
staff: OrderStaff
status: OrderStatusEnum!
stockLocation: OrderStockLocation
stockLocationId: String
storefront: OrderStorefront
storefrontId: String
storefrontRouting: OrderStorefrontRouting
storefrontRoutingId: String
storefrontTheme: OrderStorefrontTheme
storefrontThemeId: String
taxLines: [OrderTaxLine!]
terminalId: String
totalFinalPrice: Float!
totalPrice: Float!
userAgent: String
}
Fields
abandonedCartFlows
[AbandonedCartFlow!]attributes
[OrderAttributeValue!]availableShippingMethods
[AvailableShippingMethod!]billingAddress
OrderAddressIt is the billing address of the order.
branch
OrderBranchIt is the branch
information of the orders created via ikasPOS.
branchSession
OrderBranchSessionIt is the branchSession
information of the orders created via ikasPOS.
branchSessionId
StringcampaignOffers
[CartV2CampaignOffer!]cancelledAt
TimestampIf the order has been cancelled, it indicates the cancellation date of the order.
cancelReason
OrderCancelledReasonEnumIt is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order.
cartId
StringcartStatus
CartV2StatusEnumShows the status of the cart linked to the order.
checkoutId
StringclientIp
StringThe client ip address.
couponCode
StringcreatedBy
CartCreatedByEnumIndicates who created the order. The order can be created by the customer or the store owner.
It is the currency value of the order.
A list of currency rate objects.
currencySymbol
Stringcustomer
OrderCustomerInformation about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null.
customerId
StringcustomerOrderCount
FloatIt shows the number of orders given by the relevant customer.
dueDate
TimestampgiftPackageLines
[OrderGiftPackageLine!]A list of gift package line objects, each containing information about a gift package pricing in the order.
giftPackageNote
StringAn optional gift package note, can attach to the order.
host
StringIt is the host where the order was created.
invoices
[Invoice!]A list of invoice objects, each containing information about an invoice.
isGiftPackage
BooleanIndicates whether there is a gift package in the order. isGiftPackage returns true
if the order has gift package
itemCount
FloatlastActivityDate
TimestampmarketingCampaignId
Stringnote
StringAn optional note, can attach to the order.
orderAdjustments
[OrderAdjustment!]A list of adjustment objects, each containing information about a adjustment in the order.
orderedAt
TimestampThe date the order was ordered.
A list of line item objects, each containing information about an item in the order.
orderNumber
StringThe position of the order in the store's order count starting from 1001. Order numbers are sequential and start from 1001.
orderPackages
[OrderPackage!]A list of order package objects.
orderPackageSequence
Floatis the sequence value of the packages in the order.
orderPackageStatus
OrderPackageStatusEnumIt is the package status enum of the order
orderPaymentStatus
OrderPaymentStatusEnumIt is the payment status enum of the order
orderSequence
FloatIt is the sequence value of the order_number. The sequence value starts from 1 and an order with order number 1001 has a sequence value of 1.
orderTagIds
[String!]It is the tag id list in the order.
paymentMethods
[OrderPaymentMethod!]A list of payment method objects, each containing information about a payment method in the order.
priceList
OrderPriceListInformation about the priceList
used when the order was created.
priceListId
StringrecoverEmailStatus
CheckoutRecoveryEmailStatusEnumrecoveryStatus
CheckoutRecoveryStatusEnumInformation about the salesChannel
where the order was created.
salesChannelId
StringsessionInfo
OrderSessionInfoshippingAddress
OrderAddressIt is the shipping address of the order.
shippingLines
[OrderShippingLine!]A list of shipping line objects, each containing information about a shipping in the order.
It is the shipping method enum of the order
shippingSettingsId
StringshippingZoneRateId
StringsourceId
Stringstaff
OrderStaffIt is the staff
information of the orders created via ikasPOS.
It is the status enum of the order
stockLocation
OrderStockLocationIt is the stock location
information of the orders.
stockLocationId
Stringstorefront
OrderStorefrontInformation about the storefront
where the order was created.
storefrontId
StringstorefrontRouting
OrderStorefrontRoutingInformation about the storefrontRouting
used by the storefront at the time the order was created.
storefrontRoutingId
StringstorefrontTheme
OrderStorefrontThemeInformation about the storefrontTheme
used by the storefront at the time the order was created.
storefrontThemeId
StringtaxLines
[OrderTaxLine!]A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines.
terminalId
StringIt is the `terminalId`` information of the orders created via ikasPOS.
The total final price of the order resulting from the apply of orderAdjustments
, shippingLines
, and giftPackageLines
pricing to the order total price.
It is the sum of the net prices of the line items in the order.
userAgent
StringDetails of the browsing client, including software and operating versions.