Use this endpoint to save shipping and billing address and payment information for the customer quote.
Sample Curl
curl --location 'https://mygatewayurl.com/V1/storeview/default/user/quote/shipping-information' --header 'Content-Type: application/json' --header 'Authorization: Bearer t8oanc9binn6aoun00gdesma4gnw5uys' --data-raw '{ "addressInformation": { "shipping_address": { "region_id": 1375, "country_id": "IQ", "street": [ "Street 6203 Antoine Neck" ], "telephone": "3343434323", "postcode": null, "city": "Al-Anbar Governorate", "firstname": "John", "lastname": "Smithereen", "customer_id": 78, "email": "[email protected]" }, "billing_address": { "region_id": 1375, "country_id": "IQ", "street": [ "Street 6203 Antoine Neck" ], "telephone": "3343434323", "postcode": null, "city": "Al-Anbar Governorate", "firstname": "John", "lastname": "Smithereen", "customer_id": 78, "email": "[email protected]" }, "shipping_method_code": "flatrate", "shipping_carrier_code": "flatrate" }}'
post https://{baseUrl}/V1/storeview//user/quote/shipping-information