Update a product variant
PATCH/v1/menu/products/:id/variants/:variantId
Partially updates a variant. All fields are optional but at least one must be provided; name is optional but not nullable. The local price <= original_price check only sees fields present in this request — a fast-path guard, not a substitute for the upstream check.
Required scope: menu:write
Request
Responses
- 200
- 401
- 403
- 404
- 422
The updated variant.
Unauthenticated — the request is missing a credential, or the Bearer token / API key is invalid, expired, or revoked.
Insufficient scope — the credential is authenticated but lacks a scope the endpoint requires.
Not found — no resource matches the id in the path (or it belongs to a different company).
Validation failed — the request body failed schema validation. errors[] lists every offending field.