Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎3 - Profile Store‎ > ‎

Delete Address

Will delete a consumer's address from the profile store.  The UserKey and AddressKey are required.

Method: DELETE /api/v3/publisher/profilestore/{userKey}/address/{addressKey}

Authentication: oauth

Url Parameters:
userKey - The userKey of the consumer/profile record.
addressKey - The addressKey of the actual address.  Use GetAddresses to determine the address key.

Post (no post body)
Required Form Name Data Type Explanation

Returns
success - Whether the address was deleted successfully.


Sample Request:

DELETE https://api.groupcommerce.com/api/v3/publisher/profilestore/UserKey1/address/home

Form: <no form>

Authorization: OAuth oauth_signature="XVZ6Cb5HMaZfLJcMamEQNOQa9Mg%3D", oauth_nonce="1849196", oauth_timestamp="1361930811", oauth_consumer_key="eeb6b959-b854-4ad1-b563-e801c83cf81d", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"


Sample JSON Response:

{
    "errors":[],
    "lastPublished":"/Date(1319762442406)/",
    "success":true,
    "version":"3"
}


Sample XML Response:

<deleteAddressResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <errors/>
    <lastPublished>2011-10-28T00:41:46.6073105Z</lastPublished>
    <success>true</success>
    <version>3</version>
</deleteAddressResponse>
Comments