medusajs / medusa

The world's most flexible commerce platform.
https://medusajs.com
MIT License
26.25k stars 2.67k forks source link

Docs(v2): Missing example for using Medusa's core flows #9263

Open itsjab opened 2 months ago

itsjab commented 2 months ago

What Medusa version and documentation are you using?

v2

Preliminary Checks

Issue Summary

From the docs, it is difficult to gauge how to use Medusa's core flows, such as createProductVariantsWorkflow. Yet, these workflows are extremely powerful when used in an API route or subscriber.

How can this issue be resolved?

The issue can be resolved by adding a few examples of using a core flow in an API route or subscriber.

I've been recently working on an API route, in which I've used the createProductVariantsWorkflow core flow. Would be simple enough to add this as an example.

Are you interested in working on this issue?

shahednasser commented 2 months ago

Thanks for opening this issue! Yes we're aware of this and we have it planned after finishing up other priorities. Hoping we can have them available some time soon for you to use 👍🏻

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.