@@ -4,7 +4,7 @@ The products API allows you to create, view, update, and delete individual, or a
4
4
5
5
## Product properties ##
6
6
7
- | Attribute | Type | Description |
7
+ | Attribute | Type | Description |
8
8
| ----------------------| -----------| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
9
9
| ` id ` | integer | Unique identifier for the resource. <i class =" label label-info " >read-only</i > |
10
10
| ` name ` | string | Product name. |
@@ -70,39 +70,39 @@ The products API allows you to create, view, update, and delete individual, or a
70
70
71
71
### Download properties ###
72
72
73
- | Attribute | Type | Description |
73
+ | Attribute | Type | Description |
74
74
| -----------| --------| ----------------------------------------------------------------------|
75
- | ` id ` | string | File MD5 hash. < i class = " label label-info " >read-only</ i > |
75
+ | ` id ` | string | File ID. |
76
76
| ` name ` | string | File name. |
77
77
| ` file ` | string | File URL. In write-mode you can use this property to send new files. |
78
78
79
79
### Dimension properties ###
80
80
81
- | Attribute | Type | Description |
81
+ | Attribute | Type | Description |
82
82
| -----------| --------| -----------------------------------|
83
83
| ` length ` | string | Product length in decimal format. |
84
84
| ` width ` | string | Product width in decimal format. |
85
85
| ` height ` | string | Product height in decimal format. |
86
86
87
87
### Category properties ###
88
88
89
- | Attribute | Type | Description |
89
+ | Attribute | Type | Description |
90
90
| -----------| ---------| ----------------------------------------------------------|
91
91
| ` id ` | integer | Category ID. |
92
92
| ` name ` | string | Category name. <i class =" label label-info " >read-only</i > |
93
93
| ` slug ` | string | Category slug. <i class =" label label-info " >read-only</i > |
94
94
95
95
### Tag properties ###
96
96
97
- | Attribute | Type | Description |
98
- | -----------| ---------| ---------------------------------------------------------- |
97
+ | Attribute | Type | Description |
98
+ | -----------| ---------| -----------------------------------------------------|
99
99
| ` id ` | integer | Tag ID. |
100
100
| ` name ` | string | Tag name. <i class =" label label-info " >read-only</i > |
101
101
| ` slug ` | string | Tag slug. <i class =" label label-info " >read-only</i > |
102
102
103
103
### Image properties ###
104
104
105
- | Attribute | Type | Description |
105
+ | Attribute | Type | Description |
106
106
| -----------------| -----------| ---------------------------------------------------------------------------------------------------------|
107
107
| ` id ` | integer | Image ID (attachment ID). In write-mode used to attach pre-existing images. |
108
108
| ` date_created ` | date-time | The date the image was created, in the site's timezone. <i class =" label label-info " >read-only</i > |
@@ -114,7 +114,7 @@ The products API allows you to create, view, update, and delete individual, or a
114
114
115
115
### Attribute properties ###
116
116
117
- | Attribute | Type | Description |
117
+ | Attribute | Type | Description |
118
118
| -------------| ---------| -------------------------------------------------------------------------------------------------------------------|
119
119
| ` id ` | integer | Attribute ID (required if is a global attribute). |
120
120
| ` name ` | string | Attribute name (required if is a non-global attribute). |
@@ -125,15 +125,15 @@ The products API allows you to create, view, update, and delete individual, or a
125
125
126
126
### Default attribute properties ###
127
127
128
- | Attribute | Type | Description |
128
+ | Attribute | Type | Description |
129
129
| -----------| ---------| ---------------------------------------------------------|
130
130
| ` id ` | integer | Attribute ID (required if is a global attribute). |
131
131
| ` name ` | string | Attribute name (required if is a non-global attribute). |
132
132
| ` option ` | string | Selected attribute term name. |
133
133
134
134
### Variation properties ###
135
135
136
- | Attribute | Type | Description |
136
+ | Attribute | Type | Description |
137
137
| ----------------------| -----------| -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
138
138
| ` id ` | integer | Variation ID. <i class =" label label-info " >read-only</i > |
139
139
| ` date_created ` | date-time | The date the variation was created, in the site's timezone. <i class =" label label-info " >read-only</i > |
@@ -170,7 +170,7 @@ The products API allows you to create, view, update, and delete individual, or a
170
170
171
171
### Variation attribute properties ###
172
172
173
- | Attribute | Type | Description |
173
+ | Attribute | Type | Description |
174
174
| -----------| ---------| ---------------------------------------------------------|
175
175
| ` id ` | integer | Attribute ID (required if is a global attribute). |
176
176
| ` name ` | string | Attribute name (required if is a non-global attribute). |
@@ -1889,7 +1889,7 @@ woocommerce.get("products").parsed_response
1889
1889
1890
1890
#### Available parameters ####
1891
1891
1892
- | Parameter | Type | Description |
1892
+ | Parameter | Type | Description |
1893
1893
| ------------------| ---------| -------------------------------------------------------------------------------------------------------------------------------------------------|
1894
1894
| ` context ` | string | Scope under which the request is made; determines fields present in response. Options: ` view ` and ` edit ` . |
1895
1895
| ` page ` | integer | Current page of the collection. |
@@ -2236,7 +2236,7 @@ woocommerce.delete("products/162", force: true).parsed_response
2236
2236
2237
2237
#### Available parameters ####
2238
2238
2239
- | Parameter | Type | Description |
2239
+ | Parameter | Type | Description |
2240
2240
| -----------| --------| ---------------------------------------------------------------------------|
2241
2241
| ` force ` | string | Use ` true ` whether to permanently delete the product, Default is ` false ` . |
2242
2242
@@ -3343,7 +3343,7 @@ woocommerce.get("products/162/reviews/9").parsed_response
3343
3343
3344
3344
### Product review properties ###
3345
3345
3346
- | Attribute | Type | Description |
3346
+ | Attribute | Type | Description |
3347
3347
| ----------------| ---------| ----------------------------------------------------------------------------------------------------|
3348
3348
| ` id ` | integer | Unique identifier for the resource. <i class =" label label-info " >read-only</i > |
3349
3349
| ` date_created ` | string | The date the review was created, in the site's timezone. <i class =" label label-info " >read-only</i > |
0 commit comments