addOrderTransactionStep - Medusa Core Workflows Reference

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

This step creates order transactions.

Input#

CreateOrderTransactionDTO | CreateOrderTransactionDTO[]CreateOrderTransactionDTO | CreateOrderTransactionDTO[]

Output#

((OrderTransactionDTO | WorkflowData<OrderTransactionDTO>)[] | { id: string | WorkflowData<string>; ... 9 more ...; updated_at: string | ... 1 more ... | WorkflowData<...>; }) & (OrderTransactionDTO | ... 1 more ... | null)((OrderTransactionDTO | WorkflowData<OrderTransactionDTO>)[] | { id: string | WorkflowData<string>; ... 9 more ...; updated_at: string | ... 1 more ... | WorkflowData<...>; }) & (OrderTransactionDTO | ... 1 more ... | null)
Was this page helpful?