PATCH /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}
PATCH
/v1/merchant-accounts/{merchantAccountId}/customers/{customerId}Authorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
merchantAccountIdstringrequiredmin length 1
customerIdstringrequiredmin 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
nullnamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullemailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullphonestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductionmerchantAccountIdstringrequiredmin length 1
externalCustomerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullemailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullphonestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullrequestIdstringrequiredmin length 1