updateRemoteLinksStep - Helper Steps API Reference

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

src/workflows/my-workflow.ts
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { updateRemoteLinksStep } from "@medusajs/medusa/core-flows"3
4const myWorkflow = createWorkflow(5  "my-workflow",6  () => {7    const data = updateRemoteLinksStep([8      {}9    ])10  }11)

Input#

LinkDefinition[]LinkDefinition[]
LinkDefinitionobject & object
A link for two records of linked data models. The keys are the names of each module, and their value is an object that holds the ID of the linked data model's record.

Output#

LinkDefinition[]LinkDefinition[]
LinkDefinitionobject & object
A link for two records of linked data models. The keys are the names of each module, and their value is an object that holds the ID of the linked data model's record.
Was this page helpful?