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

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 3721faa0a70202f06546714dab298bc14612a92e71a3041ef10e5c73b8d7eb4d$$wr+hbFsnz+7iv65n2KYlrXJxSzLtYfPxE3n/mjbh03bEt/ZE+E4MgXYh1g==--vrS1ux3ZzfohD8Qi--uOOWuDMajPRduFxKGi4wYw==
Api-Key: 4oSRnrFf12CBggwv

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