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

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 417b1a01fbdc987d982c753646c379851866e4e52bde1abc9037f017b5a3611b$$3o/oWGJGzJURQ/EVuM5+3R+I0uyJjuTtK/tVn7YaO5DWR3KpyeKiI02yCg==--yqA1o3Shk8zc6HIL--gMzeqGWfqAix/qe1a5ZtLw==
Api-Key: ew9wSgRcfvv75c7q

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