POST /elastic-path-stores.json
Body Required
-
channelId integer(int32) | null
Channel
-
Client
-
Client secret
-
fulfillmentEndpoint string | null
Fulfillment endpoint
-
Name
-
Store
POST /elastic-path-stores.json
curl \
-X POST http://api.example.com/v1/elastic-path-stores.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"clientId":"string","clientSecret":"string","fulfillmentEndpoint":"string","name":"string","storeId":"string"}'
Request example
{
"channelId": 42,
"clientId": "string",
"clientSecret": "string",
"fulfillmentEndpoint": "string",
"name": "string",
"storeId": "string"
}
Response examples (200)
{
"channelId": 42,
"clientId": "string",
"clientSecret": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"fulfillmentEndpoint": "string",
"id": 42,
"name": "string",
"storeId": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}