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
1mutation companyLocationCreateTaxRegistration($locationId: ID!, $taxId: String!) {2 companyLocationCreateTaxRegistration(locationId: $locationId, taxId: $taxId) {3 companyLocation {4 # CompanyLocation fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "locationId": "gid://shopify/<objectName>/10079785100",3 "taxId": "<your-taxId>"4}
{
"locationId": "gid://shopify/<objectName>/10079785100",
"taxId": "<your-taxId>"
}