Skip to Main Content
Riverty Docs
  • Get Started
  • Login
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
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

  • 200 OK
  • 401 Authorization has been denied for this request.
  • 413 Request body too large.
  • 429 Too many requests.
  • 500 Internal server error.
Successful Request

Request Example

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

Response Example

    
        {}