Home › Forums › WoodMart support forum › Problem with REST API (PUT in products/attributes) › Reply To: Problem with REST API (PUT in products/attributes)
jcmachado
Thank you for the response.
Well, I have a program which uses the WooCommerce REST API in order to create products, its attributes and other product data from my ERP. Its simply uses http requests as documented by the API. I’m having a problem specifically when I try to update product attributes.
When I try a PUT request in wp-json/wc/v2/products/attributes/id endpoint, I end receiving the “Uncaught Error: Call to undefined function woodmart_admin_scripts_localize()” error.
Can you test the request using Postman (https://www.getpostman.com) app or ARC Chrome Extension? The instructions are below.