Customers
Create or update a customer by your own id
Needs the customers:write scope, or a full-access key. About scopes
PUT
/
api/v1/customers/by-external-id/{externalId}Authorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalemailRequiredstring
Format:
"email"namestring
Maximum length:
200currencystring
Value in:
"USD" | "AUD" | "CAD" | "GBP" | "EUR" | "INR" | "NPR"tax_idstring
Maximum length:
100billing_addressobject
country (ISO alpha-2) and state drive tax selection.
metadataobject
Path Parameters
externalIdRequiredstring
Minimum length:
1Maximum length: 200Updated.