ManagementAccountAccount store level

Get a list of stores

GET
/stores

Returns a list of stores. The list is grouped into pages as defined by the query parameters.

To make this request, your API credential must have one of the following roles:

  • Management API—Stores read
  • Management API—Stores read and write

In the live environment, requests to this endpoint are subject to rate limits.

Authorization

AuthorizationBasic <token>

In: header

Query Parameters

pageNumber?integer

The number of the page to fetch.

Formatint32
pageSize?integer

The number of items to have on a page, maximum 100. The default is 10 items on a page.

Formatint32
reference?string

The reference of the store.

merchantId?string

The unique identifier of the merchant account.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/stores"

Example response when getting a list of stores

{  "_links": {    "first": {      "href": "https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT_ID/stores?pageNumber=1&pageSize=1"    },    "last": {      "href": "https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT_ID/stores?pageNumber=2&pageSize=1"    },    "next": {      "href": "https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT_ID/stores?pageNumber=2&pageSize=1"    },    "self": {      "href": "https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT_ID/stores?pageNumber=1&pageSize=1"    }  },  "itemsTotal": 2,  "pagesTotal": 1,  "data": [    {      "id": "ST322LJ223223K5F4SQNR9XL5",      "address": {        "city": "Springfield",        "country": "US",        "line1": "200 Main Street",        "line2": "Building 5A",        "line3": "Suite 3",        "postalCode": "20250",        "stateOrProvince": "NY"      },      "description": "City centre store",      "merchantId": "YOUR_MERCHANT_ACCOUNT_ID",      "phoneNumber": "+1312345678",      "reference": "Springfield Shop",      "status": "active",      "_links": {        "self": {          "href": "https://management-test.adyen.com/v1/stores/ST322LJ223223K5F4SQNR9XL5"        }      }    },    {      "id": "ST322LJ223223K5F4SQNR9XL6",      "address": {        "city": "North Madison",        "country": "US",        "line1": "1492 Townline Road",        "line2": "Rowland Business Park",        "postalCode": "20577",        "stateOrProvince": "NY"      },      "description": "West location",      "merchantId": "YOUR_MERCHANT_ACCOUNT_ID",      "phoneNumber": "+1211992213193020",      "reference": "Second Madison store",      "status": "active",      "_links": {        "self": {          "href": "https://management-test.adyen.com/v1/stores/ST322LJ223223K5F4SQNR9XL6"        }      }    }  ]}