Use Product API to update product but get 422

Use Product API to update product but get 422

HelloWorld2222
Visitor
2 0 0

this is response {"errors":{"base":["The product_taxonomy_node_id is not valid"]}}

the api i use

https://shopify.dev/docs/api/admin-rest/2024-07/resources/product#put-products-product-id

 

curl -d '{"product":{"id":8028290318381,"title":"New product title"}}' \
-X PUT "https://836ae0-68.myshopify.com/admin/api/2024-10/products/8028290318381.json" \
-H "X-Shopify-Access-Token: {my token}" \
-H "Content-Type: application/json"

Reply 1 (1)

HelloWorld2222
Visitor
2 0 0

😫😣