createRemoteLinkStep - Helper Steps API Reference

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

Example#

Code
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { createRemoteLinkStep } from "@medusajs/medusa/core-flows"3import { Modules } from "@medusajs/framework/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?