Anchor to DiscountCustomerSelectionInputDiscount
input_objectDiscount 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.
Was this section helpful?
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.