Promotion Activate by ID
Put Promotion Activate by ID
PUT /promotion/activate/{id}
Path Parameters
| Name | Description | Type |
|---|---|---|
| id* | Promotion ID | string |
Headers
| Name | Description | Type |
|---|---|---|
| tenantId* | string (header) | string |
| userId* | string (header) | string |
Responses
200 OK
Description: Successful operation
Media type: Controls Accept header.
Example Value:
{
"message": "string",
"data": {
"id": "string",
"name": "string",
"description": "string",
"discountType": "FIXED",
"amount": 0,
"percentage": 0,
"endDate": "2024-07-17T16:23:36.636Z",
"isActive": true
},
"meta": {
"currentPage": 0,
"from": 0,
"to": 0,
"perPage": 0,
"total": 0,
"lastPage": 0
}
}