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
I Found an issue while updating variation images using updateVariationImages
After printing the actual response I got a "Resource Not Found" Error and it is due to request method
/**
* Updates variation images for the listing. You MUST pass data for ALL variation images, including the ones you are not updating, as this method will override all existing variation images.
*
* @link https://developers.etsy.com/documentation/reference#operation/updateVariationImages
* @param array $data
* @return Etsy\Collection[Etsy\Resources\ListingVariationImage]
*/
public function updateVariationImages(array $data) {
return $this->request(
"PUT",
"/application/shops/{$this->shop_id}/listings/{$this->listing_id}/variation-images",
"ListingVariationImage",
$data
);
}
As Per doc it should be of POST type instead of PUT
https://developer.etsy.com/documentation/reference/#operation/updateVariationImages
public function updateVariationImages(array $data) {
return $this->request(
"POST",
"/application/shops/{$this->shop_id}/listings/{$this->listing_id}/variation-images",
"ListingVariationImage",
$data
);
}
The text was updated successfully, but these errors were encountered:
I Found an issue while updating variation images using updateVariationImages
After printing the actual response I got a "Resource Not Found" Error and it is due to request method
The text was updated successfully, but these errors were encountered: