POST /saleor-stores.json

POST /saleor-stores.json
application/json

Body Required

  • accessToken string Required

    Access token

  • channelId integer(int32) | null

    Channel

  • externalChannelId string | null

    External channel

  • externalWarehouseId string | null

    External warehouse

  • inventoryTracking string | null Required

    When syncing inventory to Saleor, you can also change the "track inventory" setting. This may be helpful if you want to disable the inventory allocation handling.

    Values are enableTracking, disableTracking, or ignore. Default value is ignore.

  • name string Required

    Name

  • productTypeAttribute string | null

    Product type attribute

  • storeUrl string | null

    Store url

  • tagsAttribute string | null Required

    Tags attribute

    Default value is tags.

  • vendorAttribute string | null

    Vendor attribute

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • accessToken string Required

      Access token

    • channelId integer(int32) | null

      Channel

    • createdAt string(date-time)

      Created at

    • externalChannelId string | null

      External channel

    • externalWarehouseId string | null

      External warehouse

    • id integer(int32)

      Id

    • inventoryTracking string | null Required

      When syncing inventory to Saleor, you can also change the "track inventory" setting. This may be helpful if you want to disable the inventory allocation handling.

      Values are enableTracking, disableTracking, or ignore. Default value is ignore.

    • name string Required

      Name

    • productTypeAttribute string | null

      Product type attribute

    • storeUrl string | null

      Store url

    • tagsAttribute string | null Required

      Tags attribute

      Default value is tags.

    • updatedAt string(date-time)

      Updated at

    • vendorAttribute string | null

      Vendor attribute

POST /saleor-stores.json
curl \
 --request POST 'http://api.example.com/v1/saleor-stores.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"accessToken":"string","channelId":42,"externalChannelId":"string","externalWarehouseId":"string","inventoryTracking":"ignore","name":"string","productTypeAttribute":"string","storeUrl":"string","tagsAttribute":"tags","vendorAttribute":"string"}'
Request examples
{
  "accessToken": "string",
  "channelId": 42,
  "externalChannelId": "string",
  "externalWarehouseId": "string",
  "inventoryTracking": "ignore",
  "name": "string",
  "productTypeAttribute": "string",
  "storeUrl": "string",
  "tagsAttribute": "tags",
  "vendorAttribute": "string"
}
Response examples (200)
{
  "accessToken": "string",
  "channelId": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "externalChannelId": "string",
  "externalWarehouseId": "string",
  "id": 42,
  "inventoryTracking": "ignore",
  "name": "string",
  "productTypeAttribute": "string",
  "storeUrl": "string",
  "tagsAttribute": "tags",
  "updatedAt": "2025-05-04T09:42:00Z",
  "vendorAttribute": "string"
}