Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Add missing brackets in API docs (#11361)

Virginia Nguyen65fd398d4f9c
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yaml
index 5b3ada26de..bece46cfc9 100644
--- a/api/docs/v2/storefront/index.yaml
+++ b/api/docs/v2/storefront/index.yaml
@@ -909,7 +909,8 @@ paths:
```
```json
- "order": {
+ {
+ "order": {
"shipments_attributes": [
{
"id": "1",
@@ -917,6 +918,7 @@ paths:
}
]
}
+ }
```
`selected_shipping_rate_id` is the ID of a Shipping Rate. `id` is the ID of the Shipment itself. You can update multiple