Utilize o endpoints a seguir para a gestão dos programas de fidelidade disponíveis ao merchant.
Last updated 2 years ago
GET https://{account}.myhubdelivery.io/loyalty/api/v1/{merchantId}/programs
GET
https://{account}.myhubdelivery.io/loyalty/api/v1/{merchantId}/programs
[ { "id": "JWzgNngV9Z", "name": "Cliente Fiel", "affiliated": true }, { "id": "2bYl6wgM9Z", "name": "Default", "affiliated": false } ]
{ "type": "https://tools.ietf.org/html/rfc7235#section-3.1", "title": "Unauthorized", "status": 401, "traceId": "00-cd0c0257a67e9a3fe57dc8c160e01607-b5994934dd13d84f-01" }
merchantId*
String