Jump to content

Add combinations from web service


Recommended Posts

I would like to add combinations of the attributes, of a product using my web service, but still throws this error:


Generated output:
iwwshr.Exceptions.WebServiceCallFailedException: The remote server returned an error: (400) Bad Request. ProtocolError http://myshop/api/combinations
the web server returned:
<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<message><![CDATA[Validation error: "Combination -> id_product = 
   at Tool.Classes.Runtime.HttpOperationWrapper.DoCall()
   at Tool.Classes.Runtime.HttpOperationWrapper.DoSampleCall(String xmlCallData)

How it works ? 
Do I have to first add product attributes and then create a new combination,
or hook up a dictionary of attributes? Please help me.

My Presta  :
Edited by jbike (see edit history)
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...