PUT
/
clients
/
{id}
/
curl --request PUT \
  --url https://gate.chip-in.asia/api/v1/clients/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "bank_account": "<string>",
  "bank_code": "<string>",
  "email": "jsmith@example.com",
  "phone": "+44 45643564564",
  "full_name": "<string>",
  "personal_code": "<string>",
  "street_address": "<string>",
  "country": "<string>",
  "city": "<string>",
  "zip_code": "<string>",
  "state": "<string>",
  "shipping_street_address": "<string>",
  "shipping_country": "<string>",
  "shipping_city": "<string>",
  "shipping_zip_code": "<string>",
  "shipping_state": "<string>",
  "cc": [
    "jsmith@example.com"
  ],
  "bcc": [
    "jsmith@example.com"
  ],
  "legal_name": "<string>",
  "brand_name": "<string>",
  "registration_number": "<string>",
  "tax_number": "<string>"
}'
{
  "type": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_on": 1619740800,
  "updated_on": 1619740800,
  "bank_account": "<string>",
  "bank_code": "<string>",
  "email": "jsmith@example.com",
  "phone": "+44 45643564564",
  "full_name": "<string>",
  "personal_code": "<string>",
  "street_address": "<string>",
  "country": "<string>",
  "city": "<string>",
  "zip_code": "<string>",
  "state": "<string>",
  "shipping_street_address": "<string>",
  "shipping_country": "<string>",
  "shipping_city": "<string>",
  "shipping_zip_code": "<string>",
  "shipping_state": "<string>",
  "cc": [
    "jsmith@example.com"
  ],
  "bcc": [
    "jsmith@example.com"
  ],
  "legal_name": "<string>",
  "brand_name": "<string>",
  "registration_number": "<string>",
  "tax_number": "<string>"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Object ID (UUID)

Body

application/json
bank_account
string

Bank account number (e.g. IBAN)

bank_code
string

SWIFT/BIC code of the bank

email
string
required

Email address

phone
string

Phone number in the <country_code> <number> format

full_name
string

Name and surname of client

personal_code
string

Personal identification code of client

street_address
string

Street house number and flat address where applicable

country
string

Country code in the ISO 3166-1 alpha-2 format (e.g. 'GB')

city
string

City name

zip_code
string

ZIP or postal code

state
string

State code

shipping_street_address
string

Street house number and flat address where applicable

shipping_country
string

Country code in the ISO 3166-1 alpha-2 format (e.g. 'GB')

shipping_city
string

City name

shipping_zip_code
string

ZIP or postal code

shipping_state
string

State code

cc
string[]

Email addresses to receive a carbon copy of all notification emails

bcc
string[]

Email addresses to receive a blind carbon copy of all notification emails

legal_name
string

Legal name of company

brand_name
string

Company brand name

registration_number
string

Registration number of company

tax_number
string

Tax payer registration number

Response

200 - application/json
type
string

Object type identifier

id
string
created_on
integer

Object creation time

updated_on
integer

Object last modification time

bank_account
string

Bank account number (e.g. IBAN)

bank_code
string

SWIFT/BIC code of the bank

email
string
required

Email address

phone
string

Phone number in the <country_code> <number> format

full_name
string

Name and surname of client

personal_code
string

Personal identification code of client

street_address
string

Street house number and flat address where applicable

country
string

Country code in the ISO 3166-1 alpha-2 format (e.g. 'GB')

city
string

City name

zip_code
string

ZIP or postal code

state
string

State code

shipping_street_address
string

Street house number and flat address where applicable

shipping_country
string

Country code in the ISO 3166-1 alpha-2 format (e.g. 'GB')

shipping_city
string

City name

shipping_zip_code
string

ZIP or postal code

shipping_state
string

State code

cc
string[]

Email addresses to receive a carbon copy of all notification emails

bcc
string[]

Email addresses to receive a blind carbon copy of all notification emails

legal_name
string

Legal name of company

brand_name
string

Company brand name

registration_number
string

Registration number of company

tax_number
string

Tax payer registration number