- Backhub Api
- General
- Accounting
- Apps
- Settings
- 🥷 Enterprise
Create
POST
https://api.backhub.dev/accounting/contacts
Last modified:2024-10-09 00:11:52
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic *****************
Body Params application/json
name
string
required
phone
string
required
email
string
required
taxId
string
required
taxOffice
string
required
countries
string
required
states
string
required
cities
string
required
address
string
required
isCustomer
boolean
required
person
boolean
required
archived
boolean
required
ibans
array[string]
required
contactPeoples
array[object (contactPeoples) {4}]
required
name
string
required
phone
string
optional
email
string <email>
optional
info
string
optional
variables
array[object (generalVariables) {2}]
required
key
string
required
value
string | integer | boolean | array | object | number | null
required
Example
{
"name": "Murat Duran",
"phone": "+905453493838",
"email": "murat@muhasip.com.tr",
"taxId": "11111111111",
"taxOffice": "Urla",
"countries": "Türkiye",
"states": "İzmir",
"cities": "Urla",
"address": "Açık Adres",
"isCustomer": true,
"person": false,
"archived": false,
"ibans": [
"TR99999999",
"TR123123213"
],
"contactPeoples": [
{
"name": "Adı Soyadı",
"phone": "Telefon Numarası",
"email": "Mail Adresi",
"info": "Görev / Bilgi"
}
],
"variables": [
{
"key": "acenta",
"value": "Acenta Adı"
},
{
"key": "crmID",
"value": "CRM IDM"
}
]
}
Responses
🟢200response
application/json
Body
status
boolean
required
result
object
required
companiesId
string
required
name
string
required
employees
boolean
required
contactsType
string
required
phone
string
required
email
string
required
taxId
string
required
taxOffice
string
required
countriesCode
string
required
statesCode
null
required
countries
string
required
states
string
required
cities
string
required
address
string
required
isAbroad
boolean
required
isCustomer
boolean
required
person
boolean
required
default
boolean
required
archived
boolean
required
ibans
array[string]
required
contactPeoples
array [object {6}]
required
_id
string
required
createdDate
string
required
variables
array[string]
required
__v
integer
required
Example
{
"status": true,
"result": {
"companiesId": "65670ecc696d1cfa8b9ed5dd",
"name": "Murat Duran",
"employees": false,
"contactsType": "company",
"phone": "+905453493838",
"email": "murat@muhasip.com.tr",
"taxId": "11111111111",
"taxOffice": "Urla",
"countriesCode": "TR",
"statesCode": null,
"countries": "Türkiye",
"states": "İzmir",
"cities": "Urla",
"address": "Açık Adres",
"isAbroad": false,
"isCustomer": true,
"person": false,
"default": false,
"archived": false,
"ibans": [
"TR99999999"
],
"contactPeoples": [
{
"name": "Adı Soyadı",
"phone": "Telefon Numarası",
"email": "Mail Adresi",
"info": "Görev / Bilgi",
"_id": "658309df10b0341e34941f03",
"variables": []
}
],
"_id": "658309df10b0341e34941f02",
"createdDate": "2023-12-20T15:35:59.898Z",
"variables": [],
"__v": 0
}
}
Modified at 2024-10-09 00:11:52