riverty logo

Docs

Get Started Login

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
Max length: 255
Email. Required if distributionType is 'Email'.
mobilePhone
string
Max length: 20
Mobile phone. International format including country prefix. Required if distributionType is 'Sms'.

Responses

Successful Request

Request Example

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

Response Example

    
        {}