- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteShippingOptionRulesStep - Medusa Core Workflows Reference
This documentation provides a reference to the deleteShippingOptionRulesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step deletes one or more shipping option rules.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { deleteShippingOptionRulesStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = deleteShippingOptionRulesStep({8 "ids": [9 "id_nFE8qPWBTfQ8pmEluh"10 ]11 })12 }13)
Input#
RemoveFulfillmentShippingOptionRulesWorkflowDTO
RemoveFulfillmentShippingOptionRulesWorkflowDTOThe data to delete shipping option rules.
RemoveFulfillmentShippingOptionRulesWorkflowDTO
RemoveFulfillmentShippingOptionRulesWorkflowDTOids
string[]The IDs of the shipping option rules to delete.
ids
string[]Output#
string[]
string[]
string[]
string[]string
string
string
stringWas this page helpful?