API REFERENCEv1
Delete Coupon Code Custom Tag
DELETE
https://api2.protexting.com/v1/coupons-tag/delete⌘
Pass your server-side token as access_token. Replace sample values with your own. Authentication & setup →
Request parameters:
* required parameters
| Parameter | Description |
|---|---|
| * id (type: GET) | string |
Example Response Headers:
Response headers example
Status Code: 200 OKCache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0Connection: Keep-AliveContent-Length: 108Content-Type: application/xml; charset=utf-8Keep-Alive: timeout=5, max=100Pragma: no-cacheX-Powered-By: PHP/5.6.2X-Rate-Limit-Limit: 60X-Rate-Limit-Remaining: 59X-Rate-Limit-ResetExample Response Body:
JSON response example
{
"message": "Coupon code custom tag deleted successfully"
}XML response example
<response> <message>Coupon code custom tag deleted successfully</message></response>HTTP Status Codes:
The standard HTTP Status Codes are used. More information is available here: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
Error Codes:
Error Codes and Examples here »
Request example
Request example
# Set PROTEXTING_ACCESS_TOKEN in your environmentcurl --request DELETE \ "https://api2.protexting.com/v1/coupons-tag/delete?id=7443bf12-0257-11eb-a4ae-f23c91cc2b28&access_token=${PROTEXTING_ACCESS_TOKEN:?Set your API token}" \ --header 'Accept: application/json'Reference from the ProTexting documentation catalog. Code examples are illustrative; this page does not execute API requests.