Commit Graph
100 Commits
Author SHA1 Message Date
Shahed Nasser c1a5390fc6 docs: translation module (#14271)
* docs: translation module

* fix link in JS SDK

* add translations user guides [WIP]

* updates

* fix broken link

* remove mentions of default locale

* change header

* updates

* updated user guides

* handle todos

* fix build error

* fix lint errors
2025-12-17 13:07:43 +02:00
Shahed Nasser bee86bf1d5 chore: add missing since tag for js sdk (#14325) 2025-12-16 18:26:52 +02:00
Shahed Nasser b8c2b9607b chore: added since tag to new routes (#14322) 2025-12-16 16:04:31 +02:00
Shahed Nasser 53cdbaa069 chore: generate and update OAS for translations (#14281)
* chore: generate and update OAS for translations

* support localization header

* add locale to all store routes

* fixes

* small fix
2025-12-16 15:52:33 +02:00
Shahed Nasser 88a3cf7172 chore: TSDocs for Translation Module (#14280)
* tsdocs for translation module

* fixes
2025-12-16 13:30:26 +02:00
Shahed Nasser accb778039 feat(js-sdk,types,medusa): add list locales store method to JS SDK (#14314)
* feat(js-sdk,types,medusa): add list locales store method to JS SDK

* add missing locale parameter
2025-12-16 11:11:49 +01:00
Shahed Nasser 8bb2ac654c fix(types): add locale to the query parameters of product query types (#14282) 2025-12-12 11:11:44 +02:00
Shahed Nasser 31a057558c fix(types,translations): fix types for translation and locale updates (#14278)
* fix(types,translations): fix types for translation and locale updates

* remove array type
2025-12-12 10:11:01 +01:00
Shahed Nasser a4ca4ef170 fix(translation): add index file for models (#14272) 2025-12-12 10:10:16 +01:00
Shahed Nasser 4bf0dac97d docs: update next and react (#14288) 2025-12-12 09:55:13 +02:00
Shahed Nasser 62c637d709 docs: updates for next release (#14275) 2025-12-11 15:56:34 +02:00
Shahed Nasser a78f68fa46 fix(utils,core-flows): add events constant for translations and use it in workflows (#14277) 2025-12-11 11:22:08 +02:00
Shahed Nasser c26f5643b6 docs: improve build with AI chapter (#14259)
* docs: improve build with AI chapter

* update sidebar
2025-12-09 16:59:39 +02:00
Shahed Nasser cc84b9ac49 chore: improvements of TSDocs of link steps (#14261) 2025-12-09 16:59:15 +02:00
Shahed Nasser 0084460765 docs: various improvements and fixes (#14257) 2025-12-09 16:16:45 +02:00
Shahed Nasser 75eac9ebec docs: okta integration tutorial (#14188)
* initial

* docs: okta integration tutorial
2025-12-09 08:36:31 +02:00
Shahed Nasser b517137466 fix(utils): fix error when generating migrations for a module with existing snapshot (#14218) 2025-12-08 08:54:32 +02:00
Shahed Nasser e3e3c725db docs: triage issues + revamp troubleshooting guides (#14216)
* docs: triage issues + revamp troubleshooting guides

* small change
2025-12-04 17:12:48 +02:00
Shahed Nasser a33ef1e4d9 docs: update Next.js + React (#14210) 2025-12-04 11:50:25 +02:00
Shahed Nasser 2087c8d155 docs: add best practices doc for third-party syncing (#14203)
* docs: add best practices doc for third-party syncing

* small fix
2025-12-03 15:47:41 +02:00
Shahed Nasser fe3c28488c docs: improve CORS troubleshooting guide (#14194) 2025-12-03 08:45:21 +02:00
Shahed Nasser 00052b9e50 docs: track code copy + AI assistant event (#14193)
* docs: track code copy + AI assistant event

* add pathname to callback
2025-12-02 17:24:31 +02:00
Shahed Nasser 0158554020 docs: strapi integration guide (#14075) 2025-12-02 12:30:47 +02:00
Shahed Nasser 92769b2b1c chore: fixes to TSDocs (#14186)
* chore: fixes to TSDocs

* update comments for auth provider
2025-12-02 11:57:04 +02:00
Shahed Nasser 9372a17d1f docs: generate API reference for 2.12.0 (#14185) 2025-12-02 11:56:37 +02:00
Shahed Nasser 223ccb4add docs: docs for next release (#14110) 2025-12-01 20:20:01 +02:00
Shahed Nasser 3cf1e5e9de chore: change 2.11.4 to 2.12.0 in TSDocs (#14174) 2025-12-01 17:33:28 +02:00
Shahed Nasser ee1be833c3 chore: improve completeCartWorkflow TSDocs (#14153)
* chore: improve completeCartWorkflow TSDocs

* small improvement
2025-12-01 14:20:07 +02:00
Shahed Nasser 73ae136965 chore: improve and add TSDocs for next release (#14170) 2025-12-01 13:41:31 +02:00
Shahed Nasser d9e3965a10 docs: fix highlights in digital products recipe (#14171) 2025-12-01 13:41:14 +02:00
Shahed Nasser 00aa2c13bc fix(js-sdk,types,medusa): add HTTP types for update order change API route (#14169)
## Summary

**What** — What changes are introduced in this PR?

- Add HTTP type for update order API route payload + use it in the JS SDK and API route
- other: add `since` tag

**Why** — Why are these changes relevant or necessary?  

*Please provide answer here*

**How** — How have these changes been implemented?

*Please provide answer here*

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

*Please provide answer here*

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [ ] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [ ] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.
2025-12-01 11:28:08 +00:00
Shahed Nasser 815464e007 docs: clarify how links with cascade deletion are deleted (#14155)
* docs: clarify how links with cascade deletion are deleted

* small change
2025-12-01 09:01:50 +02:00
Shahed Nasser 1e2f40b623 docs: update recipes and tutorials to support locks and idempotency (#14151) 2025-12-01 09:01:25 +02:00
Shahed Nasser ccc8588ea3 docs: mention managed inventory toggle in multi-part product user guide (#14142) 2025-11-27 10:57:51 +02:00
Shahed Nasser fda7689ed2 docs: fixed keywords usage in some pages (#14140)
* docs: fixed keywords usage in some pages

* fix vale error

* fix vale error
2025-11-27 10:57:39 +02:00
Shahed Nasser 8c19061644 docs: handle product status change in MeiliSearch and Algolia guides (#14141)
* docs: handle product status change in MeiliSearch and Algolia guides

* added missing status field
2025-11-27 10:41:57 +02:00
Shahed Nasser 2cc42ca0ef docs: add guide on clearing cache (#14133)
* docs: add guide on clearing cache

* update llms
2025-11-26 18:00:45 +02:00
Shahed Nasser e8990133e5 chore: fix payloads of events in TSDocs + description of emitEventStep (#14132) 2025-11-26 18:00:21 +02:00
Shahed Nasser c3cebdfe80 docs: fix events payloads (#14131) 2025-11-26 16:12:00 +02:00
Shahed Nasser c1ede88a7e docs: document locks for nested workflows (#14130)
* docs: document locks for nested workflows

* smal text change

* fix build error
2025-11-26 15:36:58 +02:00
Shahed Nasser 76660fb6cc docs: add keywords to cloud, fixes to installation and Index Module docs (#14129)
* docs: add keywords to cloud, fixes to installation and Index Module docs

* fix vale error
2025-11-26 14:36:29 +02:00
Shahed Nasser 458dc9d22b docs: customer tiers tutorial (#14122)
* docs: customer tiers tutorial

* fix lint error
2025-11-26 10:07:28 +02:00
Shahed Nasser 0ddd9e36b5 fix(product): add missing decorators to updateProductOptionValues method (#14060) 2025-11-25 11:02:21 +02:00
Shahed Nasser 22ca22a2f0 docs: fix callback validation for third-party authentication (#14109)
* docs: fix callback validation for third-party authentication

* address comment
2025-11-24 15:43:05 +02:00
Shahed Nasser d6a9e36bf0 docs: updates to billing details (#14096)
* docs: updates to billing details

* fix installation errors
2025-11-24 09:34:52 +02:00
Shahed Nasser b3f4ddc27c docs: fix filters in meilisearch and algolia guides (#14098) 2025-11-24 08:53:29 +02:00
Shahed Nasser 4e1c474dfa docs: emails in cloud (#14040)
* docs: emails in cloud

* add notes to user guides

* small updates

* small change

* fix link

* addressed feedback
2025-11-17 10:54:01 +02:00
Shahed Nasser 2c61a413dc docs: add redis prerequisite for Caching Module (#14051)
* docs: add redis prerequisite for Caching Module

* fix vale error
2025-11-17 09:16:42 +02:00
Shahed Nasser 76fd6d1438 docs: fix required properties marked as optional in OAS with allOf schemas (#14062) 2025-11-14 16:45:48 +02:00
Shahed Nasser 20892aee87 docs: add a copy button to AI assistant answers (#14052) 2025-11-14 16:03:00 +02:00
Shahed Nasser efed4d7346 docs: mobile app guide with react native and expo (#13982)
* docs: mobile app guide with react native and expo

* fix vale error
2025-11-12 12:48:52 +02:00
Shahed Nasser 66d4ba105e docs: generate OAS for 2.11.3 (#13973) 2025-11-12 09:24:54 +02:00
Shahed Nasser a85778679e fix(product, types): add missing types for variant images and thumbnails (#14026)
## Summary

**What** — What changes are introduced in this PR?

- Add missing `images` field of variants to the HTTP types
- Add missing `thumbnail` field to product variant schema, which leads to the thumbnail missing from auto generated types

**Why** — Why are these changes relevant or necessary?  

*Please provide answer here*

**How** — How have these changes been implemented?

*Please provide answer here*

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

*Please provide answer here*

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [ ] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [ ] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.
2025-11-11 15:25:39 +00:00
Shahed Nasser aae92d5447 chore(medusa): fix query http type parameter for get claim route (#13974)
## Summary

**What** — What changes are introduced in this PR?

Use correct HTTP type parameter for the get claim API route

**Why** — Why are these changes relevant or necessary?  

*Please provide answer here*

**How** — How have these changes been implemented?

*Please provide answer here*

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

*Please provide answer here*

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [ ] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [ ] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.
2025-11-07 13:08:26 +00:00
Shahed Nasser dc6f253d31 docs: add JSON-LD schemas to docs (#14007) 2025-11-07 14:43:50 +02:00
Shahed Nasser c9648cc9cc docs: added kapa logo + link to mcp server (#14005) 2025-11-07 13:05:25 +02:00
Shahed Nasser 3e9af09ccb docs: add missing middlewares in category images guide (#14001) 2025-11-07 12:03:12 +02:00
Shahed Nasser 9576ef3763 docs-utils: fix type error in react-docs-generator (#14002) 2025-11-07 12:02:56 +02:00
Shahed Nasser 6cd40c9f74 docs: fix broken links in OAS (#14000) 2025-11-07 10:48:37 +02:00
Shahed Nasser 01a5ce949e docs: fix command bar position outside modal in category images guide (#13987) 2025-11-06 19:19:43 +02:00
Shahed Nasser 32f9c15b1b docs: refactor analytics + remove segment (#13954)
* docs: refactor analytics + remove segment

* small refactor of condition
2025-11-04 14:53:56 +02:00
Shahed Nasser baec64d4f1 docs: added product rental tutorial (#13896)
* docs: added product rental guide

* fix lint errors

* fix build error

* fix vale errors

* gnerate
2025-11-04 13:12:41 +02:00
Shahed Nasser 42b270ed2d fix(types, medusa): fixes to http types and validators (#13928)
## Summary

**What** — What changes are introduced in this PR?

- Fix validators of delete item action for exchanges and claims to not include filter fields (their routes don't use these filters, and it doesn't make sense to have them)
- Fix query parameter type argument of the create reservation route to the correct HTTP type.
- Fix the HTTP type used for listing products and shipping options in the storefront to not include the `with_deleted` (It's also not supported by their validators)

**Why** — Why are these changes relevant or necessary?  

*Please provide answer here*

**How** — How have these changes been implemented?

*Please provide answer here*

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

*Please provide answer here*

---

## Examples

Provide examples or code snippets that demonstrate how this feature works, or how it can be used in practice.  
This helps with documentation and ensures maintainers can quickly understand and verify the change.

```ts
// Example usage
```

---

## Checklist

Please ensure the following before requesting a review:

- [ ] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [ ] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

Add any additional context, related issues, or references that might help the reviewer understand this PR.
2025-11-04 07:39:42 +00:00
Shahed Nasser aa2368e382 docs: add keywords to Cloud sign up guide (#13950) 2025-11-04 09:15:09 +02:00
Shahed Nasser cdbb4b925b docs: fixes to recipes and examples following latest update (#13933) 2025-11-03 17:22:59 +02:00
Shahed Nasser b30dda3eda docs: fix broken image in billing docs + clarify billing details (#13944) 2025-11-03 17:20:59 +02:00
Shahed Nasser 6ed88141ef docs: fix deployment error (#13942) 2025-11-03 13:09:56 +02:00
Shahed Nasser 0fd9f27ca5 chore: add missing since and featureFlag tags (#13926) 2025-10-31 16:17:19 +02:00
Shahed Nasser 604ff55a5b docs: generate OAS for 2.11.2 (#13925) 2025-10-31 16:15:46 +02:00
Shahed Nasserandadrien2p 3518ba1694 docs: clarify prices are stored in major units (#13897)
* update package

* docs: clarify prices are stored in major units

* revert change

* revert change

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
2025-10-31 13:29:37 +02:00
Shahed Nasser 38d486bec0 docs: document asymmetric encryption (#13922) 2025-10-31 12:55:22 +02:00
Shahed Nasser 7975d8522e docs: docs for next release (#13907) 2025-10-31 11:28:42 +02:00
Shahed Nasser 0da22a8a13 docs: fix rewrites for markdown and plain content (#13916) 2025-10-31 08:54:51 +02:00
Shahed Nasser b1b6960147 docs: serve markdown to agents (#13915) 2025-10-30 17:59:22 +02:00
Shahed Nasser 2e7c65528a docs: fix category images guide (#13908)
* docs: fix category images guide

* fix vale errors
2025-10-30 14:11:49 +02:00
Shahed Nasser bbfe39607a docs: category images guide (#13755)
* docs: category images guide

* added openapi spec
2025-10-30 12:59:19 +02:00
Shahed Nasser 540ae996ff docs: fix mikro-orm imports from framework (#13885) 2025-10-28 18:27:34 +02:00
Shahed Nasser fa93f18f7d chore: fixes to http and request types for orders (1) (#13822) 2025-10-28 11:14:43 +02:00
Shahed Nasser 4f4ab6208d chore: fixes to http and request types for sales channes, taxes, and store (#13832) 2025-10-28 10:10:14 +01:00
Shahed Nasser a2b6ef36d9 chore: fixes to http and request types for payment and regions (#13831) 2025-10-28 10:09:51 +01:00
Shahed Nasser 64c5019b3b chore: fixes to http and request types for payments (#13830) 2025-10-28 10:09:24 +01:00
Shahed Nasser 83f2d87fa5 chore: fixes to http and request types for users (#13828) 2025-10-28 10:08:51 +01:00
Shahed Nasser aa34d0fe9c chore: fixes to http and request types for inventory (#13827)
* chore: fixes to http and request types for inventory

* fix type error
2025-10-28 10:08:32 +01:00
Shahed Nasser bc87c9a0ba chore: fixes to http and request types for fulfillment (#13826)
* chore: fixes to http and request types for fulfillment

* fix type error
2025-10-28 10:08:07 +01:00
Shahed Nasser faea42316a chore: fixes to http and request types for customers (#13825) 2025-10-28 10:07:35 +01:00
Shahed Nasser db777dc3d5 chore: fixes to http and request types for orders (3) (#13824)
* chore: fixes to http and request types for orders (3)

* add order store routes
2025-10-28 10:07:10 +01:00
Shahed Nasser f253b325f9 chore: fixes to http and request types for orders (2) (#13823) 2025-10-28 10:06:26 +01:00
Shahed Nasser cc1a37f2f5 chore: fixes to HTTP and request types for carts (#13821) 2025-10-28 10:04:27 +01:00
Shahed Nasser 24ff9d3382 chore: fixes to HTTP and request types for promotions (#13820) 2025-10-28 10:03:41 +01:00
Shahed Nasser 5b0c6e6a94 chore: fixes to HTTP and request types for API Keys (#13819) 2025-10-28 10:02:28 +01:00
Shahed Nasser 39f2893738 docs: fix runtime error occuring with code tabs (#13873) 2025-10-27 17:52:42 +02:00
Shahed Nasser a9dbd035a5 docs: documented admin translations (#13864) 2025-10-27 12:04:31 +02:00
Shahed Nasser ec44432876 chore: fixes to http and request types for products (#13833)
## Summary

**What** — What changes are introduced in this PR?

This PR is part of a series of PRs to fix HTTP and request type arguments.

This is the last PR in the series. It includes a changeset for the changes made.

**Why** — Why are these changes relevant or necessary?  

These types impact the outputted OAS which we show on the API reference. By fixing up the types, we ensure accurate request parameters in the API reference.

**How** — How have these changes been implemented?

Made changes to HTTP types and request type arguments

**Testing** — How have these changes been tested, or how can the reviewer test the feature?

-

---

## Examples

-
---

## Checklist

Please ensure the following before requesting a review:

- [ ] I have added a **changeset** for this PR
    - Every non-breaking change should be marked as a **patch**
    - To add a changeset, run `yarn changeset` and follow the prompts
- [ ] The changes are covered by relevant **tests**
- [ ] I have verified the code works as intended locally
- [ ] I have linked the related issue(s) if applicable

---

## Additional Context

-
2025-10-27 08:52:27 +00:00
Shahed Nasser c4e1d05c39 docs: updates to installation doc (#13848)
* docs: updates to installation doc

* small iteration
2025-10-24 13:51:25 +03:00
Shahed Nasser 1d3231d37a docs: fixes to docker installation guide (#13847)
* docs: fixes to docker installation guide

* more fixes

* re-organize troubleshooting

* add title
2025-10-24 12:18:36 +03:00
Shahed Nasser 7c31276f98 docs: show possible similar pages on 404 page (#13840)
* docs: show possible similar pages on 404 page

* fix 404 page in api reference
2025-10-24 10:00:38 +03:00
Shahed Nasser 61565d243a chore: improve TSDocs for tax provider module (#13846) 2025-10-24 09:44:59 +03:00
Shahed Nasser 8d574d6f29 docs: improvements to tax related docs (#13845) 2025-10-24 09:44:47 +03:00
Shahed Nasser 012e30801e docs: add error page (#13839) 2025-10-23 18:10:42 +03:00
Shahed Nasser 4ab185c685 docs: clarify how emitEventStep emits an event in a workflow (#13836) 2025-10-23 16:30:25 +03:00