Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8369767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:44:11+00:00 2026-06-09T13:44:11+00:00

I am using Magento to offer class registrations. I am using the SOAP API

  • 0

I am using Magento to offer class registrations. I am using the SOAP API V2 to ‘clone’ classes to a new date.

I would like to re-use the existing class image, as it seems silly to re-upload the same image hundreds of times.

Is it possible to link to an existing image via the API V2?

catalogProductAttributeMediaCreate() doesn’t appear to want to do it with how I’ve tried.
catalogProductAttributeMediaUpdate() doesn’t work either, as an image hasn’t been created for that product.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:44:12+00:00Added an answer on June 9, 2026 at 1:44 pm

    try this.

    $proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl'); // TODO : change url
    $sessionId = $proxy->login('apiUser', 'apiKey'); // TODO : change login and pwd if necessary
    
    $result = $proxy->catalogProductAttributeMediaInfo($sessionId, '2', '/b/l/blackberry8100_2.jpg');
    var_dump($result);
    

    the response :

    array
      'file' => string '/b/l/blackberry8100_2.jpg' (length=25)
      'label' => string '' (length=0)
      'position' => string '1' (length=1)
      'exclude' => string '0' (length=1)
      'url' => string 'http://magentohost/media/catalog/product/b/l/blackberry8100_2.jpg' (length=71)
      'types' =>
        array
          0 => string 'image' (length=5)
          1 => string 'small_image' (length=11)
          2 => string 'thumbnail' (length=9)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to call magento api using Soap from android but I am
I'm using the Magento Soap Api to upload pictures of products. I can't seem
I have no problem importing simple products using Magento Core API (SOAP). How can
I am using Magento. I would like someone to confirm the following issue pertaining
I am new to Magento and i am using Magento Ver. 1.6.1.0 - Custom
I`m using Magento 1.3 and I want to test the new 1.4, but is
I'm using magento 1.6.1.0. I included new sidebar in my cart page where it'll
The way I am using Magento is like this: We are using Magento admin/dashboard
I'm creating an ecommerce website using magento. Currently if a new user registers the
I'm using Magento ver. 1.6.1.0 I'd like to add 8lbs to each order (packing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.