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

Headers

Accept: application/json
Content-Type: application/json
Access-Token: d6e6c8f963ddf84f972514e51fb4fe7d8eabd71ca69e2f8e29ea8d1deccd52d9$$E41h24KT0jyRErwSR2UA4SQ5nud+vYTJayb4eV86G1cMA/R4hj48cm2Q9A==--vGYOk7QZg0oUGd/m--qSNuJqPhNk3NCPtcK1ZJzw==
Api-Key: 3WGhKv9iHUxiMFGY

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