Provide the authorized or anonymous token for a shopper.
expandstring
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
fieldsstring
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Provide the authorized or anonymous token for a shopper.
expandstring
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
fieldsstring
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Applies a postal code to a shipping address in the cart. <br> <br> <b>Note</b>: Applying the the postal code to the shipping address will trigger applicable tax calculations for the cart.
Provide the authorized or anonymous token for a shopper.
countrystring
Two digit country code (ISO 3166-2). See data.okfn.or/data/core/country-list for a complete list of country codes.
postalCodestring
Provide a country-specific length and format postal code to apply to the shipping address. When used, the postalCode also retrieves the city and state information required to support tax estimation for a cart.
suggestionIdstring
Provide the identifier of a Shipping Address Suggestion resource to apply to the cart's shipping address.
expandstring
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
fieldsstring
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Responses
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
curl -L \
--request POST \
--url 'https://api.digitalriver.com/v1/shoppers/me/carts/active/apply-shipping-address'
Get the shipping address for an order. You must specify the ID of the order in the {id} URI path parameter.
get
/v1/shoppers/me/orders/{orderId}/shipping-address
Path parameters
orderIdstringrequired
Provide the order's identifier.
Query parameters
tokenstring
Provide the authorized or anonymous token for a shopper.
expandstring
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
fieldsstring
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.