Edit vendor listing
The /vendor/listings/[id]/edit route edits one owned listing while preserving historical order details.
Route and purpose
Route: /vendor/listings/[id]/edit
This page edits one owned listing while preserving historical order details. Dynamic segments in square brackets are replaced with the requested resource's slug or identifier.
Access and identity
- Intended audience: Vendor.
- The page shell can redirect or gate the interface, and every backing API independently enforces authentication, role, status, and ownership.
- A copied URL never grants access to a protected resource.
Page behavior
- Resolve the route and any dynamic parameter.
- Load public data or establish the authenticated application session.
- Render an explicit loading, empty, success, or error state.
- Submit mutations only through the page's protected action.
- Refresh the relevant server state after a successful change.