Delete an Address

Delete by ID

DELETE https://api.moltin.com/v2/customers/:customer_id/addresses/:address_id

Path Parameters

NameTypeDescription

address_id

string

The ID for the Address to delete

customer_id

string

A customer ID that has addresses

Headers

NameTypeDescription

X-Moltin-Customer-Token

string

A customer token used to access customer addresses for implicit calls

Authorization

string

The Bearer token to grant access to the API

With customer token

curl -X DELETE https://api.moltin.com/v2/customers/:customer_id/addresses/:address_id \
     -H "X-Moltin-Customer-Token: XXXX"
     -H "Authorization: Bearer XXXX"

Without customer token

curl -X DELETE https://api.moltin.com/v2/customers/:customer_id/addresses/:address_id \
     -H "Authorization: Bearer XXXX"

Last updated