Menu
Create a new shop
Create a new shop
POST
/shopsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Create a new shop action (under Shops).
- Fill in the fields below, then reference the result from later steps as
{{createANewShop.response.data}}.
Fields
Response
Returns 201 with an object. Read it in later steps with {{createANewShop.response.data.<field>}}.
{
"key": "ms",
"name": "My shop",
"id": 1,
"logoUrl": "images/logo.png",
"logoSource": {
"url": "https://example.com/image.png",
"attachment": "U3dhZ2dlciByb2Nrcw=="
},
"active": true,
"deleted": false,
"priceGroupKey": "myPriceGroup",
"shopCategoryTreeId": 1,
"companyId": 1,
"countries": [
{
"countryCode": "DE",
"defaultLanguageCode": "de_DE",
"url": "https://www.example.com",
"id": 1,
"shopKey": "ay",
"supportedLanguageCodes": [
"de_DE"
],
"active": true,
"deleted": false,
"priceGroupKey": "myPriceGroup",
"currencyCode": "EUR",
"assortment": {
"masterCategories": {
"include": [
[
null
]
],
"exclude": [
[
null
]
]
},
"products": {
"include": [
0
],
"exclude": [
0
]
},
"attributes": [
{
"name": "string",
"include": [
null
],
"exclude": [
null
]
}
],
"merchantReferenceKeys": {
"include": [
"string"
],
"exclude": [
"string"
]
}
},
"warehouses": [
{
"referenceKey": "my-warehouse",
"id": 1,
"priority": 100,
"packageGroup": {
"id": 1
}
}
]
}
],
"customData": null
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?