post
https://stagingstores.xoxoday.com/chef/v1/oauth/api
The Get Campaign Details API can be used to fetch the products included in a specific Campaign.
Get Campaign Details Schema
| Property | Type | Description |
|---|---|---|
campaignId | Int | Unique identifier of the campaign to fetch. |
Response Schema
| Property | Type | Description |
|---|---|---|
| data | object | Root response object. |
| data.campaignDetails | object | Container for campaign details. |
| data.campaignDetails.success | number | API execution status (1 = success). |
| data.campaignDetails.data | array | List containing campaign detail entries. |
| data.campaignDetails.data[].campaignId | number | Unique campaign ID. |
| data.campaignDetails.data[].campaignName | string | Name of the campaign. |
| data.campaignDetails.data[].denomination_value | number | Denomination/value associated with the campaign. |
| data.campaignDetails.data[].currency_code | string | Currency code for denomination. |
| data.campaignDetails.data[].countryName | string | Applicable country for the campaign. |
| data.campaignDetails.data[].vouchers | array | List of vouchers/products associated with this campaign. |
| data.campaignDetails.data[].vouchers[].name | string | Voucher/product name. |
| data.campaignDetails.data[].vouchers[].image | string | Image URL for the voucher/product. |
