Skip to content

Commit

Permalink
fix(doc): fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Oct 31, 2023
1 parent b4b7953 commit 8070ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ In general:
- An API endpoint like `/api/customers` or `/api/customers/<customerId>` translates to `cl.customers` or `cl.customers('<customerId>')` with the SDK.
- 1-to-1 relationship API endpoints like `/api/orders/<orderId>/shipping_address` translates to `cl.orders('<orderId>', { include: ['shipping_address'] }}` with the SDK.
- 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.
- 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.
ℹ️ Check our API reference for more information on how to [fetch relationships](https://docs.commercelayer.io/core/fetching-relationships).
</details>
Expand Down Expand Up @@ -406,7 +406,7 @@ Commerce Layer API returns specific errors (with extra information) on each attr
1. Join [Commerce Layer's Slack community](https://slack.commercelayer.app).
2. Create an [issue](https://github.com/commercelayer/commercelayer-cli/issues) in this repository.
2. Create an [issue](https://github.com/commercelayer/commercelayer-sdk/issues) in this repository.
3. Ping us [on Twitter](https://twitter.com/commercelayer).
Expand Down

0 comments on commit 8070ecd

Please sign in to comment.