Talk:Categories Products Link

From DevWiki

Jump to: navigation, search

Exporting Product Categories

Is it possible to export all categories/products that are associated? If so, what value would be used for query string API_Name?

Answer At this time there is no API call to get category product links.

Question Then what is this XML schema for?

Answer

For now you can at least use it to import categories/products links into Volusion. The resulting XML will return a Volusion ID that can be used to further fully maintain (i.e. update or delete) the link through the import API. Obviously, since there is no API cability to export, if you make any product-category-link modifications in Volusion your 3rd party application will not know about those links, unless you export/import that information into your 3rd party application through traditional, manual means.

Editorial Note: I certainly hope that we will see the XML API become more complete in future releases. Some responses I have seen from support seem to imply that certain information available through regular exports does not need to be available via the XML Exports. This theory is further evidenced by the limited number of currently available XML Exports compared to XML Imports. I encourage Volusion to recognize the value of being able to create fully automatic integrations--please add the missing tables to the XML exports.

+1

Question Is there a way to set up multiple categories for this API? The normal "advanced" method through the admin panel alows you to insert a comma separated list. This format does not work, giving this message: "System.FormatException: Failed to convert parameter value from a String to a Int32."

Just send multiple entries of Categories_Products_Link in the POST. The exception means the category id must be an integer.

Thanks for the response.

Navigation