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
CreateCartCreditLinesWorkflowInput
CreateCartCreditLinesWorkflowInputcart_id
stringamount
numberreference
string | nullreference_id
string | nullmetadata
Record<string, unknown> | nullCartCreditLineDTO[]
CartCreditLineDTO[]id
stringcart_id
stringamount
BigNumberValueraw_amount
BigNumberRawValuereference
null | stringreference_id
null | stringmetadata
null | Record<string, unknown>created_at
Dateupdated_at
Date