/ar/customers/:id

Updates a customer.

🚧

This endpoint will return an error if the customer has invoices with pending payments.

Response Schema

  { 
    "id": string,
    "email": string,
    "name": string,
    "address": {
      "name": string,
      "address1": string,
      "address2": string | none,
      "city": string,
      "region": ISO3166Alpha2, // US state, territory, etc.
      "postalCode": string,
      "country": ISO3166Alpha2
    } | none, // Address is only present if an address was included in the request data
    "deletedAt": date-time | none,
  }

Language
Credentials
Header