Update the price for a price level version

Update the price for a price level version

Securityoauth2
Request
path Parameters
versionId
required
string

The GUID of the price level version you want to update.

header Parameters
Content-Type
required
string <string>

The Internet Assigned Numbers Authority (IANA) media type of the message body data. The value must be application/json.

Toast-Management-Set-Guid
required
string <uuid>

The Toast platform identifier for the management set that contains this restaurant. Management sets are also known as management groups.

For more information, see Management group

Toast-Restaurant-External-ID
required
string <uuid>

The Toast platform identifier for the restaurant.

Toast-User-Guid
required
string <uuid>

The Toast platform identifier for the employee making the price level update. The employee must have the Restaurant Admin > Edit Full Menu permission to the owner of the price level being edited. When an update is made through the /price-levels/{versionId} endpoint, this employee is logged as the last employee to edit the price level.

Request Body schema: application/json
required

A PriceLevelUpdate object containing the basePrice value that replaces the existing base price.

basePrice
string

The new base price for this version of the price level.

Responses
200

Returns a PriceLevelVersion object that includes information about the updated price level version, including its new base price.

304

A basePrice was not specified in the update.

400

The price level version you tried to update uses a pricing strategy that is not DEFAULT. Only price level versions that use the DEFAULT pricing strategy can be updated with the menus edit API.

404

The price level versionId does not exist.

patch/price-levels/{versionId}
Request samples
application/json
{
  • "basePrice": "string"
}
Response samples
application/json
{
  • "versionId": "14707576-2549-4848-82ed-f68f8a1b47c7",
  • "multiLocationId": "string",
  • "target": { },
  • "owner": { },
  • "name": "string",
  • "basePrice": "string",
  • "pricingStrategy": "string",
  • "minPrice": "string",
  • "maxPrice": "string"
}