POST /square-space-stores.json

POST /square-space-stores.json
application/json

Body Required

  • accessToken string Required

    Access token

  • channelId integer(int32) Required

    Channel

  • name string Required

    Name

  • shop string | null

    Shop

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • accessToken string Required

      Access token

    • channelId integer(int32) Required

      Channel

    • createdAt string(date-time)

      Created at

    • id integer(int32)

      Id

    • name string Required

      Name

    • shop string | null

      Shop

    • updatedAt string(date-time)

      Updated at

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