Body
Required
-
Access token
-
Channel
-
External channel
-
External warehouse
-
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, orignore. Default value isignore. -
Name
-
Product type attribute
-
Store url
-
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"
}