@spree/docs 0.1.123 → 0.1.124
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.
|
@@ -57,6 +57,17 @@ spree auth status
|
|
|
57
57
|
spree auth logout --profile prod
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
+
### Use with a sandbox
|
|
61
|
+
|
|
62
|
+
A [free sandbox](https://console.spree.sh) works like any remote store. Create a secret key in the sandbox admin under **Settings → API Keys**, then save it as a profile:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
spree auth login --profile sandbox --base-url https://your-store.spree.sh
|
|
66
|
+
spree api get /products --profile sandbox
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
No local project or Docker needed — the CLI (`npm install -g @spree/cli`) plus a sandbox is a complete environment for exploring the Admin API.
|
|
70
|
+
|
|
60
71
|
## Reading data
|
|
61
72
|
|
|
62
73
|
`-q` takes [Ransack](../../api-reference/admin-api/querying.md) predicates as repeatable `key=value` pairs; sorting, pagination, and shaping flags pass through under the Admin API conventions:
|