Jump to content

Getting the product dimensions units using the webservice


josegrad

Recommended Posts

Hi,

 

I can get details of products using the webservice, such as width, depth, height. But the units are not included in the provided data.

 

Using the configurations resources we can get a (very cryptic) list of all the configurations.

The configuration with id 105 contains what I need:

 

{:configuration=>{:id=>105, :value=>"cm", :name=>"PS_DIMENSION_UNIT", :id_shop_group=>{}, :id_shop=>{}, :date_add=>"0000-00-00 00:00:00", :date_upd=>"2015-05-08 09:11:12"[spam-filter]
 

My question is:

 

Is this id fixed for this configuration, so can I trust that this id 105 will return this information on any shop?

Or is there another way to get the units?

 

It would be great to have these things documented but I haven't been able to find anything about it.

 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...