Skip to main content
PATCH
/
meetings
/
{id}
Update an existing Meeting
curl --request PATCH \
  --url https://commerce.driv.ly/api/meetings/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "met_3kd93d3j93d2",
  "time": "2024-03-12T10:00:00Z",
  "note": "Discuss annual contract terms",
  "email": "contact@email.com",
  "salesRep": {
    "id": "rep_3kd93d3j93d2",
    "emails": [
      "rep@email.com"
    ],
    "lastName": "Smith",
    "firstName": "John",
    "templates": [
      "Template ID"
    ],
    "creditBands": [
      "Good",
      "Excellent"
    ],
    "primaryEmail": "rep@email.com",
    "phoneNumbers": [
      "555-0182"
    ],
    "primaryPhoneNumber": "555-0182",
    "isAcceptingNewLeads": true
  },
  "phoneNumber": "555-0192"
}'
{
  "data": {
    "id": "met_3kd93d3j93d2",
    "time": "2024-03-12T10:00:00Z",
    "note": "Discuss annual contract terms",
    "email": "contact@email.com",
    "salesRep": {
      "id": "rep_3kd93d3j93d2",
      "emails": [
        "rep@email.com"
      ],
      "lastName": "Smith",
      "firstName": "John",
      "templates": [
        "Template ID"
      ],
      "creditBands": [
        "Good",
        "Excellent"
      ],
      "primaryEmail": "rep@email.com",
      "phoneNumbers": [
        "555-0182"
      ],
      "primaryPhoneNumber": "555-0182",
      "isAcceptingNewLeads": true
    },
    "phoneNumber": "555-0192"
  },
  "success": true
}

Path Parameters

id
string
required

Meeting is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Meeting is uniquely identified by id

phoneNumber
string

Phone Number is left for Meeting

email
string<idn-email>

Email is left for Meeting

time
string<date-time>

Meeting is scheduled for Time

salesRep

Meeting is with Sales Rep

note
string

Meeting has Note

Response

Meeting Updated

data
object
Examples:
{
"id": "met_3kd93d3j93d2",
"time": "2024-03-12T10:00:00Z",
"note": "Discuss annual contract terms",
"email": "contact@email.com",
"salesRep": {
"id": "rep_3kd93d3j93d2",
"emails": ["rep@email.com"],
"lastName": "Smith",
"firstName": "John",
"templates": ["Template ID"],
"creditBands": ["Good", "Excellent"],
"primaryEmail": "rep@email.com",
"phoneNumbers": ["555-0182"],
"primaryPhoneNumber": "555-0182",
"isAcceptingNewLeads": true
},
"phoneNumber": "555-0192"
}
success
boolean
I