Loading...
Was this page helpful?
This documentation provides a reference to the canDeleteSalesChannelsOrThrowStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the specified sales channels can be deleted. If any of the sales channels are default sales channels for a store, the step will throw an error.
CanDeleteSalesChannelsOrThrowStepInput
CanDeleteSalesChannelsOrThrowStepInputids
string | string[]false & WorkflowDataProperties<false> | true & WorkflowDataProperties<true>
false & WorkflowDataProperties<false> | true & WorkflowDataProperties<true>false & WorkflowDataProperties<false> | true & WorkflowDataProperties<true>
false & WorkflowDataProperties<false> | true & WorkflowDataProperties<true>