Jump to content

XML formating problem for presta REST API


Recommended Posts

Hey,

 

I need to update product features with custom values, but nothing I try is working, can you help?

 

Synopsis for interesting part goes like here:

<product_feature>
<id required="true"/>
<id_feature_value xlink:href="http://snello.usermd.net/api/product_feature_values/" required="true"/>
</product_feature>
 

I fill "id" and it works correctly, but when I fill "id_feature_value" with custom value it assigns default value 0 every time. I assume that it is waiting for id of predefined value, so must be the way to add custom value either. I tried "custom" tag in desperation, but not surprisingly it didn't work :)

 

Anyone knows how to do it?

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...