v1Resources/Locations/postReplace menu assignments

Replace menu assignments

Replaces the complete assignment set. Every target must be an active restaurant location belonging to the menu’s client. Invalid targets fail before any assignment changes. An empty list removes all assignments.

post/api/v1/location-menus/{id}/assign
locations:write
Query parameters
idstringrequired
Menu ID from the menu list.
Request body
locationIdsarray of stringrequired
Full desired selection of location IDs or public IDs, up to 1,000.
Response
dataobjectoptional
assignedbooleanoptional
locationIdsarray of stringoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
422One or more targets are not active restaurant locations of this menu’s client.
429Too many requests. Retry after the number of seconds in the Retry-After header.
503The menu operation could not be completed.
post/api/v1/location-menus/{id}/assign
Your API key
id *
Request body*
{}

Guides that use this resource