Managing the shipping or billing address

Learn how to manage the shipping or billing address.

Billing addresses

Getting the billing address for an order

You can get the billing address for an orderarrow-up-right by providing the orderId.

curl --location -g --request GET ' https://api.digitalriver.com/v1/shoppers/me/orders/{orderId}/billing-address' \
--header 'Authorization: Basic Basic {{access_token}}' \
...

See the Billing address for more information

Getting the billing address for a cart

You can get the billing address for a cartarrow-up-right.

curl --location -g --request GET 'https://api.digitalriver.com/v1/shoppers/me/carts/active/billing-address' \
--header 'Authorization: Basic {{access_token}}' \
...

See the Billing address for more information.

Adding or updating the cart's billing address

You can update a customer's billing addressarrow-up-right by including the billing address (billingAddress) object in the payload.

circle-info

CCAvenue requires the shopper's phoneNumber in the address object. ??? Verify this statement in true? ???

You will get a 204 No Content response. See the Billing address for more information.

Applying a billing address to a cart

You can apply a customer's billing address to a cartarrow-up-right.

See the Billing address for more information.

Shipping addresses

Getting the shipping address for an order

You can get the shipping address for an orderarrow-up-right by specifying the orderId.

See the Shipping address for more information.

Getting the shipping address for a cart

You can get the shipping address for a cartarrow-up-right.

See the Shipping address for more information.

Adding or updating the cart's shipping address

You can add or update a customer's billingarrow-up-right or shipping addressarrow-up-right by including the billing address (billingAddress) or shipping address (shippingAddress) object in the payload.

You will get a 200 Successful response.

You will get a 204 No Content response.

Applying a shipping address to a cart

You can apply a customer's shipping address to a cartarrow-up-right.

See the Shipping address for more information.

Updating the shipping or billing address in the payload

You can update a customer's billing or shipping addressarrow-up-right by including the billing address (billingAddress) or shipping address (shippingAddress) object in the payload.

You will get a 200 Successful response. See the Shipping address for more information.

Last updated