Get Promotion
Get Promotion
GET /promotion
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": 0,
"uuid": "string",
"createdAt": "2024-07-17T17:27:04.471Z",
"updatedAt": "2024-07-17T17:27:04.471Z",
"tenantId": "string",
"merchantId": "string",
"name": "string",
"description": "string",
"discountType": "FIXED",
"amount": 0,
"percentage": 0,
"endDate": "2024-07-17T17:27:04.472Z",
"isActive": true
}
],
"meta": {
"currentPage": 0,
"from": 0,
"to": 0,
"perPage": 0,
"total": 0,
"lastPage": 0
}
}