@mercurjs/docs 2.3.2-canary.5 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,7 +29,7 @@ Vendor routes authenticate the **member** actor (`/auth/member/emailpass` to obt
|
|
|
29
29
|
2. Middleware verifies the authenticated member belongs to that seller and populates the request's seller context. Every query and mutation on the surface is then filtered to that seller automatically.
|
|
30
30
|
3. The member's RBAC roles are resolved for the selected seller.
|
|
31
31
|
|
|
32
|
-
A handful of vendor routes are public by design: seller registration (`POST /vendor/sellers`), invite acceptance (`POST /vendor/members/invites/accept`), `GET /vendor/
|
|
32
|
+
A handful of vendor routes are public by design: seller registration (`POST /vendor/sellers`), invite acceptance (`POST /vendor/members/invites/accept`), and `GET /vendor/feature-flags`. `GET /vendor/stores` requires a session or bearer token, but works before the member belongs to a seller, so the onboarding wizard can reach it.
|
|
33
33
|
|
|
34
34
|
### Store
|
|
35
35
|
|
|
@@ -140,7 +140,7 @@ Full RMA suites exist per domain, following the same action pattern Medusa uses
|
|
|
140
140
|
| `GET` `POST` | `/vendor/sales-channels[/:id]` | Manage sales channels (+ `/:id/products`) |
|
|
141
141
|
| `GET` | `/vendor/regions[/:id]` | Read regions |
|
|
142
142
|
| `GET` | `/vendor/currencies[/:code]` | Read currencies |
|
|
143
|
-
| `GET` | `/vendor/stores` | List stores (
|
|
143
|
+
| `GET` | `/vendor/stores` | List stores (authenticated, no seller required) |
|
|
144
144
|
| `GET` | `/vendor/feature-flags` | Feature flags (**public**) |
|
|
145
145
|
| `POST` | `/vendor/uploads` | Upload files |
|
|
146
146
|
|