Customers
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/customers.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
The people and companies you sell to. A customer holds contacts, billing and shipping addresses, brand profiles, files, tags and a customer credit balance; sales orders, quotes and invoices name a customer.
Learn more: Customers · Create and sync customers
22 operations
- POSTCreate a customer
/Creates a customer, with its contacts and its billing and shipping addresses, in one request.v1/ api/ store/ {team_slug}/ customer - POSTCreate or update a customer by contact
/Finds a customer by one contact's email or phone and updates it, or creates a new customer with that contact.v1/ api/ store/ {team_slug}/ customer/ upsert - GETList customers
/Lists the team's customers, without deleted and system customers.v1/ api/ store/ {team_slug}/ customer - GETList a customer's tags
/Lists the tags on the customer, each withv1/ api/ store/ {team_slug}/ customer/ {hash_id}/ tag id,nameandcolor_hex. - GETList the users assigned to a customer
/Lists the team members assigned to the customer.v1/ api/ store/ {team_slug}/ customer/ {id}/ assign - POSTSearch customers with filters
/Lists customers that match every filter you send, sorted the way you ask.v1/ api/ store/ {team_slug}/ customer/ filter - GETGet a customer
/Returns one customer, deleted ones included (v1/ api/ store/ {team_slug}/ customer/ {hash_id} trashed), with itscontacts(deleted ones included),addresses(current and old copies),customer_profiles,assigned_users,tagsandmedia. - GETGet a customer's order counts and recent activity
/Counts the customer's published sales orders, quotes and invoices, whatever their status (completed ones included), and lists its 10 newest sales orders and quotes.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ activity_summary - GETGet the QuickBooks customer linked to a customer
/Reads the QuickBooks Online customer linked to this YoPrint customer, for the QuickBooks connectionv1/ api/ store/ {team_slug}/ customer/ {hash_id}/ external_id/ {id} {id}. - PUTUpdate a customer
/Changes the customer's own fields.v1/ api/ store/ {team_slug}/ customer/ {hash_id} - PATCHUpdate a customer (PATCH)
/Changes the customer's own fields.v1/ api/ store/ {team_slug}/ customer/ {hash_id} - PATCHSet a custom Customer Portal ID
/Sets the Customer Portal ID shown for this customer (v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ customer_portal_token_override display_customer_portal_id) to a value you choose, and returns the customer withcontacts. - PUTLink a customer to a QuickBooks customer
/Links this YoPrint customer to an existing QuickBooks Online customer, so YoPrint syncs it to that QuickBooks customer.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ external_id/ {id} - PATCHRecalculate a customer's totals
/Recalculates the customer'sv1/ api/ store/ {team_slug}/ customer/ {hash_id}/ recount last_ordered_date,ordered_amount,unpaid_amount,deposit_due_amount,overdue_amountandquote_amountfrom its orders now, and returns the customer. - PUTTag a customer
/Puts one of your team's tags on the customer and returns the customer's tags.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ tag/ attach - PUTAssign or unassign a user on a customer
/Adds a team member to the customer's assigned users (v1/ api/ store/ {team_slug}/ customer/ {id}/ assign action: assign) or removes one (action: unassign), and returns the assigned users. - DELETEDelete a customer
/Deletes a customer.v1/ api/ store/ {team_slug}/ customer/ {hash_id} - DELETERemove a custom Customer Portal ID
/Clears the custom Customer Portal ID, so the generated one is shown again, and returns the customer withv1/ api/ store/ {team_slug}/ customer/ {hash_id}/ customer_portal_token_override contacts. - DELETEUnlink a customer from QuickBooks
/Removes the link between this customer and its QuickBooks Online customer for the connectionv1/ api/ store/ {team_slug}/ customer/ {hash_id}/ external_id/ {id} {id}. - PUTRemove a tag from a customer
/Takes one tag off the customer and returns the customer's tags.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ tag/ detach - PATCHRemove every tag from a customer
/Takes all tags off the customer and answers with an empty list.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ tag/ detach_all - PATCHRestore a deleted customer
/Brings back a deleted customer.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ restore
Legacy and internal (1)
Prefer the operations above. Legacy operations name their replacement; internal ones are built for YoPrint's own apps.
- PATCHGet a customer portal sign-in tokenInternal
/This is a credential: don't log or share it.v1/ api/ store/ {team_slug}/ customer/ {hash_id}/ token_exchange
