POST /coupons
Add coupons to an existing coupon collection. The coupons array must contain between 1 and 10,000 unique coupon code strings, all associated with the specified collectionId. Coupon creation is processed asynchronously and a 204 status is returned immediately upon acceptance. Returns a 404 error if the specified coupon collection does not exist.
Servers
- https://api.brevo.com/v3
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
collectionId |
String | Yes |
The id of the coupon collection for which the coupons will be created |
coupons[] |
Array | Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.