riverty logo

Docs

Update Customer

Updates customer information

Path

PATCH /api/v3/customers/{customerNumber}/updateCustomer

Request Parameters

customerNumber required
string

Request Body

application/json

distributionType
string Enum: [Paper, Email, Sms]
How information (invoices, notices, etc.) will be distributed to customer.
email
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

Successful Request

Response Example

    
        {}
    

Request Example

    
        {
 "distributionType": "Email",
 "email": "astrid.svensson@example.com",
 "mobilePhone": "76543210"
}