Get Recommended Merchants
This endpoint allows to get recommended merchant list available to a customer.
Request
GET <API base url>/customers/{customerId}/merchants/recommended
URL query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| language | string | yes | Two letter language code according to ISO 639-1 |
| showArchived | boolean | no | If specified, merchants with ended offers are included |
Response
On success:
{
"value": required array of {
"id": required number,
"marketName": required string,
"logo": optional string (as URL),
"recentOffer": required {
"announcedFrom": required date,
"receivedAt": required date
},
"offers": required {
"totalCount": required number
},
"category": optional string
}
}