Skip to content

Commit 5d94e9a

Browse files
Merge pull request #60 from icoderman/master
Fix variation properties dimensions incorrect type, closes #59
2 parents 9e2188b + 726a385 commit 5d94e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/wp-api-v1/_products.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The products API allows you to create, view, update, and delete individual, or a
161161
| `backorders_allowed` | boolean | Shows if backorders are allowed." <i class="label label-info">read-only</i> |
162162
| `backordered` | boolean | Shows if a variation is on backorder (if the variation have the `stock_quantity` negative). <i class="label label-info">read-only</i> |
163163
| `weight` | string | Variation weight in decimal format. |
164-
| `dimensions` | array | Variation dimensions. See [Dimensions properties](#dimension-properties). |
164+
| `dimensions` | object | Variation dimensions. See [Dimensions properties](#dimension-properties). |
165165
| `shipping_class` | string | Shipping class slug. Shipping classes are used by certain shipping methods to group similar products. |
166166
| `shipping_class_id` | integer | Shipping class ID. <i class="label label-info">read-only</i> |
167167
| `image` | array | Variation featured image. Only position `0` will be used. See [Images properties](#image-properties). |

0 commit comments

Comments
 (0)