sale/customer/get
POST
/sale/customer/getThis returns the list of customers available in the Equotix One account.
Request
The domain you are assigned to authenticate your Equotix One account.
The email address assigned to the user account in your Equotix One.
The unix timestamp used to sign this API request.
The calculated signature for this API request.
The customer ID to search for specifically.
Filter the list of customers by name OR email OR telephone.
Filter the list of customers by name.
Filter the list of customers by customer group ID.
Filter the list of customers by email.
Filter the list of customers by telephone.
Filter the list of customers by the card number.
Filter the list of customers modified after the specified date.
Filter the list of customers to include deleted records.
Page number of the results.
The key for the ordering of the results. Accepts "name", "customer_group_id", "email", "telephone", "reward", "date_added", "date_modified", "date_ordered", "annual_spend", "annual_spend_2"
The direction for the ordering of the results. Accepts "ASC", "DESC"
The number of results per page. Accepts 1 to 100.
{
"domain": "string",
"api_key": "string",
"auth_timestamp": 0,
"auth_signature": "string",
"customer_id": 0,
"search": "string",
"filter_name": "string",
"filter_customer_group_id": 0,
"filter_email": "string",
"filter_telephone": "string",
"filter_card_number": "string",
"filter_date_modified": "string",
"filter_deleted": true,
"page": 0,
"sort": "string",
"order": "string",
"limit": 0
}
Responses
Returns only if there is an error.
The total number of results available.
The list of customers.
The customer ID.
The customer first name.
The customer last name.
The customer first name and last name.
The customer company.
The customer group name.
The customer group ID.
The customer email.
The customer telephone.
The customer member card number.
The customer available reward points.
The date time the customer was created.
The date time the customer was last modified.
The date time the customer last purchased.
The customer annual spending this year.
The customer annual spending last year.
Indicates if the customer has been deleted. Only returned if filter_deleted is "1".
{
"error": [
"string"
],
"total": 0,
"customers": [
{
"customer_id": 0,
"firstname": "string",
"lastname": "string",
"name": "string",
"company": "string",
"customer_group": "string",
"customer_group_id": 0,
"email": "string",
"telephone": "string",
"card_number": "string",
"reward": 0,
"date_added": "string",
"date_modified": "string",
"date_ordered": "string",
"annual_spend": 0,
"annual_spend_2": 0,
"deleted": true
}
]
}