I’m a bit confused…it looks like you’re talking about several different things. uid in the CreateOrder request can be literally anything…it doesn’t belong to the tax, and it’s just so you can interact with the tax in the order request (like assigning it to a specific item). Do you see this uid in your actual Catalog?
Can you share your application id? I’m still not following. The URL suggests you’re trying to get one single tax id, but the error and “order” suggests you’re trying to create an order. There is no “order” in Catalog, so I’m not sure what this is.
Edit: I do not see a “tax_type_id” parameter on a TAX object, so I’m not sure what this is. Again, to reiterate, the “uid” in an order, should be unique and it can be anything you want. It does not need to be equal to some id that the tax object knows about. It can be a random string or whatever, so long as it’s the same everywhere you need to access it in the order. It can be different each time you add it to an order, even.
The uid is not set on the Catalog object as I mentioned. The uid is only for the Order. You can literally set it to whatever you want, there is no “changing” it since it’s not saved anywhere. You just need to make each of them unique in the CreateOrder request. Please let me know if I misunderstood, or if you have additional questions.
Right…this “uid” is literally just a string. You’re supplying “us_sales_tax”, but it can be anything. Change the value in the CreateOrder request, and the error will be resolved.
You do not need to use the id from the response, as I’ve said above, it can be anything. The uid must match in all places of the order request, or it will say it does not exist. The uid is solely to identify the tax in the order. It has no meaning outside of the order.