Anchor to companyLocationCreateTaxRegistrationcompany
companyLocationCreateTaxRegistration
mutationDeprecated
Requires access scope or
access scope. Also: The API client must be installed on a Shopify Plus store.
Creates a tax registration for a company location. Use instead.
Anchor to Arguments
Arguments
- Anchor to locationIdlocation•
Id ID!required The ID of the company location that the tax registration gets assigned to.
- Anchor to taxIdtax•
Id String!required The unique tax id for the tax registration.
Was this section helpful?
Anchor to CompanyLocationCreateTaxRegistrationPayload returnsCompanyLocationCreateTaxRegistrationPayload returns
- Anchor to companyLocationcompany•
Location The company location with the created tax registration.
- Anchor to userErrorsuser•
Errors [BusinessCustomer non-nullUser Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation companyLocationCreateTaxRegistration($locationId: ID!, $taxId: String!) {
companyLocationCreateTaxRegistration(locationId: $locationId, taxId: $taxId) {
companyLocation {
# CompanyLocation fields
}
userErrors {
field
message
}
}
}
Input
{
"locationId": "gid://shopify/<objectName>/10079785100",
"taxId": "<your-taxId>"
}
{
"locationId": "gid://shopify/<objectName>/10079785100",
"taxId": "<your-taxId>"
}