Support

Account

Home Forums ACF PRO Update WooCommerce product category custom fields using REST API Reply To: Update WooCommerce product category custom fields using REST API

  • it seems that this end point is not editable:
    /wp-json/acf/v3/{taxonomy}/{id}

    The end point I tried to use is:
    https://mysite.com/wp-json/acf/v3/categories/123
    (Is there a specific end-point for woocommerce categories for example like: https://mysite.com/wp-json/acf/v3/product/categories/123 ???)

    If I make a GET call of the url (https://mysite.com/wp-json/acf/v3/categories/123), the response is:
    {“acf”:{“title_01″:”My title”,”text_01″:”My text”,}}

    With POST or PUT call the response is:
    {“code”:”cant_update_item”,”message”:”Cannot update item”,”data”:{“status”:500}}

    My WP version is: 5.3.2
    My Advanced Custom Fields PRO version is 5.8.8

    Please help…..