POST /saleor-stores.json
POST
/saleor-stores.json
Body Required
-
accessToken string Required
Access token
-
channelId integer(int32) | null
Channel
-
externalChannelId string | null
External channel
-
externalWarehouseId string | null
External warehouse
-
name string Required
Name
-
productTypeAttribute string | null
Product type attribute
-
storeUrl string | null
Store url
-
vendorAttribute string | null
Vendor attribute
POST /saleor-stores.json
curl \
-X POST http://api.example.com/v1/saleor-stores.json \
-H "Content-Type: application/json" \
-d '{"accessToken":"string","channelId":42,"externalChannelId":"string","externalWarehouseId":"string","name":"string","productTypeAttribute":"string","storeUrl":"string","vendorAttribute":"string"}'
Request example
{
"accessToken": "string",
"channelId": 42,
"externalChannelId": "string",
"externalWarehouseId": "string",
"name": "string",
"productTypeAttribute": "string",
"storeUrl": "string",
"vendorAttribute": "string"
}
Response examples (200)
{
"accessToken": "string",
"channelId": 42,
"createdAt": "2023-05-04T09:42:00+00:00",
"externalChannelId": "string",
"externalWarehouseId": "string",
"id": 42,
"name": "string",
"productTypeAttribute": "string",
"storeUrl": "string",
"updatedAt": "2023-05-04T09:42:00+00:00",
"vendorAttribute": "string"
}