Skip to main content
POST
/
coa
/
api
/
vendor
/
{id}
/
contacts
Create Vendor Contact
curl --request POST \
  --url https://api.meetcampfire.com/coa/api/vendor/{id}/contacts \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "mobile_number": "<string>"
}'
{
  "id": 123,
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "mobile_number": "<string>",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "is_deleted": false,
  "deleted_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

name
string | null
first_name
string | null
Maximum length: 250
last_name
string | null
Maximum length: 250
email
string<email> | null
Maximum length: 250
phone_number
string | null
Maximum length: 250
mobile_number
string | null
Maximum length: 250

Response

201 - application/json
id
integer
required
last_modified_at
string<date-time>
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
name
string | null
first_name
string | null
Maximum length: 250
last_name
string | null
Maximum length: 250
email
string<email> | null
Maximum length: 250
phone_number
string | null
Maximum length: 250
mobile_number
string | null
Maximum length: 250
I