Amount Breakdown Part
Represent a part of an amount. The sum of each part's amount is equal to the total amount.
Part's amount. The sum of each part's amount is equal to the total amount.
Should this amount be debited to the customer. If true, the amount is taken into account when generating the debit file. If false, the amount is not taken into account when generating the debit file.
{ "amount": 40, "debitableFromCustomer": true }
Order Tax Amount
Represents the amount of a tax.
Tax amount
The breakdown of the tax amount, only available when advanced features are enabled
Tax code
Tax rate
{ "amount": 40, "breakdown": { "__typename": "AmountBreakdown" }, "code": "Example String", "rate": 40 }
Order Line Product Measurement
Represents measurement information of an order item (OrderLine)
Actual measurement on the order line
Measurement unit of the order line. Possible values: GRAM, KILOGRAM, TON, POUND, OUNCE, MILLILITER, CENTILITER, CUBIC_METER, LITER, GALLON, FLUID_OUNCE, PINT, BARREL, CENTIMETER, METER, INCH, FEET, SQUARE_CENTIMETER, SQUARE_METER, SQUARE_INCH, SQUARE_FOOT
Total measurement ordered on the order line
{ "actualMeasurement": 40, "measurementUnit": "Example String", "orderedMeasurement": 40 }
Order Computed Promotions
Represents an order's promotions
The promotions applied on this order
The total amount deduced on this order thanks to the promotions
{ "appliedPromotions": [ { "__typename": "AppliedPromotion" } ], "totalDeducedAmount": 40 }
Applied Promotion
Represents a promotion applied to an element
Whether the promotion's deduced amount has been divided among multiple order lines
Configuration used to calculate the applied promotion
Promotion's amount.
Promotion's id, defined by the shop
The quantity of free items offered by the promotion for this line. Only applicable when promotion is of type FREE_ITEMS, null otherwise.
Promo code associated to the promotion
{ "apportioned": true, "configuration": { "__typename": "AppliedPromotionConfiguration" }, "deducedAmount": 40, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "offeredQuantity": 40, "promoCode": "Example String" }
Applied Promotion Configuration
Represents a promotion's configuration
The amount off of the promotion. Only applicable when promotion is of type AMOUNT_OFF, null otherwise.
The free item target quantity of the promotion. Only applicable when promotion is of type FREE_ITEMS, null otherwise.
The percentage off of the promotion. Only applicable when promotion is of type PERCENTAGE_OFF, null otherwise.
The reduced unit price of this promotion. Only applicable when the promotion is of type REDUCED_UNIT_PRICE, null otherwise.
Promotion's type, whether it is applied to this item (ITEM), or every items in the basket for this shop (BASKET). Possible values are: ALL, AMOUNT_OFF, FREE_ITEMS, PERCENTAGE_OFF, REDUCED_UNIT_PRICE
{ "amountOff": 40, "freeItemsQuantity": 40, "percentageOff": 40, "reducedUnitPrice": 40, "type": "Example String" }