Every call except contacts.upsert and contacts.get names the customer by the CRM’s partyId. contacts.upsert returns it as id; when you only have your own id, an email or a Stripe customer id, resolve it.
Send one of these:
string
Your own id for the customer, as sent to contacts.upsert.
string
An address. It resolves only when exactly one contact holds it.
string
The customer’s id in your Stripe account.

Returns

string
No contact matches: not_found.