sale/customer/edit
POST
/sale/customer/editThis edits a customer in the Equotix One account.
Request
Body Params application/json
domain
string
required
The domain you are assigned to authenticate your Equotix One account.
api_key
string
required
The email address assigned to the user account in your Equotix One.
auth_timestamp
integer
required
The unix timestamp used to sign this API request.
auth_signature
string
required
The calculated signature for this API request.
customer_id
integer
required
The customer ID to edit.
firstname
string
required
The customer first name.
lastname
string
required
The customer last name.
company
string
required
The customer company.
customer_group_id
integer
required
The customer group ID.
email
string
required
The customer email.
telephone
string
required
The customer telephone.
card_number
string
required
The customer member card number.
Example
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"customer_id": 0,
"firstname": "string",
"lastname": "string",
"company": "string",
"customer_group_id": 0,
"email": "string",
"telephone": "string",
"card_number": "string"
}
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
array[string]
optional
Returns only if there is an error.
success
boolean
optional
Returns only if there is no error.
customer_id
integer
optional
The edited customer ID.
Example
{
"error": [
"string"
],
"success": true,
"customer_id": 0
}
Last modified: 4 months ago