Skip to content

Commit b392434

Browse files
committed
Update rate_id type in tax_lines to integer
Fixes woocommerce/woocommerce#32037
1 parent f103223 commit b392434

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/includes/wp-api-v3/_order-refunds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The order refunds API allows you to create, view, and delete individual refunds,
6464
|----------------------|---------|------------------------------------------------------------------------------------------|
6565
| `id` | integer | Item ID. <i class="label label-info">read-only</i> |
6666
| `rate_code` | string | Tax rate code. <i class="label label-info">read-only</i> |
67-
| `rate_id` | string | Tax rate ID. <i class="label label-info">read-only</i> |
67+
| `rate_id` | integer | Tax rate ID. <i class="label label-info">read-only</i> |
6868
| `label` | string | Tax rate label. <i class="label label-info">read-only</i> |
6969
| `compound` | boolean | Show if is a compound tax rate. <i class="label label-info">read-only</i> |
7070
| `tax_total` | string | Tax total (not including shipping taxes). <i class="label label-info">read-only</i> |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ The orders API allows you to create, view, update, and delete individual, or a b
112112
|----------------------|---------|-------------------------------------------------------------------------------------|
113113
| `id` | integer | Item ID. <i class="label label-info">read-only</i> |
114114
| `rate_code` | string | Tax rate code. <i class="label label-info">read-only</i> |
115-
| `rate_id` | string | Tax rate ID. <i class="label label-info">read-only</i> |
115+
| `rate_id` | integer | Tax rate ID. <i class="label label-info">read-only</i> |
116116
| `label` | string | Tax rate label. <i class="label label-info">read-only</i> |
117117
| `compound` | boolean | Show if is a compound tax rate. <i class="label label-info">read-only</i> |
118118
| `tax_total` | string | Tax total (not including shipping taxes). <i class="label label-info">read-only</i> |

0 commit comments

Comments
 (0)