HT Partner API
  1. Clients
HT Partner API
  • Orders
    • Retrieve all orders
      GET
    • Order count by tag
      GET
    • Create order
      POST
  • Clients
    • Create client
      POST
    • Retrieve client
      GET
    • Update client
      PUT
    • Create setup intent
      POST
    • Create ephemeral key
      POST
  1. Clients

Update client

Developing
Staging
https://apis.hellotech.com
Staging
https://apis.hellotech.com
PUT
/api/partners/clients/{id}
Creates client account and associate it with the partner. If external_id is provided and the client already exists it will be updated.

Request

Authorization
Add parameter in header
Api-Key
Example:
Api-Key: ********************
Path Params

Body Params application/json

Example
{
    "external_id": "string",
    "first_name": "string",
    "last_name": "string",
    "email": "user@example.com",
    "full_address": "string",
    "phone": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://apis.hellotech.com/api/partners/clients/' \
--header 'Content-Type: application/json' \
--header 'Api-Key;' \
--data-raw '{
    "external_id": "string",
    "first_name": "string",
    "last_name": "string",
    "email": "user@example.com",
    "full_address": "string",
    "phone": "string"
}'

Responses

🟢200Client created successfully
application/json
Body

Example
{
    "id": 0,
    "external_id": "string",
    "first_name": "string",
    "last_name": "string",
    "email": "user@example.com",
    "phone": "string",
    "full_address": "string",
    "address": {
        "city": "string",
        "state": "string",
        "zip": "string",
        "street": "string"
    },
    "authentication_token": "string"
}
🟠400Error response
🟠404Error response
Modified at 2024-08-21 12:39:21
Previous
Retrieve client
Next
Create setup intent
Built with