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:
[
  "0180bb20-f318-4ead-9398-142415c5ca6c",
  "2cb967bc-d712-4e32-b576-fa8e6473b5be"
]

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>0180bb20-f318-4ead-9398-142415c5ca6c</guid>
  <guid>2cb967bc-d712-4e32-b576-fa8e6473b5be</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>