POST /elastic-path-stores.json

POST /elastic-path-stores.json
application/json

Body Required

  • channelId integer(int32) | null

    Channel

  • clientId string Required

    Client

  • clientSecret string Required

    Client secret

  • fulfillmentEndpoint string | null

    Fulfillment endpoint

  • name string Required

    Name

  • storeId string Required

    Store

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • channelId integer(int32) | null

      Channel

    • clientId string Required

      Client

    • clientSecret string Required

      Client secret

    • createdAt string(date-time)

      Created at

    • fulfillmentEndpoint string | null

      Fulfillment endpoint

    • id integer(int32)

      Id

    • name string Required

      Name

    • storeId string Required

      Store

    • updatedAt string(date-time)

      Updated at

POST /elastic-path-stores.json
curl \
 --request POST 'http://api.example.com/v1/elastic-path-stores.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelId":42,"clientId":"string","clientSecret":"string","fulfillmentEndpoint":"string","name":"string","storeId":"string"}'
Request examples
{
  "channelId": 42,
  "clientId": "string",
  "clientSecret": "string",
  "fulfillmentEndpoint": "string",
  "name": "string",
  "storeId": "string"
}
Response examples (200)
{
  "channelId": 42,
  "clientId": "string",
  "clientSecret": "string",
  "createdAt": "2025-05-04T09:42:00Z",
  "fulfillmentEndpoint": "string",
  "id": 42,
  "name": "string",
  "storeId": "string",
  "updatedAt": "2025-05-04T09:42:00Z"
}