docs
  1. Admin Api
  2. Resources
  3. Customer
  4. Update Customer Reference Key

Update customer reference key

Update customer reference key

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
shopKey
  • required
string
Example:
ms
countryCode
  • required
string
Example:
de
customerId
  • required
integer

Request body

required
ParameterDetails
referenceKey
  • required
  • MinLength: 1
  • MaxLength: 100
string

Responses

200
Customer reference key was successfully updated.
application/json
Success
id
integer
referenceKey
string
firstName
string
lastName
string
gender
string
birthDate
string
email
string
phone
string
publicKey
string
title
string
type
string
groups
Array of string
Array of object
object
object
Array of object
legacyCustomData
null
createdAt
string
Example:
2021-09-23T11%3A30%3A58%2B00%3A00
updatedAt
string
Example:
2021-09-23T11%3A30%3A58%2B00%3A00
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PUT/shops/{shopKey}/countries/{countryCode}/customers/{customerId}/reference-key

Request samples

Response samples

200
Customer:
Content type: application/json
Provide Feedback