DevelopersAPIReferencecustomers
List external ids
List the external ids linked to a customer. These are the identifiers this customer carries in connected systems (a Stripe customer id, a HubSpot company…
Authentication
Checking whether you're signed in…
GET
header
Authorization<token>A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.
companyId*stringLength
1 <= lengthcustomerId*stringLength
1 <= lengthExternal IDs for the customer
application/json- response
externalIds*array<string>curl -X GET 'https://api.saasflow.com/companies/string/customers/string/external-ids'{ "externalIds": [ "string" ]}Merge
Merge duplicate customers into one, in a single transaction. Creates the customer described by newCustomer, repoints the transaction categorizations…
Update external id
Replace a customer's external ids with the list you send. This is a full replacement, not a merge, so include the ids you want to keep.