fix(types,order,medusa): Create credit lines + hooks (#11569)

what:

- api/workflows to create credit lines
- hooks to enable extending credit lines
This commit is contained in:
Riqwan Thamir
2025-03-17 16:20:59 +01:00
committed by GitHub
parent 0625f76cd4
commit cb6249320e
31 changed files with 630 additions and 111 deletions

View File

@@ -1389,9 +1389,7 @@ medusaIntegrationTestRunner({
const paymentCollection = (
await api.post(
`/store/payment-collections`,
{
cart_id: cart.id,
},
{ cart_id: cart.id },
storeHeaders
)
).data.payment_collection

View File

@@ -492,6 +492,10 @@ medusaIntegrationTestRunner({
},
}),
],
credit_lines: [],
credit_line_subtotal: 0,
credit_line_tax_total: 0,
credit_line_total: 0,
})
})
})