OrderEditAgreementGiftCardSales
Shows gift card sales data that changed during an order edit under an agreement.
View-Specific Information
Select
The connector uses the Shopify API to process WHERE clause conditions built with the following column and operators. The connector processes other filters client-side within the connector.
- OrderId supports the '=, IN' comparison operators.
For example, the following query is processed server-side:
SELECT * FROM OrderEditAgreementGiftCardSales WHERE OrderId = 'Val1'
Columns
| Name | Type | References | Description |
| OrderId | String |
Orders.Id | The unique identifier of the parent order associated with this gift card-related agreement sale. |
| AgreementId | String | The unique identifier of the agreement defining the terms under which this gift card sale occurred. | |
| Id [KEY] | String | A unique identifier for the individual sale record associated with the agreement. | |
| ActionType | String | The type of order action represented by this sale, such as purchase, issuance, or refund of a gift card. | |
| LineType | String | The classification of the sale line, indicating that it pertains to a gift card transaction. | |
| Quantity | Int | The total number of gift card units included in this sale or return transaction. | |
| TotalAmountPresentmentMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the presentment currency. | |
| TotalAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency in which the total sale amount is displayed to the customer. | |
| TotalAmountShopMoneyAmount | Decimal | The total sale amount after taxes and discounts, expressed as a decimal value in the shop's base currency. | |
| TotalAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total sale amount. | |
| TotalTaxAmountPresentmentMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the presentment currency. | |
| TotalTaxAmountPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for the total tax amount. | |
| TotalTaxAmountShopMoneyAmount | Decimal | The total amount of taxes applied to the sale, expressed as a decimal value in the shop's base currency. | |
| TotalTaxAmountShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for the total tax amount. | |
| TotalDiscountAmountBeforeTaxesPresentmentMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountBeforeTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied before taxes. | |
| TotalDiscountAmountBeforeTaxesShopMoneyAmount | Decimal | The total discounts applied before taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountBeforeTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied before taxes. | |
| TotalDiscountAmountAfterTaxesPresentmentMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the presentment currency. | |
| TotalDiscountAmountAfterTaxesPresentmentCurrencyCode | String | The ISO 4217 currency code representing the presentment currency for discounts applied after taxes. | |
| TotalDiscountAmountAfterTaxesShopMoneyAmount | Decimal | The total discounts applied after taxes, expressed as a decimal value in the shop's base currency. | |
| TotalDiscountAmountAfterTaxesShopMoneyCurrencyCode | String | The ISO 4217 currency code representing the shop's base currency for discounts applied after taxes. | |
| Taxes | String | A list of individual tax details associated with the sale, including tax type, rate, and amount breakdowns. | |
| GiftCardSaleLineItemId | String | A unique identifier linking this sale record to the associated gift card line item within the order. |