Set shipping info and get payment methods
POST {{serverUrl}}/index.php/rest/V1/guest-carts/{{cartId}}/shipping-information
Request Body
{"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"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
User-Agent | string | Marks the start of Adyen API calls |