RCUR

Customers

Create customer

post https://rcur.app/api/v2/customers

Requires your API key as Authorization: Bearer <key>. See authentication.

Request body

application/json

Customer data

  • number string

    Customer number

  • first_name string required

    First name

  • last_name string required

    Last name

  • email string required

    Email address

  • organization_name string

    Organization name

  • phone string

    Phone number

  • address string

    Street address

  • postal_code string

    Postal code

  • city string

    City

  • country string

    ISO 3166-1 alpha-2 country code

  • vat_number string

    VAT number

  • custom_fields object

    Answers to custom fields, keyed by custom field id (see /custom-fields). A checkbox takes true or false, a number a number, a date YYYY-MM-DD. Send null or an empty string to clear an answer; fields you leave out stay as they are.

  • locale string

    One of nl en fr de es

Responses

200 Customer details Customer object
  • id string required
  • number string nullable
  • first_name string required
  • last_name string required
  • email string required
  • phone string nullable
  • organization_name string nullable
  • address string nullable
  • postal_code string nullable
  • city string nullable
  • country string nullable
  • vat_number string nullable
  • locale string nullable

    One of nl en fr de es

  • mollie_customer_id string nullable
  • created_at string required
  • custom_fields array of CustomFieldValues

    Answers to custom fields. Only present when the organization has custom fields.

    5 child attributes · CustomFieldValue
    • field_id string nullable

      Id of the custom field, empty when the field has been deleted since

    • label string required

      The question as it was asked

    • type string required

      One of text textarea number select checkbox date

    • value string nullable required

      The answer: a boolean for a checkbox, a number for a number field, otherwise text (a date as YYYY-MM-DD)

    • display string required

      The answer as readable text

201 Customer created Customer object
  • id string required
  • number string nullable
  • first_name string required
  • last_name string required
  • email string required
  • phone string nullable
  • organization_name string nullable
  • address string nullable
  • postal_code string nullable
  • city string nullable
  • country string nullable
  • vat_number string nullable
  • locale string nullable

    One of nl en fr de es

  • mollie_customer_id string nullable
  • created_at string required
  • custom_fields array of CustomFieldValues

    Answers to custom fields. Only present when the organization has custom fields.

    5 child attributes · CustomFieldValue
    • field_id string nullable

      Id of the custom field, empty when the field has been deleted since

    • label string required

      The question as it was asked

    • type string required

      One of text textarea number select checkbox date

    • value string nullable required

      The answer: a boolean for a checkbox, a number for a number field, otherwise text (a date as YYYY-MM-DD)

    • display string required

      The answer as readable text

422 Validation error ValidationError object
  • status integer required
  • error string required
  • fields object
Try it Send this request with your own API key

Requests run against the live data of the organization that owns the key. This POST request changes that data.