API reference · Area
Customers
Find and manage customers and their addresses.
Required permissionsCreate and change customersExport customer dataRead customersRead quotesRead orders
Find records
GET/companiesList B2B companiesReturns up to 25 Shopify B2B companies whose names start with the words in q.Create and change customersGET/customer-data-requestsList customer data requestsThe customer data requests Shopify sent for this store (a customer asking for their data), newest first, up to 100, as Settings › Account and data ›…Export customer dataGET/customer-data-requests/{id}/exportOpen a customer’s data fileA ready file’s name and size and a link to download it through the API (GET /customer-data-requests/{id}/export/file), bound to this key: it opens…Export customer dataGET/customer-data-requests/{id}/export/fileDownload a customer’s data fileA request’s file, from the url GET /customer-data-requests/{id}/export answered: no Authorization header, the link’s t is the credential.Any API keyGET/customersList customersReturns customers with the most recently changed first.Read customersGET/customers/{id}Get a customerReturns a customer’s details.Read customersGET/customers/{id}/addressesList a customer’s addressesReturns up to 50 saved customer addresses to use as a shipping address.Read customersGET/customers/{id}/documentsList a customer’s documentsReturns the customer’s accessible OrderPilot quotes, sales orders and drafts, or their Shopify orders, including orders placed outside OrderPilot…Read quotes or ordersAndRead customersGET/customers/{id}/profileGet a customer’s profileReturns the customer’s Shopify profile: note, tags, tax exemption, resale certificates, B2B company, your store’s customer fields and values, and…Read customers
Create records
Record actions
POST/customer-data-requests/{id}/exportPrepare a customer’s data filePrepare a request’s file, as Settings › Account and data › Customer data’ Prepare file does: everything OrderPilot holds about the customer, as JSON…Export customer dataPOST/customers/{id}/addressesAdd an addressSaves a new address for a customer and returns their address list.Create and change customersPOST/customers/{id}/notesAdd a note to a customerAdd a note to the customer, as Lookup’s Add note does: a dated line signed with the caller’s name (an API key as “API key: <name>”) on top of the…Create and change customersPOST/customers/{id}/resale-certificatesUpload a resale certificatePut a customer’s resale certificate on file for one US state, as Customers › Tax & resale does: send multipart/form-data with the certificate in a…Create and change customersPOST/customers/{id}/resale-certificates/from-urlAdd a resale certificate from a URLPut a customer’s resale certificate on file for one US state, as Customers › Tax & resale does: fetched from a public https address (not a private or…Create and change customers
Update or delete records
PATCH/customers/{id}Change a customerUpdates the supplied customer details in Shopify: name, email, phone, note, tax exemption, resale certificate expiration or removal, B2B company and…Create and change customersPATCH/customers/{id}/addressesChange an addressUpdates the customer’s saved address identified by id in the request body and returns their address list.Create and change customersDELETE/customers/{id}/addresses/{addressId}Remove an addressRemoves a saved address from the customer’s Shopify address book and returns the remaining addresses.Create and change customers
Guides for your integration
Connect with an API keyCreate a key, choose its permissions and include it in requests.Read pages and sync changesUse
next_cursor and updated_since, and track quotes that become orders.Retry without duplicate changesUse Idempotency-Key, retrieve responses for 24 hours and handle 409 OUTCOME_UNKNOWN.Receive updates through webhooksTrack changes to sales, customers, payments, Inbox messages, purchase orders and warranty claims.Stuck?

Send us your request, the response and the time you sent it. Remove your key before sharing.
Email support[email protected]