Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Claudiu Lodromanean

    (@claudiulodro)

    There is no search for tax rates. https://woocommerce.github.io/woocommerce-rest-api-docs/wp-api-v1.html#tax-rates

    Search is available on many other endpoints, though.

    EDIT: If you want a specific tax rate, you can do e.g. ‘wp-json/wc/v1/taxes/72’

    EDIT2: My bad. :\ There is a search for tax rates. I was looking at the wrong API parameters screen.

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    Sory, this parameter should be not be included into the documentation, since there is no way to find by zipcode right now.
    I’m fixing the REST API docs. Thanks for let me know about it.

    Thread Starter knhark59

    (@knhark59)

    Thanks for the response.

    It would be nice to be able to get a single tax rate without knowing the id ahead of time, so I don’t have to download all tax rate records to search them.

    Are there any searchable fields in taxes?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use search parameter in API’ is closed to new replies.