cURL
curl --request DELETE \ --url https://www.pushlapgrowth.com/api/v1/promotional-codes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "promotionalCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "message": "<string>", "deletedCode": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "code": "<string>" } }
Deletes a promotional code. This action is permanent.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Promotional code delete details
The promotional code ID to delete
Promotional code deleted successfully
Show child attributes