Menu
Updates the order for PayPal Express Checkout
Updates the order for PayPal Express Checkout
POST
/paypal/updateOrderUse it in a workflow
- Add a step and choose the Adyen connector.
- Pick the Updates the order for PayPal Express Checkout action (under Utility).
- Fill in the fields below, then reference the result from later steps as
{{updatesTheOrderForPaypalExpressCheckout.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"amount": {
"currency": "string",
"value": 0
},
"deliveryAddress": {
"city": "string",
"country": "string",
"houseNumberOrName": "string",
"postalCode": "string",
"street": "string",
"firstName": "string",
"lastName": "string",
"stateOrProvince": "string"
},
"deliveryMethods": [
{
"amount": {
"currency": "string",
"value": 0
},
"description": "string",
"reference": "string",
"selected": false,
"type": "Shipping"
}
],
"discountAmount": {
"currency": "string",
"value": 0
},
"paymentData": "string",
"pspReference": "string",
"sessionId": "string",
"shippingAmount": {
"currency": "string",
"value": 0
},
"taxTotal": {
"amount": {
"currency": "string",
"value": 0
}
}
}
Response
Returns 200 with an object. Read it in later steps with {{updatesTheOrderForPaypalExpressCheckout.response.data.<field>}}.
{
"paymentData": "string",
"status": "error"
}
Need more? See the Adyen guide for connection setup and behaviour shared by every action.
Was this page helpful?