Update a customer
PUT/api/v3/customer/:customer_id
Setting the parent_customer_id
to null
will effectively disconnect the child customer from its parent.
Note that a customer's parent_customer_id
can only be updated if its parent has not made a payment for the customer.
Request
- application/json
Body
Parent customer ID #
Main contact ID #
External key value
Company/customer name
Language ID #
Default class tracking ID #
Admin/Worker ID #
Campaign/lead source ID #
Main contact e-mail address
Main contact name
Main contact first name
Main contact last name
Main contact phone number
Billing address line 1
Billing address line 2
Billing address line 3
Billing address city
Billing address state/province
Billing address postal code
Billing address country
Shipping address line 1
Shipping address line 2
Shipping address line 3
Shipping address city
Shipping address state
Shipping address postal code
Shipping address country
Custom field #1
Custom field #2
Custom field #3
Custom field #4
Custom field #5
Custom field #6
Custom field #7
Custom field #8
Custom field #9
Custom field #10
Custom field #11
Custom field #12
Custom field #13
Custom field #14
Custom field #15
Custom field #16
Custom field #17
Custom field #18
Custom field #19
Custom field #20
Default terms ID #
Flag to disable charging of taxes
Flag to disable dunning
Flag to disable late fees
Flag to disable processing fees
Delivery method for initial invoices ("email" or "print" for printed hard-copy)
Possible values: [print
, email
]
Delivery method for dunning/reminder invoices ("email" or "print" for printed hard-copy via Docsaway, Lob, etc.)
Possible values: [print
, email
]
Tax ID #/VAT #
A list of tags
Responses
- 202
- 400
- 401
Object was updated successfully
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
response
object
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": {
"id": 0
}
}
{
"code": 201,
"status": "OK",
"message": "",
"details": {},
"response": {
"id": 1234
}
}
Bad request
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 400,
"status": "Error",
"message": "Missing or invalid parameter.",
"details": {},
"response": false
}
Authentication error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 401,
"status": "Error",
"message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
"details": {},
"response": false
}