Title: REST Api values
Last modified: February 17, 2021

---

# REST Api values

 *  [pirumpi](https://wordpress.org/support/users/pirumpi/)
 * (@pirumpi)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/rest-api-values/)
 * Is there a way to retrieve the date’s price options from the woocommerce or wordpress
   rest api? It is not currently part of any product metadata.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * (@pektsekye)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/rest-api-values/#post-14061990)
 * Hello,
 * There are no functions for wordpress REST API for now.
 * You will need to write your custom functions to get the data from the “optiondateprice_range”
   database table.
 * Or you can use the getRangesJson() function in the file:
    wp-content/plugins/
   date-price-calendar/Block/Product/OptionCalendar.php
 * as an example of how to retrieve the calendar data for one product.
 * Stanislav

Viewing 1 replies (of 1 total)

The topic ‘REST Api values’ is closed to new replies.

 * ![](https://ps.w.org/date-price-calendar/assets/icon-256x256.png?rev=2090323)
 * [Date Price Calendar for WooCommerce](https://wordpress.org/plugins/date-price-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/date-price-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/date-price-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/date-price-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/date-price-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/rest-api-values/#post-14061990)
 * Status: not resolved