I am a developer for a Shopify Website built using ReactJS and Laravel with a custom checkout flow.
I have used StoreFront API for Discount Application by creating a Checkout manually. I am passing the LineItems and CouponCode to the checkout - and then I am capturing the Allocated Discount Amount to update the pricing manually.
Here, I am able to use the following parameters from Discount Coupon -
- Applies to
- Minimum Requirements
- Usage Limits
Out of all the parameters, I also want to use the "Customer Eligibility" parameter within the StoreFront API - can someone guide me through the process for implementing the same ?