Customers

with a duplicate external uid

Endpoint

PUT /api/v2/customers/:uid

Parameters

Name Description type
uid required Customer uid string
customer[external_uid] External customer identifier string

Request

Route

PUT /api/v2/customers/zeFQUD49

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 1758688f0b179147f9f01cacbf43e375ef0b9550148cafc4e0f7bffedc8ffe77$$tJtr9SCS2jcTx4oJ1xyu6DtWV5EKG14qDjoJmrL97Hvq9dFxIjexLhSNGA==--iyFWWRQp/KPfpSNx--ue8qGbKjPv6PbiIsYlX5aw==
Api-Key: dKtyd9DD8nNJwade

Body

{
  "customer": {
    "external_uid": "Customer #456"
  }
}

Response

Status

400

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "success": false,
  "errors": {
    "messages": [
      "External uid must be unique for this team"
    ],
    "messages_by_field": {
      "external_uid": [
        "must be unique for this team"
      ]
    }
  }
}