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

Headers

Accept: application/json
Content-Type: application/json
Access-Token: e7b91f6253bd752d90e3c623183d65db1e34fd3965ae3c711f195a155efde213$$hbIy4zf82XZzdpMFeQ9IR7Pv6YoMKpzVUn+0zWx3obqzn7jn3+7z9Ge6rQ==--mnjY5ypD9Gy3gAkU--eWfmw6p2aWxYND2D1U8utw==
Api-Key: 5F7336HZekEZzdJD

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