Update Widget
Put /api/vendor-widget/:id
Authentication: Vendor bearer token required for protected operations; verify exact permission decorator in controller.
Feature area: Widgets
Implementation source: src/api/vendor/controllers/BannerController.ts
Request example provenance: Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO.
Response example provenance: Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema.
Example status: Illustrative. The example is included to demonstrate request/response shape in the reference UI; verify the owning controller and request DTO before using it as a contract.
Authorizations
Body
Sample request body. Illustrative body using common Banner/Widget fields; confirm the route-specific request DTO. Treat this as an illustrative example, not a complete DTO contract.
Response
Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.
