RCUR API docs
Back to RCURSupport
  • Getting Started
    • Authentication
    • Rate limits
  • Customers API
    • List customers
    • Get customer
    • Create customer
    • Update customer
    • Delete customer
  • Customer Mandates API
    • List mandates
    • Get mandate
    • Create mandate
    • Revoke mandate
  • Subscriptions API
    • List subscriptions
    • Get subscription
    • Create subscription
    • Cancel subscription
  • Links API
    • List links
    • Get link
    • Delete link
  • Follow-ups API
    • List follow-ups
    • Get follow-up
    • Update follow-up
  • Orders API
    • List orders
    • Get order
  • Products API
    • List products
    • Get product
    • Create product
    • Update product
    • Delete product
  • Payments API
    • List payments
    • Get payment
  • Organizations API
    • Me
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Customers API

Update customer

PATCH https://rcur.app/api/v2/customers/{id}

Path Parameters

Name
Type
Description

{id}*

String

The ID of the customer

Request Body

Name
Type
Description

first_name

String

The first name of the customer

last_name

String

The last name of the customer

email

String

The email address of the customer

number

String

An internal number or reference of the customer

phone

String

The phone number of the customer

organization_name

String

The organization name of the customer

address

String

The address of the customer, incl. street number

postal_code

String

The postal code of the customer

city

String

The city of the customer's address

country

String

vat_number

String

The VAT number of the customer

locale

String

The language of the customer. Possible options: en nl de fr es

{
    "id": "YJRQAMRQ6y",
    "number": "RC1234",
    "first_name": "John",
    "last_name": "Doe",
    "email": "jdoe@doeco.org",
    "phone": "+31612345678",
    "organization_name": "Doe Co.",
    "address": "Street name 123",
    "postal_code": "1234AB",
    "city": "City name",
    "country": "NL",
    "vat_number": "NL123456789B01",
    "locale": "nl",
    "mollie_customer_id": "cst_xDjnf3Kdx",
    "created_at": "2022-02-24 12:34:56"
}
{
    "status": 422,
    "error": "Could not update customer. Some fields contain invalid data",
    "fields": {
        "country": [
            "The country must be uppercase."
        ],
        "locale": [
            "The locale is invalid."
        ],
        "vat_number": [
            "The vat number is incorrect"
        ]
    }
}

Last updated 3 months ago

Was this helpful?

The country of the customer's address in format.

ISO 3166-1 alpha-2