PUT /v1/customers
PUT
/v1/customersAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnamestringrequiredmin length 1
defaultCurrencystringrequiredcustomerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexternalCustomerRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullemailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
customerIdstringrequiredmin length 1
namestringrequiredmin length 1
defaultCurrencystringrequiredmin length 1
metadataobjectrequiredcreatedAtstringrequiredmin length 1
externalCustomerRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullemailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullarchivedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreatedbooleanrequiredrequestIdstringrequiredmin length 1