POST api/products/deactivate

Deactivates products

Request Information

URI Parameters

None.

Body Parameters

Products unique identifiers

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "f5e197e8-626e-4bd1-b2b0-2b4bb44c1d55",
  "6dc8cfe9-39ae-4739-9bd5-e4bee9e29c21"
]

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>f5e197e8-626e-4bd1-b2b0-2b4bb44c1d55</guid>
  <guid>6dc8cfe9-39ae-4739-9bd5-e4bee9e29c21</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ValidationResult
NameDescriptionTypeAdditional 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>