PUT /saleor-stores/{id}.json

PUT /saleor-stores/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • 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

PUT /saleor-stores/{id}.json
curl \
 --request PUT 'http://api.example.com/v1/saleor-stores/{id}.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"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"}'
Request examples
{
  "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"
}