customerAddTaxExemptions mutation

Version unstable

Add tax exemptions to a customer.

Required access

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

Argument Description
customerId ( ID! ) required

The ID of the customer to update.

taxExemptions ( [TaxExemption!]! ) required

The list of tax exemptions to add to the customer.

Return fields

  • customer (Customer)

    The updated customer.

  • userErrors ([UserError!]!)

    The list of errors that occurred from executing the mutation.

Version 2021-10 (Release candidate)

Add tax exemptions to a customer.

Required access

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

Argument Description
customerId ( ID! ) required

The ID of the customer to update.

taxExemptions ( [TaxExemption!]! ) required

The list of tax exemptions to add to the customer.

Return fields

  • customer (Customer)

    The updated customer.

  • userErrors ([UserError!]!)

    The list of errors that occurred from executing the mutation.

Version 2021-07 (Latest)

Add tax exemptions to a customer.

Required access

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

Argument Description
customerId ( ID! ) required

The ID of the customer to update.

taxExemptions ( [TaxExemption!]! ) required

The list of tax exemptions to add to the customer.

Return fields

  • customer (Customer)

    The updated customer.

  • userErrors ([UserError!]!)

    The list of errors that occurred from executing the mutation.

Version 2021-04

Add tax exemptions to a customer.

Required access

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

Argument Description
customerId ( ID! ) required

The ID of the customer to update.

taxExemptions ( [TaxExemption!]! ) required

The list of tax exemptions to add to the customer.

Return fields

  • customer (Customer)

    The updated customer.

  • userErrors ([UserError!]!)

    The list of errors that occurred from executing the mutation.

Version 2021-01

Add tax exemptions to a customer.

Required access

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

Argument Description
customerId