- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteClaimsStep - Medusa Core Workflows Reference
This documentation provides a reference to the deleteClaimsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step deletes one or more order claims.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { deleteClaimsStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = deleteClaimsStep({8 "ids": [9 "id_T5JwXzYwA277tiFwRQF3"10 ]11 })12 }13)
Input#
DeleteOrderClaimsInput
DeleteOrderClaimsInputThe details of deleting one or more claims.
DeleteOrderClaimsInput
DeleteOrderClaimsInputids
string[]The IDs of the claims to delete.
ids
string[]Output#
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)
((void & WorkflowDataProperties<void>) | { [x: string]: string[] | WorkflowData<string[]>; }) & (void | Record<string, string[]>)Was this page helpful?