GET/v1/tenants/{tenantId}/loyalty_programs/{loyaltyProgramId}/retail_stores

Get retail stores for loyalty program

Only stores with RELEASED status are included.

Parameters

tenantIdrequired
loyaltyProgramIdrequired

Responses

200Response
application/json
retailStoresrequired
Show item fields
addressesrequired
Show item fields
cityrequired
Example"Oslo"
countryIsoCoderequired

ISO 3166-1 alpha-2 country code

Example"NO"
postCoderequired
Example"0154"
streetrequired

Street 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/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
403
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
404Loyalty program doesn't exist

Loyalty program doesn't exist

application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
500
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"