Menu

Delete a Customer Shipping Address

This section shows you how to delete a customer shipping address.

Endpoint

Test:
DELETE
https://apitest.cybersource.com
/tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}
Production:
DELETE
https://api.cybersource.com
/tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}
Production in India:
DELETE
https://api.in.cybersource.com
/tms/v2/customers/{customerTokenId}/shipping-addresses/{shippingAddressTokenId}
customerTokenId
is the customer token
id
returned when you created the customer token. In the
customerTokenId
path parameter, pass the shipping address token
id
response field returned when you created a shipping address token. See Create a Customer and Create a Customer Shipping Address.
IMPORTANT
If you have more than one shipping address, the default shipping address cannot be deleted without first selecting a new default shipping address.
Back to top