@plentymarkets/shop-api / doPatchMolliePayment
Function: doPatchMolliePayment() ​
doPatchMolliePayment(
context
,params
):Promise
<Data
<MolliePayment
>>
Method doPatchMolliePayment - Used to patch the mollie payment.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: MolliePatchPaymentParams
Returns ​
Promise
<Data
<MolliePayment
>>
Remarks ​
- Calls /rest/mollie/update_mollie_payment/{paymentId} endpoint.
- This method is used to get the order with the current prices.
Example ​
ts
const { data } = await useSdk().plentysystems.doPatchMolliePayment({
paymentId: "tr_123123",
data: [
{ param: "value" }
]
});