Customers
put/customers/{uuid}

Request

  • Base URL
    https://your-subdomain.truust.io/2.0
  • URL
    https://your-subdomain.truust.io/2.0/customers/{uuid}
  • Auth
    HTTP bearer

Path parameters

uuidstring required

Customer UUID.

Request body

namestring
first_namestring
last_namestring
emailstring email
prefixstring

Phone country prefix (e.g. +34).

phonestring
localestring

Customer's preferred locale.

tagstring
metadataobject

Example request

{
  "name": "Name Test",
  "email": "john@example.com"
}

Response

Updated customer

idinteger
selfstring
uuidstring
typestring nullable
namestring nullable
first_namestring nullable
last_namestring nullable
emailstring email nullable
prefixstring nullable
phonestring nullable
tagstring nullable
metadataobject nullable
created_atstring date-time nullable
connectionsConnections

Hypermedia links to related resources.

Example response

{
  "self": "/2.0/customers/abc123",
  "prefix": "+34"
}

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property