createOrderClaimItemsFromActionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createOrderClaimItemsFromActionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates claim items from a change action.
Example#
Input#
CreateOrderClaimItemsFromActionsInput
CreateOrderClaimItemsFromActionsInputThe details of creating the claim items from a change action.
CreateOrderClaimItemsFromActionsInput
CreateOrderClaimItemsFromActionsInputchanges
OrderChangeActionDTO[]The change actions to create claim items from.
changes
OrderChangeActionDTO[]claimId
stringThe ID of the claim to create the items for.
claimId
stringOutput#
OrderClaimItemDTO[]
OrderClaimItemDTO[]
OrderClaimItemDTO[]
OrderClaimItemDTO[]id
stringThe ID of the order claim item.
id
stringclaim_id
stringThe associated claim's ID.
claim_id
stringorder_id
stringThe associated order's ID.
order_id
stringitem_id
stringThe associated item's ID.
item_id
stringitem
OrderLineItemDTOThe associated item.
item
OrderLineItemDTOquantity
numberThe quantity of the order claim item
quantity
numberreason
ClaimReasonThe reason of the order claim item
reason
ClaimReasonraw_quantity
BigNumberRawValueThe raw quantity of the order claim item
raw_quantity
BigNumberRawValuemetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>Optionalcreated_at
string | DateOptionalThe creation date of the order claim item
created_at
string | DateOptionalupdated_at
string | DateOptionalThe update date of the order claim item
updated_at
string | DateOptionalWas this page helpful?