Repository › Forums › Support › Expiry dates for WooCommerce PRO › REST API | FEATURES › Reply To: REST API | FEATURES
December 29, 2025 at 11:38 am #21465
Soft79
Keymaster
We don’t have special endpoints for REST API, but you can use the product’s meta fields as follows:
_j79_wcxd_expiriesshould be in this format:2018-01-12 x 5, 2018-03-20 x 10. It contains the expiry dates and quantities separated by a comma_j79_wcxd_sort_keyis only used for ordering of the products on the ‘Edit products’-page. It should contain the date of the oldest expiry date of a product, e.g.2018-01-12
Please note that we format the dates as YYYY-MM-DD.
For more detail, please check out method Save() in SOFT79_WCXD_Product_Logic.php.