POST api/products/deactivate
Deactivates products
Request Information
URI Parameters
None.
Body Parameters
Products unique identifiers
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "970c9ad9-9e48-4d36-a824-14b5b9cd20f6", "76c2c977-4bd2-423e-8044-861cd1cc9b68" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>970c9ad9-9e48-4d36-a824-14b5b9cd20f6</guid> <guid>76c2c977-4bd2-423e-8044-861cd1cc9b68</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ValidationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Errors | Collection of ValidationFailure |
None. |
Response Formats
application/json, text/json
Sample:
{
"errors": []
}
application/xml, text/xml
Sample:
<ValidationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FluentValidation.Results"> <errors /> </ValidationResult>