Set shipping info and get payment methods
POST
{{serverUrl}}/index.php/rest/V1/guest-carts/{{cartId}}/shipping-information
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
User-Agent
|
string |
|
Marks the start of Adyen API calls
|
RESPONSES
status
curl -X POST '/index.php/rest/V1/guest-carts//shipping-information' -H 'User-Agent: PostmanRuntime/7.41.1 (flow Magento REST)' -d '{"addressInformation":{"shipping_address":{"firstname":"Veronica","lastname":"Costello","company":"Adyen","street":["Simon Carmiggeltstraat","Main Street"],"city":"Amsterdam","region":"Amsterdam","postcode":"1011 DK","country_id":"NL","telephone":"123456789"},"shipping_carrier_code":"flatrate","shipping_method_code":"flatrate"}}'