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:
[
  "adc5c112-2bed-41ea-9bef-1b86cf7f020a",
  "41fb715a-ef08-4b08-bdea-473cdd73927b"
]

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>adc5c112-2bed-41ea-9bef-1b86cf7f020a</guid>
  <guid>41fb715a-ef08-4b08-bdea-473cdd73927b</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>