promotions
Delete promotion by id
Changed onDelete a promotion within Pinterest.
delete/ad_accounts/{ad_account_id}/promotions/{promotion_id}
Request
- Base URLhttps://api.pinterest.com/v5
- AuthOAuth 2Authorization codehttps://www.pinterest.com/oauth/Token URLhttps://api.pinterest.com/v5/oauth/tokenScopesads:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
promotion_idstring required
Promotion ID
ad_account_idstring required
Unique identifier of an ad account.
Response
The request has succeeded.
Example response
{
"promotion_type": "VARIABLE",
"status": "ACTIVE",
"template_values": [
{
"amount": 100,
"custom_text": "My promotion",
"percent": 10
}
]
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- info
- info
endpoint added
- info