Create a new shop country
Create a new shop country
Rate Limit: 300 Max attempts within 1 minute.
Path Parameters
Parameter | Details |
---|---|
shopKey
| string Example: ms |
Request body
requiredParameter | Details |
---|---|
id
| integer Example: 1 |
shopKey
| string Example: ay |
countryCode
| string Example: DE |
defaultLanguageCode
| string Example: de_DE |
supportedLanguageCodes
| string Example: de_DE |
url | string Example: https://www.example.com |
active
| boolean Example: true |
deleted
| boolean |
priceGroupKey
| string Example: myPriceGroup |
currencyCode | string Example: EUR |
assortment
| object attributes array |
warehouses | object referenceKey stringPattern: ^[a-zA-Z0-9-_\. ]*$ Example: my-warehouse priority integer
Example: 100 |
priceRoundings | object currencyCode stringPattern: ^[A-Z]{3}$ Example: EUR precision stringEnum: 1.00 5.00 0.05 0.99 0.95 0.90 roundingType stringEnum: nearest up down |
customData
| object
|
Responses
201
Shop country was successfully created.
application/json
Success
id
integer
Example:
1
shopKey
string
Example:
ay
countryCoderequired
string
Example:
DE
defaultLanguageCoderequired
string
Example:
de_DE
supportedLanguageCodes
Array of string
Example:
de_DE
urlrequired
string
Example:
https://www.example.com
active
boolean
Example:
true
deleted
boolean
priceGroupKey
string
Example:
myPriceGroup
currencyCode
string
Example:
EUR
object
Array of object
Array of object
null
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
POST
Request samples
Response samples
201Shop Country:
Content type: application/json