Customers
Create customer
https://rcur.app/api/v2/customers
Requires your API key as Authorization: Bearer <key>. See authentication.
Request body
application/jsonCustomer data
-
numberstringCustomer number
-
first_namestring requiredFirst name
-
last_namestring requiredLast name
-
emailstring requiredEmail address
-
organization_namestringOrganization name
-
phonestringPhone number
-
addressstringStreet address
-
postal_codestringPostal code
-
citystringCity
-
countrystringISO 3166-1 alpha-2 country code
-
vat_numberstringVAT number
-
custom_fieldsobjectAnswers 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.
-
localestringOne of
nlenfrdees
Responses
200 Customer details Customer object
-
idstring required -
numberstring nullable -
first_namestring required -
last_namestring required -
emailstring required -
phonestring nullable -
organization_namestring nullable -
addressstring nullable -
postal_codestring nullable -
citystring nullable -
countrystring nullable -
vat_numberstring nullable -
localestring nullableOne of
nlenfrdees -
mollie_customer_idstring nullable -
created_atstring required -
custom_fieldsarray of CustomFieldValuesAnswers to custom fields. Only present when the organization has custom fields.
5 child attributes · CustomFieldValue
-
field_idstring nullableId of the custom field, empty when the field has been deleted since
-
labelstring requiredThe question as it was asked
-
typestring requiredOne of
texttextareanumberselectcheckboxdate -
valuestring nullable requiredThe answer: a boolean for a checkbox, a number for a number field, otherwise text (a date as YYYY-MM-DD)
-
displaystring requiredThe answer as readable text
-
201 Customer created Customer object
-
idstring required -
numberstring nullable -
first_namestring required -
last_namestring required -
emailstring required -
phonestring nullable -
organization_namestring nullable -
addressstring nullable -
postal_codestring nullable -
citystring nullable -
countrystring nullable -
vat_numberstring nullable -
localestring nullableOne of
nlenfrdees -
mollie_customer_idstring nullable -
created_atstring required -
custom_fieldsarray of CustomFieldValuesAnswers to custom fields. Only present when the organization has custom fields.
5 child attributes · CustomFieldValue
-
field_idstring nullableId of the custom field, empty when the field has been deleted since
-
labelstring requiredThe question as it was asked
-
typestring requiredOne of
texttextareanumberselectcheckboxdate -
valuestring nullable requiredThe answer: a boolean for a checkbox, a number for a number field, otherwise text (a date as YYYY-MM-DD)
-
displaystring requiredThe answer as readable text
-
422 Validation error ValidationError object
-
statusinteger required -
errorstring required -
fieldsobject