class MailchimpMarketing::EcommerceApi
def update_product_image(store_id, product_id, image_id, body, opts = {})
def update_product_image(store_id, product_id, image_id, body, opts = {}) fail ArgumentError, "Missing required param: 'store_id'" if store_id.nil? fail ArgumentError, "Missing required param: 'product_id'" if product_id.nil? fail ArgumentError, "Missing required param: 'image_id'" if image_id.nil? fail ArgumentError, "Missing required param: 'body'" if body.nil? query_params = {} post_body = @api_client.object_to_http_body(body) local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'image_id' + '}', image_id.to_s) data = @api_client.call_api(:PATCH, local_var_path, :query_params => query_params, :body => post_body) return data end