GET/v1/tenants/{tenantId}/loyalty_programs/{loyaltyProgramId}/retail_stores
Get retail stores for loyalty program
Only stores with RELEASED status are included.
Parameters
tenantIdrequiredloyaltyProgramIdrequired
Responses
200Response
application/jsonretailStoresrequiredShow item fields
addressesrequiredShow item fields
cityrequired- Example
"Oslo" countryIsoCoderequiredISO 3166-1 alpha-2 country code
Example"NO"postCoderequired- Example
"0154" streetrequiredStreet address including number
Example"Karl Johans gate 1"typerequired- Example
"VISIT"
emailoptional- Example
"oslo.city@example.com" idrequired- Example
"01234567-89ab-cdef-0123-456789abcdef" namerequired- Example
"Oslo City Store" numberrequired- Example
"STORE-001" phoneoptional- Example
"+4722123456" webAddressoptional- Example
"https://store.example.com"
401
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
404Loyalty program doesn't exist
Loyalty program doesn't exist
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
500
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"