PUT /saleor-stores/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body 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
-
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
-
productTypeAttribute string | null
Product type attribute
-
storeUrl string | null
Store url
-
updatedAt string(date-time)
Updated at
-
vendorAttribute string | null
Vendor attribute
PUT /saleor-stores/{id}.json
curl \
-X PUT http://api.example.com/v1/saleor-stores/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"accessToken":"string","channelId":42,"createdAt":"2024-05-04T09:42:00+00:00","externalChannelId":"string","externalWarehouseId":"string","id":42,"inventoryTracking":"ignore","name":"string","productTypeAttribute":"string","storeUrl":"string","tagsAttribute":"tags","updatedAt":"2024-05-04T09:42:00+00:00","vendorAttribute":"string"}'
Request example
{
"accessToken": "string",
"channelId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"externalChannelId": "string",
"externalWarehouseId": "string",
"id": 42,
"inventoryTracking": "ignore",
"name": "string",
"productTypeAttribute": "string",
"storeUrl": "string",
"tagsAttribute": "tags",
"updatedAt": "2024-05-04T09:42:00+00:00",
"vendorAttribute": "string"
}