FCHubFCHub.co

Customers

Customer records, addresses, purchase history, and account details.

Your customer database, fully exposed. Create, update, and query customer records — complete with addresses, WordPress user linking, and lifetime value tracking.

Endpoints

MethodEndpointDescription
GETList customersPaginated list with filtering and search
GETGet customer detailsDetailed info for a specific customer
GETGet customer addressesAll addresses for a customer
GETGet address select optionsAddress dropdown options
GETGet customer ordersCustomer orders in simplified format
GETGet customer statsCustomer statistics
GETGet attachable usersWordPress users available for linking
POSTCreate customerCreate a new customer record
POSTCreate customer addressAdd a new address
POSTAdd customer addressAlternative address creation endpoint
POSTAttach userLink a WordPress user to a customer
POSTDetach userUnlink a WordPress user from a customer
POSTSet primary addressSet an address as primary
POSTRecalculate customer LTVRecalculate lifetime value
POSTBulk customer actionsPerform bulk actions on customers
PUTUpdate customerUpdate customer information
PUTUpdate customer addressUpdate an existing address
PUTUpdate additional infoUpdate additional customer fields
DELETEDelete customer addressDelete a customer's address

On this page