Logo
Salesforce Developers API Documentation

Get shipping address

GET {{orgUrl}}/services/data/v{{apiVersion}}/commerce/webstores/{{webstoreId}}/accounts/{{buyerAccountId}}/addresses?addressType=Shipping&sortOrder=CreatedDateDesc&excludeUnsupportedCountries=true

Returns all of the shipping addresses associated with the buyer account identified through the buyerAccountId variable. Sets the _addressId variable to the last created shipping address for that buyer account.

 

Body PARAM

Key Datatype Required Description 
addressType
string
sortOrder
string
excludeUnsupportedCountries
boolean



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X GET '/services/data/v57.0/commerce/webstores//accounts//addresses?addressType=Shipping&sortOrder=CreatedDateDesc&excludeUnsupportedCountries=true?addressType=Shipping&sortOrder=CreatedDateDesc&excludeUnsupportedCountries=true'

ENDPOINTS