List Stores
This describes the request used to create a Merchant and add stores to that merchant
List stores for current organization​
- Request
- Response
GET /manage/stores HTTP/1.1
Host: api.uat.walleydev.com // (Please note! Different hostname in production)
Authorization: Bearer bXlVc2VybmFtZTpmN2E1ODA4MGQzZTk0M2VmNWYyMTZlMDE...
{
"data": [
{
"id": "9684",
"name": "Test Company",
"countryCode": "SE"
"salesSegment": "B2C"
},
{
"id": "9685",
"name": "Test Company",
"countryCode": "SE"
"salesSegment": "B2B"
},
{
"id": "9688",
"name": "Test Company",
"countryCode": "SE",
"salesSegment": "B2C"
}
],
"links": {},
"metaData": {}
}
List stores for a sub organization​
- Request
- Response
GET /manage/organizations/{organizationId}/stores HTTP/1.1
Host: api.uat.walleydev.com // (Please note! Different hostname in production)
Authorization: Bearer bXlVc2VybmFtZTpmN2E1ODA4MGQzZTk0M2VmNWYyMTZlMDE...
{
"data": [
{
"id": "9684",
"name": "Test Company",
"countryCode": "SE",
"salesSegment": "B2C"
},
{
"id": "9685",
"name": "Test Company",
"countryCode": "SE",
"salesSegment": "B2B"
},
{
"id": "9688",
"name": "Test Company",
"countryCode": "SE",
"salesSegment": "B2C"
}
],
"links": {},
"metaData": {}
}
Data Model​
Request​
Request headers​
Header | Required | Explanation |
---|---|---|
Authorization | Yes | Instructions on how to generate the Bearer token value can be found here |
Request query parameters​
Property | Required | Explanation |
---|---|---|
organizationId | Yes if applicable | The specific Organization identifier to get stores for |
Response​
The response is wrapped in a Response object containing data, links and metadata
Property | Explanation |
---|---|
id | Store identifier |
name | Store name, used for human readability |
countryCode | Country code of the store |
salesSegment | SalesSegment type "B2B" or "B2C" |