docs
  1. Admin Api
  2. Resources
  3. Shop Countries
  4. Create A New Shop Country

Create a new shop country

Create a new shop country

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
shopKey
  • required
string
Example:
ms

Request body

required
ParameterDetails
id
  • readonly
integer
Example:
1
shopKey
  • readonly
string
Example:
ay
countryCode
  • MinLength: 2
  • MaxLength: 2
string
Example:
DE
defaultLanguageCode
  • MaxLength: 5
string
Example:
de_DE
supportedLanguageCodes
  • MaxLength: 5
string
Example:
de_DE
url
string
Example:
https://www.example.com
active
  • readonly
boolean
Example:
true
deleted
  • readonly
boolean
priceGroupKey
  • readonly
  • nullable
string
Example:
myPriceGroup
currencyCode
string
Example:
EUR
assortment
  • readonly
object
attributes
array
masterCategories
object
products
object
merchantReferenceKeys
object
warehouses
object
referenceKey
string
Pattern:
^[a-zA-Z0-9-_\. ]*$
Example:
my-warehouse
priority
integer
  • nullable
Example:
100
packageGroup
object
priceRoundings
object
currencyCode
string
Pattern:
^[A-Z]{3}$
Example:
EUR
precision
string
Enum:
1.00
5.00
0.05
0.99
0.95
0.90
roundingType
string
Enum:
nearest
up
down
customData
  • nullable
object
  • MinProps: 1

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/shops/{shopKey}/countries

Request samples

Response samples

201
Shop Country:
Content type: application/json
Provide Feedback