API ReferenceRestaurant
Modifier group · modifier_group
Portable restaurant modifier-group contract for menu customization groups.
Entity type:
modifier_group· Methods: GET
Portable restaurant modifier-group contract for menu customization groups.
Endpoints
GET /unified/{accountId}/modifier_group # List normalized modifier_group recordsSchema
| Field | Type | Required | Description |
|---|---|---|---|
externalId | string | Yes | Stable modifier-group identifier. |
name | string | Yes | Modifier group name. |
itemGroupExternalId | string | — | Associated item-group / parent menu group identifier when available. |
Example object
{
"externalId": "mod_toppings",
"name": "Burger Toppings",
"itemGroupExternalId": "cat_burgers"
}The same shape is used as the POST request body and returned by GET reads — reads from
every connected system are normalized to it.
Requests
curl "https://api.linktoany.com/unified/{accountId}/modifier_group?pageSize=10" \
-H "accept: application/json" \
-H "authorization: Bearer ak_<your_api_key>"const page = await client.records.list(accountId, 'modifier_group', {
pageSize: 10,
});
for (const modifierGroup of page.data) {
console.log(modifierGroup);
}
// Or walk every page — the SDK follows the cursor for you
for await (const modifierGroup of client.records.iterate(accountId, 'modifier_group')) {
await save(modifierGroup);
}Supported systems
| System | Read | Write | Auth | Rate limit |
|---|---|---|---|---|
| Clover (Asia Pacific) | Yes | — | API token | 5 req / 6s |
| Clover (US) | Yes | — | API token | 5 req / 6s |
Job · job
Portable restaurant job / role contract.
Order · order
Portable restaurant order contract with normalized identity, timing, party references, totals, and line items. lineItems[].productExternalId matters for Clover atomic-order writes; currencyCode and locationExternalId matter for Square writes.