Skip to main content
GET
/
foods
/
{id}
Get a food
curl --request GET \
  --url https://api.salesive.com/api/v1/foods/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Get a food",
  "data": {
    "_id": "66a2a1c4e1b3a40012cd1001",
    "name": "Margherita Pizza",
    "description": "Tomato, mozzarella, basil",
    "price": 12.5,
    "promoPrice": null,
    "images": [
      "https://cdn.salesive.com/f/margherita.jpg"
    ],
    "video": null,
    "category": {
      "_id": "66a2a0aae1b3a40012cd0001",
      "name": "Pizzas",
      "slug": "pizzas"
    },
    "available": true,
    "listed": true,
    "addons": [
      {
        "name": "Extra cheese",
        "price": 2,
        "maxQuantity": 3,
        "available": true,
        "description": ""
      }
    ],
    "shop": "66a1eee0e1b3a40012ab0001",
    "createdAt": "2026-06-10T12:00:00.000Z",
    "updatedAt": "2026-06-21T09:00:00.000Z"
  }
}
Retrieves a single food item by its ID, scoped to the store, with category populated. Returns 404 if not found in this store. Requires the READ_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

The food item's ObjectId.

Response

Get a food — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Get a food"

data
object
required

A restaurant menu item.

Example:
{
"_id": "66a2a1c4e1b3a40012cd1001",
"name": "Margherita Pizza",
"description": "Tomato, mozzarella, basil",
"price": 12.5,
"promoPrice": null,
"images": ["https://cdn.salesive.com/f/margherita.jpg"],
"video": null,
"category": {
"_id": "66a2a0aae1b3a40012cd0001",
"name": "Pizzas",
"slug": "pizzas"
},
"available": true,
"listed": true,
"addons": [
{
"name": "Extra cheese",
"price": 2,
"maxQuantity": 3,
"available": true,
"description": ""
}
],
"shop": "66a1eee0e1b3a40012ab0001",
"createdAt": "2026-06-10T12:00:00.000Z",
"updatedAt": "2026-06-21T09:00:00.000Z"
}