Anchor to automaticDiscountautomatic
automaticDiscount
queryDeprecated
Returns an automatic discount resource by ID. Use instead.
Anchor to Possible returnsPossible returns
- Anchor to DiscountAutomaticDiscount•
Automatic The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order.
Was this section helpful?
Query Reference
{
automaticDiscount(id) {
# automaticDiscount fields
}
}