Skip to content

Commit 626f8a4

Browse files
Document "postcodes" and "cities" as being of type array, not string
In the REST API entry point to update tax rates. Co-authored-by: Claudio Sanches <[email protected]>
1 parent 2fc75f4 commit 626f8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The taxes API allows you to create, view, update, and delete individual tax rate
1111
| `state` | string | State code. |
1212
| `postcode` | string | Postcode/ZIP. Deprecated (doesn't support multiple values), `postcodes` should be used instead. |
1313
| `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. |
14+
| `postcodes`| string[] | Postcodes/ZIPs. |
15+
| `cities` | string[] | City names. |
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)