@commercelayer/sdk 5.19.1 → 5.19.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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
@@ -275,7 +275,7 @@ In general:
|
|
275
275
|
|
276
276
|
- An API endpoint like `/api/customers` or `/api/customers/<customerId>` translates to `cl.customers` or `cl.customers('<customerId>')` with the SDK.
|
277
277
|
- 1-to-1 relationship API endpoints like `/api/orders/<orderId>/shipping_address` translates to `cl.orders('<orderId>', { include: ['shipping_address'] }}` with the SDK.
|
278
|
-
- 1-to-N relationship API endpoints like `/api/customers/<customerId>?include=orders` or `/api/customers/<customerId>/orders` translates to `cl.customers.retrieve('customerId', { include: ['orders'] })` or `cl.customers.orders('<customerId>')` with the SDK.
|
278
|
+
- 1-to-N relationship API endpoints like `/api/customers/<customerId>?include=orders` or `/api/customers/<customerId>/orders` translates to `cl.customers.retrieve('<customerId>', { include: ['orders'] })` or `cl.customers.orders('<customerId>')` with the SDK.
|
279
279
|
|
280
280
|
ℹ️ Check our API reference for more information on how to [fetch relationships](https://docs.commercelayer.io/core/fetching-relationships).
|
281
281
|
</details>
|
@@ -406,7 +406,7 @@ Commerce Layer API returns specific errors (with extra information) on each attr
|
|
406
406
|
|
407
407
|
1. Join [Commerce Layer's Slack community](https://slack.commercelayer.app).
|
408
408
|
|
409
|
-
2. Create an [issue](https://github.com/commercelayer/commercelayer-
|
409
|
+
2. Create an [issue](https://github.com/commercelayer/commercelayer-sdk/issues) in this repository.
|
410
410
|
|
411
411
|
3. Ping us [on Twitter](https://twitter.com/commercelayer).
|
412
412
|
|