cURL
curl --request POST \ --url https://commerce.driv.ly/api/meetings \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "updatedAt": "<string>", "createdAt": "<string>", "name": "<string>", "lead": 123, "email": "<string>", "phone": "<string>", "meetingTime": "<string>", "comments": "<string>", "createdBy": 123, "lastModifiedBy": 123 } '
{ "doc": { "updatedAt": "<string>", "createdAt": "<string>", "name": "<string>", "lead": 123, "email": "<string>", "phone": "<string>", "meetingTime": "<string>", "comments": "<string>", "createdBy": 123, "lastModifiedBy": 123 }, "message": "<string>" }
Create a new Meeting
Usage with the Drivly SDK
import { SDK } from '@drivly/commerce' import type { meetings } from '@drivly/commerce' const sdk = new SDK(...) const meetings = await sdk.meetings.create(data: meetings): Promise<meetings>
number of levels to automatically populate relationships and uploads
retrieves document(s) in a specific locale
specifies a fallback locale if no locale value exists
ok
Show child attributes