• Resolved bhumi912

    (@bhumi912)


    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)
  • Plugin Author WP Swings

    (@wpswings)

    Hi,

    Thanks for using our plugin,

    Presently, our plugin doesn’t support or provide REST API.

    Regards,

    Thread Starter bhumi912

    (@bhumi912)

    ok but for want to customize let me know which field want to save so I will do my side

    Plugin Author WP Swings

    (@wpswings)

    Hey @bhumi912 ,

    For now we haven’t provided REST API in our plugin as well as we haven’t saved any key for REST API.

    Regards,

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.