d
Topic
mbeezy Member
Posts:
1
7 days ago

Product Image Metafields / Alt Text

Hi all

I'm having some trouble retrieving the following metafields from the product image object:

  1. Alt Text that's managed via the Product Image admin screen.  According to what I've read, they're stored as Metafields.
  2. Custom metafield that I added into the Metafields collection in the Image object

I've tried retrieving it using the "metafields" API, however, I'm unable to get anything back:  

metafields.json?metafield[owner_id]={ownerId}&metafield[ower_resource]={ownerResource}

I know that I successfully added the metafield because when I try to re-add it, I get an exception saying that I cannot use the same key in the metafield.

I also tried using the "products" API, but still no luck:

products/{productId}/images/{imageId}/metafields.json

Is there something that I'm doing wrong?  Is there another API call that I should be using?

Thanks,

Mike

Log in or sign up for an account to reply.

f
Your Reply