Add your own key-value data to discounts in Paddle when working with the API.
We updated discount entities so that now you can add
custom_data when creating or updating them.
Your own structured key-value data.
Previously, you could add custom data to transaction, subscription, product, and price entities. We recently added the option to add custom data to customer, address, and business entities. With this update, you can add custom data to discount entities, which means all core entities in the Paddle API support custom data.
This is especially useful if you're using the API or webhooks to sync with a CRM or ERP solution. You can store identifiers or other data from your third-party solution against related entities in Paddle.
This change is available in version
1 of the Paddle API.
It's a non-breaking change, meaning it doesn't impact existing integrations.
Create or update discounts using the API to get started.