My Products
Help
jborg
CONTRIBUTOR *

How can I create a customer without an email address?

by jborg

I'm trying to create a new customer without an email address but the API does not let me as long as "Send dunning letters by email" is enabled on the customer class.

 

Request:

{
"name": {"value": "test"},
"sendStatementsByEmail": {"value": false},
"sendInvoicesByEmail": {"value": false}
}

Response

{
"message": "VismaId: 72dc4122-b967-475f-81fc-db904744d0fd. Error inserting the customer. Error: Inserting 'Customer' record raised at least one error. Please review the errors.\r\nThe email address must be specified if 'Send dunning letters by email' is activated.\r\n"
}

It seems like there should be a "sendDunningLettersByEmail" option in the API but I can't seem to find it in the swagger spec.

 

Is there any way to create specific customers without email addresses without having to disable dunning letters in the customer class?

0 REPLIES 0