Skip to navigation

Update a lead

View as Markdown

Mark it handled, add notes. Requires leads:write.

Authentication

AuthorizationBearer

An API key from the store's admin: חנות > API ומפתחות. Send it as Authorization: Bearer coi_sk_... (or X-Api-Key: coi_sk_...). Never in the URL - ?apikey= is refused with 400.

Path parameters

idintegerRequired

Request

This endpoint expects an object.
statusintegerOptional1-6
adminNotesstring or nullOptional

Response

The updated lead.
oktrueOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error