Create a store under the merchant account specified in the path.

POST {{baseUrl}}/merchants/:merchantId/stores

Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following role: * Management API—Stores read and write

Request Body

{"description"=>"City centre store", "shopperStatement"=>"Springfield Shop", "phoneNumber"=>"1813702551707653", "reference"=>"Spring_store_2", "address"=>{"country"=>"US", "line1"=>"200 Main Street", "line2"=>"Building 5A", "line3"=>"Suite 3", "city"=>"Springfield", "stateOrProvince"=>"NY", "postalCode"=>"20250"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"YOUR_STORE_ID","address":{"country":"US","line1":"200 Main Street","line2":"Building 5A","line3":"Suite 3","city":"Springfield","stateOrProvince":"NY","postalCode":"20250"},"description":"City centre store","merchantId":"YOUR_MERCHANT_ACCOUNT_ID","shopperStatement":"Springfield Shop","phoneNumber":"1813702551707653","reference":"Spring_store_2","status":"active","_links":{"self":{"href":"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID"}}}