Skip to main content
GET
Get food add-ons

Request

Use this endpoint for food (restaurant) and service (business) storefronts. The response itemType reflects the catalog (food or service). Standard product catalogs return an empty addons array.

Headers

Path parameters

Successful response

Notes

  • Unavailable add-ons are filtered out of this response.
  • Add-on objects include the latest description field from the food catalog.
  • Pair the returned addonId values with POST /cart using selectedAddons.

Authorizations

Authorization
string
header
required

JWT issued by the Salesive Store API for authenticated shoppers.

x-shop-id
string
header
required

Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.

Headers

x-shop-id
string

Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

Path Parameters

id
string
required

Food item MongoDB identifier.

Response

Add-ons retrieved successfully.

status
integer
required
success
boolean
required
message
string
required
data
object
required