Menu
Get a shop country by code
Get a shop country by code
GET
/shops/{shopKey}/countries/{countryCode}Use it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Get a shop country by code action (under Shops).
- Fill in the fields below, then reference the result from later steps as
{{getAShopCountryByCode.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getAShopCountryByCode.response.data.<field>}}.
{
"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": [
[
[
"Fashion",
"Men",
"Shirts"
]
]
],
"exclude": [
[
[
"Fashion",
"Men",
"Shirts"
]
]
]
},
"products": {
"include": [
0
],
"exclude": [
0
]
},
"attributes": [
{
"name": "string",
"include": [
"string"
],
"exclude": [
"string"
]
}
],
"merchantReferenceKeys": {
"include": [
"string"
],
"exclude": [
"string"
]
}
},
"warehouses": [
{
"referenceKey": "my-warehouse",
"id": 1,
"priority": 100,
"packageGroup": {
"id": 1
}
}
]
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?