cURL
curl --request DELETE \ --url https://commerce.driv.ly/api/calls/{id} \ --header 'Authorization: <api-key>'
{ "doc": { "updatedAt": "<string>", "createdAt": "<string>", "name": "<string>", "lead": 123, "phone": "<string>", "conversation": "<string>", "recording": "<string>", "transcript": "<string>", "notes": "<string>", "rating": 123, "ratingNote": "<string>", "followUpEmail": "<string>", "nextSteps": "<string>", "conversationUrl": "<string>", "developmentCall": true }, "message": "<string>" }
Deletes an existing Call
Usage with the Drivly SDK
import { SDK } from '@drivly/commerce' import type { calls } from '@drivly/commerce' const sdk = new SDK(...) const calls = await sdk.calls.delete(callsId: string): Promise<void>
id of the Call
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