Authorization: Bearer ********************
curl --location --request DELETE 'https://api.upbooks.io/api/v1/discount/' \
--header 'ORGANIZATION-ID: 000000'
{
"data": {
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organizationId": "string",
"type": "percentage",
"value": 0,
"name": "string",
"discountCode": "string",
"currency": {
"name": "string",
"symbol": "string"
},
"sysgenerated": true
},
"message": "string"
}