@plentymarkets/shop-api / getPayPalOrderDetails
Function: getPayPalOrderDetails() ​
getPayPalOrderDetails(
context
,params
):Promise
<Data
<PayPalOrderStatus
>>
Method getPayPalOrderDetails - get the details of an PayPal order.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: PayPalGetOrderDetailsParams
Returns ​
Promise
<Data
<PayPalOrderStatus
>>
Remarks ​
- Calls the /rest/payment/payPal/order_details/payPalPayerId/paypalOrderId endpoint.
- This method is used to get the details of an PayPal order.
Example ​
ts
const { data } = await useSdk().plentysystems.getPayPalOrderDetails({
payPalPayerId: 'payPalPayerId',
paypalOrderId: 'paypalOrderId',
});