Skip to content
ShopAssist Docs
APIAPI referenceLeads and back in stock

Delete Lead

Hard delete (consent evidence kept per 02 §15; audited).

DELETE/v1/stores/{store_id}/leads/{lead_id}Scope leads:write

Hard delete (consent evidence kept per 02 §15; audited).

Parameters

Parameters of Delete Lead
NameInTypeDescription
store_idrequiredpathstring
lead_idrequiredpathstring

Example request

curl -X DELETE "https://api.shopassist.coec.dk/v1/stores/sto_01j8000000e008000000000000/leads/lead_01j8000000e008000000000000" \
  -H "Authorization: Bearer $SHOPASSIST_API_KEY"

Response 204

Successful Response

Errors

Every error uses the error envelope; the code field is stable.

  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 422 Unprocessable Content
  • 429 Too Many Requests

Last updated on