Customers

Update a customer

Changed on

Update an existing customer

post/ar/customers/{customerId}

Request

  • Base URL
    https://api.mercury.com/api/v1
  • URL
    https://api.mercury.com/api/v1/ar/customers/{customerId}
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

customerIdstring uuid required

The customer who will receive the invoice. Use the /api/v1/ar/customers endpoint to list your customers and find the corresponding id, or create a new customer first.

Request body

emailstring required
namestring required

The name of the customer.

resendOpenInvoicesboolean required

Open invoices for the customer will be resent with updated data when this is true.

Changes

    • warning

      removed subschema #2 from the request property allOf list

    • warning

      removed subschema #2 from the ///// request property allOf list

    • warning

      removed subschema #2 from the ///// request property allOf list

    • warning

      removed subschema #2 from the request property allOf list

    • info

      media type application/json was changed to application/json;charset=utf-8 for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the ///// response property allOf list for the response status

    • info

      removed subschema #2 from the ///// response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status

    • info

      removed subschema #2 from the response property allOf list for the response status