createCartCreditLinesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createCartCreditLinesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
Examples#
Input#
CreateCartCreditLineDTO[]
CreateCartCreditLineDTO[]Output#
CartCreditLineDTO[]
CartCreditLineDTO[]
CartCreditLineDTO[]
CartCreditLineDTO[]id
stringThe ID of the cart credit line.
id
stringcart_id
stringThe ID of the cart that the credit line belongs to.
cart_id
stringamount
BigNumberValueThe amount of the credit line.
amount
BigNumberValueraw_amount
BigNumberRawValueThe raw amount of the credit line.
raw_amount
BigNumberRawValuereference
null | stringThe reference model name that the credit line is generated from
reference
null | stringreference_id
null | stringThe reference model id that the credit line is generated from
reference_id
null | stringmetadata
null | Record<string, unknown>The metadata of the cart detail
metadata
null | Record<string, unknown>created_at
DateThe date when the cart credit line was created.
created_at
Dateupdated_at
DateThe date when the cart credit line was last updated.
updated_at
DateWas this page helpful?