organization
post/organization/{id}/contact

Request

  • Base URL: https://api.abby.fr
  • URL: https://api.abby.fr/organization/{id}/contact
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

firstnamestring required
lastnamestring required
phonestring
jobTitlestring
emailsstring[]
notesstring

Response

idstring required

Contact ID

emailsstring[]

Contact email addresses

defaultContactboolean

Whether this is the default contact

createdAtnumber required

Contact creation timestamp

archivedAtnumber

Contact archival timestamp

hasBillingsboolean required

Whether the contact has billings

testboolean required

Whether this is a test contact

phonestring

Contact phone number

firstnamestring required

Contact first name

lastnamestring required

Contact last name

jobTitlestring

Contact job title

hasTiersPrestationboolean required

Whether the contact has third-party services

notesstring

Additional notes about the contact

language'fr' | 'en' | 'de' | 'it' | 'nl' | 'pt' | 'es'
currency'EUR' | 'GBP' | 'CHF' | 'USD' | 'AUD' | 'CAD' | 'JPY' | 'CNH' | 'CZK' | 'DKK' | 'BGN' | 'PLN' | 'HUF' | 'RON' | 'SEK' | 'NOK' | 'TRY' | 'BRL' | 'HKD' | 'ILS' | 'INR' | 'KRW' | 'MXN' | 'XPF' | 'XOF' | 'XAF'

Preferred currency of the customer

paymentMethodsPaymentMethod[]

Accepted payment methods

Example response

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "emails": [
    "john@example.com",
    "johndoe@company.com"
  ],
  "organization": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Acme Corp",
    "archivedAt": 1617187200
  },
  "defaultContact": true,
  "createdAt": 1617187200,
  "archivedAt": 1617187200,
  "hasBillings": true,
  "phone": "+33123456789",
  "firstname": "John",
  "lastname": "Doe",
  "billingAddress": {
    "address": "123 Main Street",
    "complement": "Apt 4B",
    "city": "New York",
    "zipCode": "10001",
    "state": "NY"
  },
  "deliveryAddress": {
    "address": "123 Main Street",
    "complement": "Apt 4B",
    "city": "New York",
    "zipCode": "10001",
    "state": "NY"
  },
  "jobTitle": "Software Engineer",
  "bankInformations": {
    "iban": "DE89370400440532013000",
    "bic": "DEUTDEFF",
    "holder": "John Doe"
  },
  "notes": "Prefers email communication",
  "paymentMethods": [
    "cash",
    "credit_card"
  ]
}

Changes

    • breaking

      the response's property type changed from no type to array for status

    • warning

      added the new XAF enum value to the //// response property for the response status

    • warning

      added the new XOF enum value to the //// response property for the response status

    • warning

      added the new XPF enum value to the //// response property for the response status

    • info

      api operation id OrganizationController-createOrganizationContact removed and replaced with OrganizationController_createOrganizationContact

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    This list may be incomplete.