OrderLineItemDiscountAllocations
Retrieves the discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.
View-Specific Information
Select
The add-in uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The add-in processes other filters client-side within the add-in.
- OrderLineItemId supports the '=,IN' comparison operators.
For example, the following queries are processed server side:
SELECT * FROM OrderLineItemDiscountAllocations
SELECT * FROM OrderLineItemDiscountAllocations WHERE OrderLineItemId = 'Val1'
Columns
Name | Type | References | Description |
OrderLineItemId | String | The ID of the Order to return. | |
DiscountApplicationIndex [KEY] | Decimal | An ordered index that can be used to identify the discount application and indicate the precedence of the discount application for calculations. | |
AllocatedAmountSetPresentmentMoneyAmount | Decimal | Decimal money amount. | |
AllocatedAmountSetPresentmentMoneyCurrencyCode | String | Currency of the money. | |
AllocatedAmountSetShopMoneyAmount | Decimal | Decimal money amount. | |
AllocatedAmountSetShopMoneyCurrencyCode | String | Currency of the money. |