Logo
Salesforce Developers API Documentation

Update checkout with shipping address

PATCH {{orgUrl}}/services/data/v{{apiVersion}}/commerce/webstores/{{webstoreId}}/checkouts/:checkoutId

Sets the ship-to address associated with the checkout (variable checkoutId) to the address found/created in a previous request (variable _addressId).

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X PATCH '/services/data/v57.0/commerce/webstores//checkouts/:checkoutId' -H 'Content-Type: application/json' -d '{"deliveryAddress":{"id":"_addressId"}}'

ENDPOINTS