API fu…cc…
can one tell us the fix for this, i can’t wait for yet ANOTHER version that will break all i did…
i need to use this api and it returns a 404 message
see
[url=“http://forum.cs-cart.com/tracker/issue-4200-api-error/”]http://forum.cs-cart.com/tracker/issue-4200-api-error/[/url]
never mind, doing your job i found in Tygh/Api.php that you have _d in there instead of q=
might want to update your wiki…
for main pair… just trying to upload 1 picture of main product… and that aint working…
got an example ?
$data=array('product_code'=>$ilc,
'product' => $product,
'full_description' => $description,
'main_category'=>'779',
'category_ids'=>array(779),
'company_id'=>7,
'out_of_stock_actions'=>'S',
'status'=>'H',
'main_pair'=> array('http_image_path' => 'http://someurl/images.jpg'),
'price'=>$price
);
detailed what is that ? says explained below but surely ain't
or do i need
'main_pair'=> array('detailed' => array('http_image_path' => 'http://someurl/images.jpg')),
detailed Full image data — array (content explained below)
never mind again, seems the second option worked… now i just don't know if we need to pull anything before adding secondary images ? or can we do in one swipe ? like can i add additional images without passing anything else then the image path ?
guess not, anyideas ?