- Manage Webhook Subscriptions
- Customer Tokens
- Shipping Address Tokens
- Customer Payment Instrument Tokens
- Payment Instrument Tokens
- Instrument Identifier Tokens
- Network Tokens
Delete a Customer Shipping Address
This section describes 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}The is the customer token ID returned in
the path parameter, pass the
shipping address token ID response field returned when you created a shipping
address token. For more information, see Create a Customer and Create a Customer Shipping Address.
{customerTokenId}
id
field when you created the customer token. In the
{shippingAddressTokenId}
IMPORTANT
If you have more than one shipping address, the default shipping
address cannot be deleted without first selecting a new default shipping
address.