Skip to content

Conversation

gigitux
Copy link
Contributor

@gigitux gigitux commented Jul 30, 2025

Summary

This PR updates the WooCommerce REST API v3 documentation to reflect new image metadata properties added to the Products controller. This documentation update aligns with the improvements made in woocommerce/woocommerce#60074.

Changes Made

Added three new image metadata properties to the Images Properties section in the Products REST API v3 documentation:

  • srcset - Image srcset for responsive images (read-only)
  • sizes - Image sizes attribute for responsive images (read-only)
  • thumbnail - Thumbnail image URL (read-only)

⚠️ Only merge once 10.2 is released after September 15, 2025 ⚠️

- Added `srcset`, `sizes`, and `thumbnail` attributes to the image section.
- Marked these attributes as read-only for clarity.
@gigitux gigitux marked this pull request as ready for review July 30, 2025 10:50
@gigitux gigitux self-assigned this Jul 30, 2025
@gigitux gigitux requested a review from kmanijak July 30, 2025 10:50
Copy link

@kmanijak kmanijak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for quickly addressing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants