Set shipping information
documentedSet shipping information for the current cart.
POST /rest/{store_code}/V1/carts/mine/shipping-informationCheckoutno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$host}}/rest/{{$store_code}}/V1/carts/mine/shipping-information" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"addressInformation": {"shipping_address": {"region": "{{$region}}","region_id": {{$region_id}},"region_code": "{{$region_code}}","country_id": "{{$country_id}}","street": ["{{$shipping_street1}}","{{$shipping_street2}}"],"postcode": "{{$postcode}}","city": "{{$city}}","firstname": "{{$firstname}}","lastname": "{{$lastname}}","email": "{{$email}}","telephone": "{{$telephone}}"}, "billing_address": {"region": "{{$region}}","region_id": {{$region_id}},"region_code": "{{$region_code}}","country_id": "{{$country_id}}","street": ["{{$shipping_street1}}","{{$shipping_street2}}"],"postcode": "{{$postcode}}","city": "{{$city}}","firstname": "{{$firstname}}","lastname": "{{$lastname}}","email": "{{$email}}","telephone": "{{$telephone}}"},"shipping_carrier_code": "{{$shipping_carrier_code}}","shipping_method_code": "{{$shipping_method_code}}"}}'"