Magidoc

removeAddressFromCustomer
Mutation

This mutation removes an Address from a Customer

Arguments

#

addressId

ID !
Non-null

customerId

ID !
Non-null

Response

#

Returns Customer .

Example

#

    mutation ($addressId: ID!, $customerId: ID!) {
  removeAddressFromCustomer(addressId: $addressId, customerId: $customerId) {
    id
    externalId
    contactName
    businessName
    email
    phone
    taxId
    notes
    addresses {
      id
      externalId
      role
      name
      line1
      line2
      city
      state
      postalCode
      country
      hash
      createdAt
      updatedAt
    }
    contacts {
      id
      externalId
      title
      firstName
      lastName
      email
      phone
      jobTitle
      customerId
      createdAt
      updatedAt
    }
    createdAt
    updatedAt
  }
}

  

3