Update customer
PATH:
/api/v3/customers/{customerNumber}/updateCustomer
PATH PARAMETERS:
customerNumber required | string |
REQUEST BODY SCHEMA:
distributionType | string Enum:PaperEmailSms Specifies how information (invoices, notices, etc.) will be distributed to customer. |
string <= 255 characters Email. Required if distributionType is 'Email'. | |
mobilePhone | string <= 20 characters Mobile phone. International format including country prefix. Required if distributionType is 'Sms'. |
RESPONSES:
RESPONSE SCHEMA:
- { }
RESPONSE SCHEMA:
type | string Enum:BusinessErrorTechnicalErrorNotificationMessage Message type |
code | string <= 100 characters Confirmation or error code |
message | string <= 4096 characters Message content |
customerFacingMessage | string <= 4096 characters Message to display to customer |
actionCode | string Enum:UnavailableAskConsumerToConfirmAskConsumerToReEnterDataOfferSecurePaymentMethodsRequiresSsnAskConsumerToIdentify Possible next action to make |
fieldReference | string <= 100 characters Reference to field that caused an error |
Path
/api/v3/customers/{customerNumber}/updateCustomer
Request samples
- {
- "distributionType": "string",
- "email": "string",
- "mobilePhone": "string"
Response samples
- {
- {
- "type": "string",
- "code": "string",
- "message": "string",
- "customerFacingMessage": "string",
- "actionCode": "string",
- "fieldReference": "string"