API ReferenceCommerceCustomers & ordersTax GraphQLClassificationMutationcreateReferencesForClassification
createReferencesForClassification
View as MarkdownCreate references for an existing classification.
mutation
Requires commerce.tax:create.
Create references for an existing classification.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
idID!required — The ID of the classification for which the references should be created.inputMutationCreateReferencesForClassificationInput!requiredreferences[CreateReferenceInput!]!required — The references to be created for the classification.originString!required — The origin of the reference.valueString!required — The value of the reference.
Possible returns
ClassificationClassification— A grouping of rates that share common taxation criteria.
Last updated on
How is this guide?