API

MenuModifierGroup

A group of modifiers, such as a range of toppings.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /v1/stores/{storeId}/menu/modifierGroup/{modifierGroupId} load OK

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

menu_modifier_group, err := client.MenuModifierGroup(nil).Load(map[string]any{"id": "example_id", "store_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(menu_modifier_group)

Lua

Construct client as shown in the Lua setup, then call the operations:

local menu_modifier_group, err = client:MenuModifierGroup():load({ id = "example_id", store_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$menu_modifier_group = $client->MenuModifierGroup()->load(["id" => "example_id", "store_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

menu_modifier_group = client.MenuModifierGroup().load({"id": "example_id", "store_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

menu_modifier_group = client.MenuModifierGroup.load({ "id" => "example_id", "store_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const menu_modifier_group = await client.MenuModifierGroup().load({ id: "example_id", store_id: "example" })

Fields

Field Type Required Description
description string No Description
id string Yes Modifier Group ID (controlled by partners)
max_permitted number No Maximum quantity allowed (inclusive).
min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
modifiers array Yes Modifiers
name string Yes Modifier Group Name
name_localized string No Second Language Name
sequence integer No The sequence field orders modifier groups for display or application.
type string No Defines the Half_N_Half type for the Modifier Group.

load

GET /v1/stores/{storeId}/menu/modifierGroup/{modifierGroupId}

Operation ID: GET/v1/stores/{storeId}/menu/modifierGroup/{modifierGroupId}.

Authentication: oauth2 (AccessToken).

Parameters

Parameter In Type Required Description
storeId path string Yes Store Identifier
modifierGroupId path string Yes

Responses

200: OK

application/json

Property Type Required Description
data object No
data.description string No
data.id string Yes Modifier Group ID (controlled by partners)
data.max_permitted number No Maximum quantity allowed (inclusive). max_permitted cannot be less than min_permitted.
data.min_permitted number No Minimum quantity allowed (inclusive) -- Cannot be negative.
data.modifiers array of string Yes
data.name string Yes Modifier Group Name
data.name_localized string No Second Language Name
data.sequence integer No The sequence field orders modifier groups for display or application. It's a numeric value indicating the preferred order, with lower values shown first.
data.type enum: HALF_N_HALF, NONE No Defines the Half_N_Half type for the Modifier Group. When specified, modifiers will be categorized as left, whole, or right side options.
400: Bad Request

application/json

Property Type Required Description
error string Yes 400 Bad Request is the status code that indicates the server cannot or will not process the request due to something that is perceived to be a client error
401: Unauthorized

application/json

Property Type Required Description
error string Yes 401 Unauthorized is the status code to return when the client provides no credentials or invalid credentials.
403: Forbidden

application/json

Property Type Required Description
error string Yes 403 Forbidden is the status code to return when a client has valid credentials but not enough privileges to perform an action on a resource.
404: Not Found

application/json

Property Type Required Description
error string Yes 404 Not Found is the status code that indicates a server could not find a client-requested webpage
429: Too Many Requests

application/json

Property Type Required Description
error string Yes 429 Too Many Requests is the status code that indicates the client application has surpassed its rate limit, or number of requests they can send in a given period of time