@spree/docs 0.1.167 → 0.1.168
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.
|
@@ -119,7 +119,7 @@ Each secret API key carries a list of **scopes** that grant access to specific r
|
|
|
119
119
|
| `read_store_credits` / `write_store_credits` | `/customers/:id/store_credits`, `/orders/:id/store_credits` |
|
|
120
120
|
| `read_stock` / `write_stock` | `/stock_locations/*`, `/stock_items/*`, `/stock_transfers/*`, `/stock_reservations/*` |
|
|
121
121
|
| `read_categories` / `write_categories` | `/categories/*` |
|
|
122
|
-
| `read_settings` / `write_settings` | Store configuration — `/store`, `/payment_methods/*`, `/markets/*`, `/channels/*`, `/tax_categories/*`, `/countries`, `/custom_field_definitions/*`,
|
|
122
|
+
| `read_settings` / `write_settings` | Store configuration — `/store`, `/payment_methods/*`, `/markets/*`, `/channels/*`, `/tax_categories/*`, `/countries`, `/custom_field_definitions/*`, staff management (`/admin_users`, `/invitations`, `/roles`), `/allowed_origins/*` |
|
|
123
123
|
| `read_webhooks` / `write_webhooks` | `/webhook_endpoints/*` — including delivery logs and redelivery |
|
|
124
124
|
| `read_api_keys` / `write_api_keys` | `/api_keys/*` — creating, revoking, and deleting API keys |
|
|
125
125
|
| `read_dashboard` | `/dashboard/*` (analytics; read-only) |
|
|
@@ -343,13 +343,6 @@ Endpoints marked — are exempt from scope checks (authentication and session en
|
|
|
343
343
|
| `GET` | `/store` | `read_settings` | Get the current store |
|
|
344
344
|
| `PATCH` | `/store` | `write_settings` | Update the current store |
|
|
345
345
|
|
|
346
|
-
## Store credit categories
|
|
347
|
-
|
|
348
|
-
| Method | Path | Required scope | Summary |
|
|
349
|
-
|---|---|---|---|
|
|
350
|
-
| `GET` | `/store_credit_categories` | `read_settings` | List store credit categories |
|
|
351
|
-
| `GET` | `/store_credit_categories/{id}` | `read_settings` | Get a store credit category |
|
|
352
|
-
|
|
353
346
|
## Tags
|
|
354
347
|
|
|
355
348
|
| Method | Path | Required scope | Summary |
|
|
@@ -64,7 +64,6 @@ await client.customers.addresses.create('cus_xxx', {
|
|
|
64
64
|
| `client.promotionRules` | Lookup of available rule `types`. |
|
|
65
65
|
| `client.giftCards` | CRUD on gift cards. |
|
|
66
66
|
| `client.giftCardBatches` | List, get, and create gift card batches. |
|
|
67
|
-
| `client.storeCreditCategories` | List and read store credit categories. |
|
|
68
67
|
|
|
69
68
|
## Inventory
|
|
70
69
|
|