How to add to cart item using rest API
-
Hello,
I am using your plugin for booking
But I want to issue with REST API
for simple product and variable product working with woocommerce Rest API but how to bookable product use?Simple prodcut
https://www.examples.com/wp-json/wc/store/cart/add-item
=========
{
“id” : “15489”,
“quantity” : “2”,
}Variable Product
============
{
“id” : “15489”,
“quantity” : “2”,
‘variation’ => {
‘attribute_colours’: ‘Red’,
‘attribute_pa_size’: ‘2x-large’
}
}can you please let me know how to use bookable product
Thank you in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to add to cart item using rest API’ is closed to new replies.