Remove User Address
On this page
GraphQL endpoint: /user
Removes an address from the user's profile. This permanently deletes the address record.
Query
mutation (
$id: ID!
) {
removeUserAddress (
id: $id
) {
id
city
country
state
street
zipCode
types
}
}
Variables
{
"id": "00000000-0000-4000-8000-000000000001"
}
Response
{
"data": {
"removeUserAddress": {
"city": "test city",
"country": "United States",
"id": "00000000-0000-4000-8000-000000000001",
"state": "Alabama",
"street": "test street 1",
"types": [
"HOME"
],
"zipCode": "12345"
}
}
}