Skip to main content

removeAddress

Requires a customer (portal or buyer app) session.

Soft-delete an address owned by the buyer.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation RemoveAddress($addressId: ID!) {
removeAddress(addressId: $addressId)
}

Variables:

{
"addressId": "id"
}

Response:

{
"data": {
"removeAddress": true
}
}
removeAddress(
addressId: ID!
): Boolean!

Arguments​

removeAddress.addressId ● ID! non-null scalar​

The ID of the address.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.