Loading...
Was this page helpful?
This documentation provides a reference to the createCartCreditLinesWorkflow. It belongs to the @medusajs/medusa/core-flows package.
This workflow creates one or more credit lines for a cart.
Source CodeWorkflow hook
Step conditioned by when
View step details
CreateCartCreditLinesWorkflowInputCreateCartCreditLinesWorkflowInputcart_idstringamountnumberreferencestring | nullreference_idstring | nullmetadataRecord<string, unknown> | nullCartCreditLineDTO[]CartCreditLineDTO[]idstringcart_idstringamountBigNumberValueraw_amountBigNumberRawValuereferencenull | stringreference_idnull | stringmetadatanull | Record<string, unknown>created_atDateupdated_atDate