Access "Customer Eligibility" parameter from Discount Coupon using StoreFront API

hashsam
New Member
3 0 0

Hi Team,

 

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 -

- Types

- Value

- 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 ?

 

Looking forward for a quick help here. TIA

0 Likes