@plentymarkets/shop-api / getPayPalOrderDetails
Function: getPayPalOrderDetails() ​
getPayPalOrderDetails(
context,params):Promise<Data<PayPalOrderStatus>>
Defined in: api/getPayPalOrderDetails/index.ts:26
Method getPayPalOrderDetails - get the details of an PayPal order.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
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',
});