Answer the question
In order to leave comments, you need to log in
Who used woocomerce rest api command batch processing not working?
I use rest api woocomerce. Everything seems to be fine, but batch requests do not work.
Maybe something is not included. Or I do not understand something?
Client application 1s 7.7 on it I will shy away HTTP requests. Everything works correctly creating one element, getting lists of elements except for one batch input.
Command = /wp-json/wc/v3/products/batch;
Request Body =
{"create":[
{
"name":"1 сорт Брус дверной коробки 34*70*21-10 Итал. орех",
"type":"simple",
"status":"publish",
"featured":false,
"catalog_visibility":"visible",
"sku":"",
"regular_price":"150.00",
"virtual":false,
"downloadable":false,
"tax_status":"none",
"manage_stock":true
},
{
"name":"102/34 Плита потолочная *38",
"type":"simple",
"status":"publish",
"featured":false,
"catalog_visibility":"visible",
"sku":"",
"regular_price":"150.00",
"virtual":false,
"downloadable":false,
"tax_status":"none",
"manage_stock":true
}]}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question