You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to add price on new product through api. Below is the code which i am using to add new product. Can you please tell me where is the error.
Hello, I want to add price on new product through api. Below is the code which i am using to add new product. Can you please tell me where is the error.
$newproduct = array
(
"product"=>array
(
"title"=>"Product again",
"body_html"=>"testing product",
"vendor"=>"Vendor",
"product_type"=>"Test",
"variants": [ {"price": 12.00 } ]
)
);
Thanks in advance.
Regards,
The text was updated successfully, but these errors were encountered: