Skip to content

Bulk submitting Tax Rules via API #552

Answered by sags95
turismoracing asked this question in Help
Discussion options

You must be logged in to vote

Yes it is possible, all of the tax settings can be modified through the /settings/taxes endpoint. You can create a new tax rule with a POST request to /settings/taxes/rules

POST '/settings/taxes/rules',
{
  "id": "bc",
  "name": "BC",
  "priority": null,
  "origin": null,
  "categories": [],
  "shipping": false,
  "product_classes": [
    "standard"
  ],
  "account_classes": [],
  "rates": [
    {
      "name": "GST & PST",
      "country": "CA",
      "rate": 13,
      "state": "BC",
      "zip": null,
      "$locale": {
        "en-US": {
          "name": "GST & PST"
        },
        "fr": {
          "name": ""
        }
      }
    }
  ]
}

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by logeshswell
Comment options

You must be logged in to vote
5 replies
@sags95
Comment options

@mcconnon12
Comment options

@ericingram
Comment options

@mcconnon12
Comment options

@ericingram
Comment options

Comment options

You must be logged in to vote
1 reply
@ericingram
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
4 participants