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
- Scope:
leads:write(scopes and plan access) - Rate limit: 600 requests/min per API key (test keys: 60/min) (rate limits)
Hard delete (consent evidence kept per 02 §15; audited).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| store_idrequired | path | string | |
| lead_idrequired | path | string |
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.
400Bad Request401Unauthorized403Forbidden404Not Found422Unprocessable Content429Too Many Requests
Last updated on