Exigo Web Service

AddProductsToCategory
Adds items to an existing web category

CSV Support
No
Transactional Support
No

This method is typically used in applications that feature admin functionality.

AddProductsToCategoryRequest
WebID [Required]
Int32
Yes
The unique identifier for a website. This field was originally used in an older implementation of Exigo, and is no longer applicable. If you do not know your web ID, use 1.
CategoryID [Required]
Int32
Yes
The unique identifier for a product category.
ItemCodes [Required]
String[]
Yes
An array of item codes you wish to retrieve. These item codes are case-sensitive and must match exactly.
AddProductsToCategoryResponse
CategoryID [Required]
Int32
The unique identifier for a product category.
WebID [Required]
Int32
The unique identifier for a website. This field was originally used in an older implementation of Exigo, and is no longer applicable. If you do not know your web ID, use 1.
Result
The status of your web service call response. This property tells you if the call was executed successfully, any errors that occurred and other miscellanous, method-specific information.
ApiResult
Status
ResultStatus
Specifies whether the web service call was successfully executed.
Errors
String[]
An array of error messages that were returned from Exigo. If the web service call was successful, this colleciton will be empty.
TransactionKey
String
The unique GUID identifier assigned to this web service call for logging purposes.

C# Sample

                            var request = new AddProductsToCategoryRequest();

                            request.WebID      = 1;
                            request.CategoryID = 1;
                            request.ItemCodes  = new[] { "ITEMCODE-A", "ITEMCODE-B" };

                            var response = context.AddProductsToCategory(request);