@plentymarkets/shop-api / doHandlePayPalAddress
Function: doHandlePayPalAddress() ​
doHandlePayPalAddress(
context
,params
):Promise
<Data
<PayPalHandleAddressResponse
>>
Defined in: api/paypalModule/doHandlePayPalAddress/index.ts:22
Method doHandlePayPalAddress - Used to set the PayPal address into Plenty context.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
Returns ​
Promise
<Data
<PayPalHandleAddressResponse
>>
Remarks ​
- Calls /rest/paypal/handle/address/order/:plentyOrderId
- Method should be used to set the PayPal address into Plenty context.
Example ​
ts
const { data } = await useSdk().plentysystems.doHandlePayPalAddress({ plentyOrderId: 1234 });