Update a customer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Database ID of the resource

Body Params
string

A unique number to identify the customer.

string

Name of the customer.

string

Registration number of customer's company.

string

Tax/VAT number of customer's company.

integer

Status of customer. Statuses are configured in MRPeasy -> Settings -> System settings -> Customer statuses.

number

Custom VAT rate of the customer.

number

Default discount rate of the customer.

integer

Pricelist for this customer.

integer | null

Sales person who handles that customer.

integer | null

Language of documents that are printed for this customer.

number

A default payment period in days for invoices to this customer.

integer
enum

Payment period type.

  • 0 - the invoice date
  • 10 - the end of the invoice month
Allowed:
integer

Date and time when this customer was created.

integer | null

Date and time when this customer should be contacted.

integer | null

Currency of the customer.

number

Trade credit limit in customer's currency.

contact_data
array of objects

Array of contact details.

Full list of contact details.

If provided, existing contact details are replaced by this list.
If omitted, the API currently treats it as an empty list and existing contact details are removed.

contact_data
Responses
202

Customer updated

404

Resource not found

429

Rate limited - another request is running

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json