Skip to content

Commit 75a75a2

Browse files
authored
Merge pull request #273 from woocommerce/update/products-documentation-images
Add new fields to image attributes in products documentation
2 parents d93a0c4 + 0f75f0b commit 75a75a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/includes/v3/_products.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ This section lists all API endpoints that can be used to create, edit or otherwi
9999
| `title` | string | Image title (attachment title) |
100100
| `alt` | string | Image alt text (attachment image alt text) |
101101
| `position` | integer | Image position. `0` means that the image is featured |
102+
| `srcset` | string | Image srcset for responsive images <i class="label label-info">read-only</i> |
103+
| `sizes` | string | Image sizes attribute for responsive images <i class="label label-info">read-only</i> |
104+
| `thumbnail` | string | Thumbnail image URL <i class="label label-info">read-only</i> |
102105

103106
<aside class="notice">
104107
<code>alt</code> and <code>title</code> attributes are writable starting from WooCommerce 2.5.

0 commit comments

Comments
 (0)