Get all the stores under a merchant account

POST {{baseUrl}}/getStoresUnderAccount

Returns a list of stores associated with a company account or a merchant account, including the status of each store.

Request Body

{"companyAccount"=>"{{YOUR_COMPANY_ACCOUNT}}", "merchantAccount"=>"{{YOUR_MERCHANT_ACCOUNT}}"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"stores":[{"store":"YOUR_STORE","description":"YOUR_STORE","address":{"city":"The City","countryCode":"NL","postalCode":"1234","streetAddress":"The Street"},"status":"Active","merchantAccountCode":"YOUR_MERCHANT_ACCOUNT"}]}