docs
  1. Admin Api
  2. Resources
  3. Custom Data
  4. Shop Countries
  5. Create Custom Data Key

Create custom data key

Create or update shop country custom data for a specific key

Rate Limit: 1000 Max attempts within 1 minute.

Path Parameters

ParameterDetails
shopKey
  • required
string
Example:
ms
countryCode
  • required
string
Example:
de
key
  • required
string
Example:
score

Query Parameters

ParameterDetails
locale
  • MaxLength: 5
string
Example:
de_DE

Request body

required
ParameterDetails
-
  • MinProps: 1
object

Responses

201
Key of a shop country custom data was successfully created or updated.
application/json
Success
property name
null
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PUT/shops/{shopKey}/countries/{countryCode}/custom-data/{key}

Request samples

Response samples

201
Shop Country Custom Data:
Content type: application/json

Last updated: February 07, 2025

Provide Feedback