Support

Account

Home Forums Backend Issues (wp-admin) JSON REST API and ACF? Reply To: JSON REST API and ACF?

  • There is a way to update via REST API a Woocommerce product Category acf field?

    I saw that in the endpoint list (https://domain.com/2020/wp-json/acf/v3/) … there is not an endpoint for Woocommerce product Categories!!!

    but if possible I want to update the acf field by using the Woocommerce endpoint:
    https://domain.com/2020/wp-json/wc/v3/products/categories/123

    I tried with:

    endpoint:
    https://domain.com/2020/wp-json/wc/v3/products/categories/123

    json string:
    {“name”:”My Category”,”slug”:”my-category”,”meta_data”:[{“key”:”my_acffieldname”,”value”:”my value”}]}

    this works for woocommerce products but not for woocommerce categories!!

    please can you help me?