@plentymarkets/shop-api / getPayPalOrder
Function: getPayPalOrder() ​
getPayPalOrder(
context
,params
):Promise
<Data
<PayPalOrderStatus
>>
Method getPayPalOrder - Used to get a PayPal order.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: PayPalGetOrderRequest
Returns ​
Promise
<Data
<PayPalOrderStatus
>>
Remarks ​
- Calls /rest/paypal/order/get/:paypalOrderId
- Method should be used to get a PayPal order.
Example ​
ts
const { data } = await useSdk().plentysystems.getPayPalOrder({ paypalOrderId: 'paypal-123' });