Update price list
PUT/api/v2/price-lists/:id
Full replacement of an existing price list. Also finalises a draft: the server clears draft on every update. branchSchedules and paymentMethodIds follow the collection contract: null = untouched, [] = clear, non-empty = full replacement.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Price list updated
Validation error ÔÇö the request body or a query parameter failed constraint validation. The response payload includes a errors array with field-level details.
Missing or invalid JWT (Bearer token).
Authenticated user is missing the EDITAR_TARIFAS permission
Price list not found
Version conflict ÔÇö the resource was modified by another user since the version supplied in If-Match was issued.
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.