Get list of stores
Authorization
bearerAuth In: header
Query Parameters
Number of results
20value <= 200Id or base64 encoded cursor(id + sortKey)
Id or base64 encoded cursor(id + sortKey)
The sort key, sorting by id by default
Direction of sorting
"asc" | "desc"Id of a physical store. The id is required when retailer want to make a call to specified store.
Status of a store, indicates whether the store is open to customers
"OPEN" | "CLOSED" | "CLOSED_FOR_MAINTENANCE"External id of a store, retailers can specify their own id for the store via this field
We would send this field in the payload of checkout webhook with key storeExternalId
For example, we will include "storeExternalId": "store0001" in the payload of checkout webhook if retailer specifies this field with "store0001"
Deployment status of a store, indicated whether the store is live, under deployment or testing
"LIVE" | "TESTING" | "DEPLOYMENT" | "DECOMMISSIONED"Unique identifier across all AiFi stores. it will only be filled in by TechOPS/deployment engineers
Response Body
application/json
application/json
curl -X GET "https://oasis-api.public.sandbox.oasis.aifi.com/api/admin/v2/stores"{
"stores": [
{
"aifiUniqueStoreId": "string",
"status": "OPEN",
"deploymentStatus": "LIVE",
"addressLine1": "string",
"addressCity": "string",
"addressRegion": "string",
"addressCountry": "AC",
"addressPostalCode": "string",
"id": "string",
"store": {
"oasisApiStoreId": 0,
"aifiUniqueStoreId": "string"
},
"name": "",
"displayableName": "",
"thirdPartyId": "string",
"storeUrl": "string",
"maxPeople": 0,
"storeConfigId": 0,
"externalId": "string",
"health": "online",
"address": {}
}
],
"pagination": {
"previous": {
"count": 0,
"before": "string",
"direction": "asc"
},
"next": {
"count": 0,
"after": "string",
"direction": "asc"
}
}
}{
"message": "Invalid request body",
"type": "E_INVALID_BODY",
"errors": [
{
"error": "\"email\" is required",
"rule": "any.required",
"field": "\"email\""
}
]
}How is this guide?