Create a store
POST {{baseUrl}}/stores
Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following role: * Management API—Stores read and write
Request Body
{"merchantId"=>"{{YOUR_MERCHANT_ACCOUNT}}_ID", "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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
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"}}}