Skip to content

Commit b8a7923

Browse files
committed
Add introduction+deprecation info for "postcode(s)" and "city(es)"
In the REST API entry point to update tax rates.
1 parent 626f8a4 commit b8a7923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/includes/wp-api-v3/_taxes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ The taxes API allows you to create, view, update, and delete individual tax rate
99
| `id` | integer | Unique identifier for the resource. <i class="label label-info">read-only</i> |
1010
| `country` | string | Country ISO 3166 code. See [ISO 3166 Codes (Countries)](http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html) for more details |
1111
| `state` | string | State code. |
12-
| `postcode` | string | Postcode/ZIP. Deprecated (doesn't support multiple values), `postcodes` should be used instead. |
13-
| `city` | string | City name. Deprecated (doesn't support multiple values), `cities` should be used instead. |
14-
| `postcodes`| string[] | Postcodes/ZIPs. |
15-
| `cities` | string[] | City names. |
12+
| `postcode` | string | Postcode/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, `postcodes` should be used instead. |
13+
| `city` | string | City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, `postcodes` should be used instead. |
14+
| `postcodes`| string[] | Postcodes/ZIPs. Introduced in WooCommerce 5.3. |
15+
| `cities` | string[] | City names. Introduced in WooCommerce 5.3. |
1616
| `rate` | string | Tax rate. |
1717
| `name` | string | Tax rate name. |
1818
| `priority` | integer | Tax priority. Only 1 matching rate per priority will be used. To define multiple tax rates for a single area you need to specify a different priority per rate. Default is `1`. |

0 commit comments

Comments
 (0)