API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

customerAddressDelete mutation

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Permanently deletes the address of an existing customer.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the address to delete.

Return fields

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

deletedCustomerAddressId (String)

ID of the deleted customer address.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead