@plentymarkets/shop-api / doPatchMolliePayment
Function: doPatchMolliePayment() ​
doPatchMolliePayment(
context
,params
):Promise
<Data
<MolliePayment
>>
Defined in: api/doPatchMolliePayment/index.ts:29
Method doPatchMolliePayment - Used to patch the mollie payment.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
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" }
]
});