Manage customer profiles and assign loyalty ranks.
list of customers
Get list of customers with filters
Request Body
limitnumber · int64The limit of the results return - can be between 0 and 100
Example: 15Default: 10pagenumber · int64The page/index of the results related to the result number
Example: 2Default: 0searchstringSearch the customers by name or email - case sensitive
Example: Jhondirectionstring · enumThe direction of return results by the customer creation date
Enum values:descasc
Responses
customer_idnumber · int64Customer unique id - use to delete/get/edit customer
Example: 123customer_group_idnumber · int64Customer group id
Example: 23namestringFull customer name
Example: Jhon DoetelephonestringCustomer`s phone
Example: +12025550123date_addedstring · dateDate customer added or registered
addressesobject[]
Customer create
Create single customer
Request Body
firstnamestringCustomer first name
Example: JhonlastnamestringCustomer last name
Example: DoetelephonestringCustomers telephone
Example: +12025550123passwordstring · writeOnlyPassword that will be related to this customer to login to the store
confirmstring · writeOnlyPassword confirmation
responder_listnumber · int64Responder list id for subscription to newsletter
Example: 3221addressobjectObject of the main address will be related to the new customer
newsletterinteger · enumSubscribe to or unsubscribe from the newsletter
Enum values:01
Responses
Success
Customer details
Get customer details by its id
path Parameters
customer_idinteger · requiredCustomer id
Responses
In case of succes return single customer`s details
customer_idnumber · int64Customer unique id - use to delete/get/edit customer
Example: 123customer_group_idnumber · int64Customer group id
Example: 23namestringFull customer name
Example: Jhon DoetelephonestringCustomer`s phone
Example: +12025550123date_addedstring · dateDate customer added or registered
addressesobject[]
list of customers
Edit exist customer
path Parameters
customer_idinteger · requiredCustomer id
Request Body
firstnamestringCustomer first name
Example: JhonlastnamestringCustomer last name
Example: DoetelephonestringCustomers telephone
Example: +12025550123passwordstring · writeOnlyPassword that will be related to this customer to login to the store (If you dont want to change password dont pass this and confirm field)
confirmstring · writeOnlyPassword confirmation
addressobjectObject of the main address will be related to the new customer
newsletterinteger · enumSubscribe to or unsubscribe from the newsletter
Enum values:01
Responses
Success
Set customer point rank
Requires API permission customersEdit, an active points app, and the points system enabled in store settings. The customer and enabled rank must belong to the authenticated store. Adjusts the non-expired reward total to the selected rank threshold; the spendable customer points balance is unchanged. Saving the currently matching rank does not add a reward. Current rank is the highest enabled rank whose points threshold is no greater than the reward total, including zero. See Points guide.
path Parameters
customer_idinteger · min: 1 · required
Request Body
point_rank_idinteger · min: 1 · requiredAn enabled rank belonging to the authenticated store.
Example: 123
Responses
Customer point rank updated successfully
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49