Starfish API Documentation

deleteAddress

Deletes an existing address.

DeleteAddressMutationInput

Autogenerated input type of DeleteAddressMutation

  • clientMutationId: String

    A unique identifier for the client performing the mutation.

  • addressId: ID!required

DeleteAddressMutationPayload

Autogenerated return type of DeleteAddressMutation.

  • clientMutationId: String

    A unique identifier for the client performing the mutation.

  • errors: [InputError!]!

    Validation errors

Query

mutation($input: DeleteAddressMutationInput!) {
  deleteAddress(input: $input) {
    errors {
      message
      path
    }
  }
}

Variables

{
  "input": {
    "addressId": "Address-WXPFZMRQY4J"
  }
}

Response

{
  "data": {
    "deleteAddress": {
      "errors": []
    }
  }
}