Stores
Retrieve a list of stores
Retrieves all stores for a given merchant.
Required Scopes (one of the following):
- stores/id/terminals (returned via the register API: POST /poslink/v1/epos/register)
- default_access (deprecated, will be removed in the future; included for backward compatibility with existing integrations)
get/poslink/v1/stores
Request
- Base URLhttps://api.teya.com
- AuthOAuth 2Authorization codehttps://id.teya.com/oauth/v2/oauth-authorizeToken URLhttps://id.teya.com/oauth/v2/oauth-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Stores data successfully retrieved
Example response
{
"stores": [
{
"id": "f04fe1ce-e7bd-4c5b-b873-b156643c0bc3",
"name": "Mari Sucos - Main Store",
"address": {
"city": "Porto",
"country": "PT",
"street_address_line_1": "Rua da boavista 531",
"street_address_line_2": "Towns",
"zipcode": "4050-104"
}
},
{
"id": "34a735b9-58a6-4622-af5f-054e6d87e22d",
"name": "Mari Sucos - Fast Express",
"address": {
"city": "Lisboa",
"country": "PT",
"street_address_line_1": "Avenida dos almirantes 112",
"street_address_line_2": "",
"zipcode": "4098-104"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.