Question

Coupon Code API Questions

  • 2 May 2024
  • 1 reply
  • 6 views

Badge

Hi there! I have two questions:

  1. Is there any way to get the Shopify price rule object associated with a coupon object on Klaviyo? Essentially, I want to get the metadata of the coupon (i.e., the % off, when it expires, etc.) but I can’t find this info on the API.
  2. Also, I noticed that whenever I create or retrieve a coupon code associated with a coupon object (with status ‘UNASSIGNED’ or ‘ASSIGNED_TO_PROFILE’), the code does not appear to be ‘active’ in the sense that if I open up a new window, click ‘checkout’ and try to apply the code, Shopify says invalid code. Any clues on how I can get a valid code to apply? I have tried both the `unique_code` and `id` fields of the Coupon Code object, but neither seems to work.

1 reply

Userlevel 7
Badge +36

Hi @C3654EF3!

I’m going to check on this internally and I’ll update the thread ASAP!

- Brian

Reply