Skip to main content
objectCompanyActionAvailability

Fields

action
String!

The stable key of the action. Known keys: 'DEACTIVATE' (deactivate the company), 'REMOVE_VAT_ID' (remove the VAT ID of the country in 'Target'), 'DISABLE_SHIPPING_COUNTRY' (stop treating the country in 'Target' as a shipping country). New keys can be added; handle an unknown key as not known, never as a failure.

target
String

What the action refers to: the country code for the actions on a VAT ID, otherwise empty.

isAllowed
Boolean!

Whether the action is allowed right now.

The reasons why it is not, empty when it is allowed.