• Resolved cesarcyx

    (@cesarcyx)


    Hi. I′ll like working with this plugin if i can get and put from rest API. I need add red color and its hexa #ff0000. Is it posibble from rest API? I look for documentation and i dont see nothing. Can you get and put type for this?

    I only receive this, i don’t see hexadecimal
    https://xxxx.com/wp-json/wc/v3/products/attributes/3/terms/79?consumer_key=ck_57c……%5B%5D

    {
    
    ????"id":?79,
    ????"name":?"REF",
    ????"slug":?"2",
    ????"description":?"RED",
    ????"menu_order":?0,
    ????"count":?2,
    ????"_links":?{
    ????????"self":?[
    ????????????{
    ????????????????"href":?"https://XXXX.com/wp-json/wc/v3/products/attributes/3/terms/79"
    ????????????}
    ????????],
    ????????"collection":?[
    ????????????{
    ????????????????"href":?"https://XXXX.com/wp-json/wc/v3/products/attributes/3/terms"
    ????????????}
    ????????]
    ????}
    }

    Thanks

    • This topic was modified 1 year, 2 months ago by cesarcyx.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,

    unfortunately by default WooCommerce does not include the value in the Rest API, you could obtain it with a customization.

    Take a look at this post as example. Unfortunately I can’t support you on this.

    Thread Starter cesarcyx

    (@cesarcyx)

    Hi. Thanks. I’ll try.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it posibble CRUD from rest API?’ is closed to new replies.