Closed Beta ProgramsPromotions UpdatesAPI ReferencePromotions Single

Update Promotion

Update a promotion.

Note: The default rate limit for this request is 40 concurrent requests.

Authentication

X-Auth-Tokenstring
### OAuth scopes | UI Name | Permission | Parameter | |:--------|:-----------|:----------| | Marketing | modify | `store_v2_marketing` | | Marketing | read-only | `store_v2_marketing_read_only` | ### Authentication header | Header | Argument | Description | |:-------|:---------|:------------| | `X-Auth-Token` | `access_token` | For more about API accounts that generate `access_token`s, see [API Accounts and OAuth Scopes](/developer/docs/overview/api-accounts#api-accounts). | ### Further reading For example requests and more information about authenticating BigCommerce APIs, see [Authentication and Example Requests](/developer/docs/overview/api-accounts). For more about BigCommerce OAuth scopes, see [API Accounts and OAuth Scopes](/developer/docs/overview/api-accounts#api-accounts). For a list of API status codes, see [API Status Codes](/developer/api-reference/rest/overview#rest-http-status-codes).

Path parameters

idstringRequired
The ID of the promotion in question.

Request

This endpoint expects an object.
Patch Coupon PromotionobjectRequired
OR
Patch Automatic PromotionobjectRequired

Response

dataobject
metaobject
Empty meta object, which may be used at a later time.

Errors

404
Not Found Error