@spree/cli 2.3.0 → 2.3.2
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.
- package/README.md +3 -3
- package/dist/index.js +118 -116
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -142,7 +142,7 @@ Call the Admin API directly with generic `get`/`post`/`patch`/`delete` commands.
|
|
|
142
142
|
```bash
|
|
143
143
|
spree api get /products -q status_eq=active --sort -created_at --limit 10
|
|
144
144
|
spree api get /orders/ord_x8k2J9aQ --expand items,payments
|
|
145
|
-
spree api post /products -d '{"name":"Classic Tee"}'
|
|
145
|
+
spree api post /products -d '{"name":"Classic Tee","prices":[{"currency":"USD","amount":"29.99"}]}'
|
|
146
146
|
spree api patch /orders/ord_x8k2J9aQ/cancel
|
|
147
147
|
spree api delete /products/prod_86Rf07xd
|
|
148
148
|
|
|
@@ -215,8 +215,8 @@ npm run load-sample-data # spree sample-data
|
|
|
215
215
|
|
|
216
216
|
## Learn More
|
|
217
217
|
|
|
218
|
-
- [Spree Documentation](https://
|
|
219
|
-
- [Store API Reference](https://
|
|
218
|
+
- [Spree Documentation](https://spreecommerce.org/docs)
|
|
219
|
+
- [Store API Reference](https://spreecommerce.org/docs/api-reference/introduction)
|
|
220
220
|
- [create-spree-app](https://www.npmjs.com/package/create-spree-app)
|
|
221
221
|
- [Spree GitHub](https://github.com/spree/spree)
|
|
222
222
|
|