Streaming live at 10am (PST)

Discount Code in Order Data

Hi Guys,

Trying to push data from Webflow to Airtable and requires to get the discount code (if entered) used in orders.

I couldn’t find on the API reference any field linked to discount code…

Any idea were I can find this data ?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

From my understanding there is currently no API available for discount codes. Probably in the pipe line, but nothing yet.

I fear you are right…
I assume they should be passed with the extra fields (tax, shipping and so on), hope it will be implemented soon

Actually, the discount is passed through the Totals Collection as shown below.
The API documentation don’t mention it but I got this data for an order using a discount…

Interesting. Must have been a recent addition. That is good to hear. Probably more coming with discounts in the future then.

Thanks for that!

1 Like