Delete a product
Deletes a published product from a restaurant. Handles cascade deletion of related resources (QR codes, menu popups, pending drafts). The product must belong to the specified restaurant. Requires a management API key (`mk_`).
Authorization
ManagementApiKey Management API key — starts with mk_. Generate one from your dashboard.
In: header
Path Parameters
Restaurant ID
uuidProduct ID
uuidResponse Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/management/restaurants/497f6eca-6276-4993-bfeb-53cbbbba6f08/products/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "success": true, "data": { "deleted": true, "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113" }}Update a published product directly
Partially updates a published product in-place — no draft required. If a pending draft exists for this product it is discarded first so the two states stay consistent. Only specified fields are modified. Requires a management API key (`mk_`).
Get the draft of a product
Returns the draft version of a product. Uses the product ID to find the associated draft. For published products, looks up the draft via the published version. For new (unpublished) products, the product ID is the draft ID. Returns 404 if no draft exists. Requires a management API key (`mk_`).