Skip to main content
DELETE
/
foods
/
{id}
Delete a food
curl --request DELETE \
  --url https://api.salesive.com/api/v1/foods/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Delete a food",
  "data": {}
}
Soft-deletes a food item in the store. Requires the WRITE_INVENTORY scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Path Parameters

id
string
required

ObjectId of the food item to delete.

Response

Delete a food — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Delete a food"

data
object
required
Example:
{}