Learning Resources

createRemoteLinkStep - Helper Steps API Reference

This documentation provides a reference to the createRemoteLinkStep step. It belongs to the @medusajs/core-flows package.

Example#

Code
1import { createWorkflow } from "@medusajs/workflows-sdk"2import { createRemoteLinkStep } from "@medusajs/core-flows"3import { Modules } from "@medusajs/utils"4
5const helloWorldWorkflow = createWorkflow("hello-world", () => {6  createRemoteLinkStep([7    {8      [Modules.PRODUCT]: {9        product_id: "prod_123",10      },11      helloModuleService: {12        my_custom_id: "mc_123",13      },14    },15  ])16})

Input#

LinkDefinition[]LinkDefinition[]

Output#

LinkDefinition[]LinkDefinition[]
Was this page helpful?