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/So48RtrY

Headers

Accept: application/json
Content-Type: application/json
Access-Token: c0abc7fd3200480dc4c83965984dc565df16c0fdbb491c424fcab2b64b2cffb6$$00hWG/XzsPWSH5Wsy8AztnfZRyU6zPGa344xFZhTgKrPsAVrUk8bOIj67A==--zBDgocOMnEPik3RV--/5GA04XljZpUkzYSlXwA1g==
Api-Key: EA9raG87hCn2pYFV

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"
      ]
    }
  }
}