Hello,
I'm trying to update two custom fields on my woocommerce products doing the following:
curl --location -g --request POST 'https://my.site/wp-json/wc/v3/products/317?meta_box={"inventory_warehouse1":1}' \
--header 'Authorization: XXXXX'
curl --location --request PUT 'https://my.site/wp-json/wc/v3/products/317' \
--header 'Authorization: XXXXXX' \
--header 'Content-Type: application/json' \
--data-raw '{"meta_box": {"inventory_warehouse1":1 } }'
But no success. Any idea what could be the issue?