Discount Customer Selection Input
The input fields for the customers who can use this discount.
Anchor to FieldsFields
- •Boolean
Whether all customers can use this discount.
- Anchor to customerscustomers•Discount
Customers Input The list of customer IDs to add or remove from the list of customers.
- Anchor to customerSegmentscustomer•Discount
Segments Customer Segments Input The list of customer segment IDs to add or remove from the list of customer segments.
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The input fields for creating or updating a code discount, where the discount type is provided by an app extension that uses Shopify Functions.
Use these input fields when you need advanced or custom discount capabilities that aren't supported by Shopify's native discount types.
- •INPUT OBJECT
The input fields for creating or updating an amount off discount that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.
- •INPUT OBJECT
The input fields for creating or updating a buy X get Y discount (BXGY) that's applied on a cart and at checkout when a customer enters a code.
- Anchor to DiscountCodeFreeShippingInput.customerSelectionDiscount•INPUT OBJECT
Code Free Shipping Input. customer Selection The input fields for creating or updating a free shipping discount that's applied on a cart and at checkout when a customer enters a code.