Coupon Codes (Bulk)
Get Coupon Codes
GET https://api.bigcommerce.com/stores/{store_hash}/v3/promotions/{promotion_id}/codesRequest
Get codes for a particular promotion.
Note: The default rate limit for this endpoint is 40 concurrent requests.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
example
Response
Body
object | application/json
dataarray[object]
example-1
Delete Multiple Coupon Codes
DELETE https://api.bigcommerce.com/stores/{store_hash}/v3/promotions/{promotion_id}/codesRequest
Deletes multiple coupon codes relating to the given promotion. Currently, batches are limited to 50 coupon codes.
Notes
- "id:in" query param is required to delete coupon codes. If not provided, or provided with the wrong data format, a 422 error code is returned.
- The default rate limit for this endpoint is 40 concurrent requests.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
example
Response
A 204 response.
Did you find what you were looking for?