AddStockOrderResponse Model

Response model for the server response to a request to submitting an AddStockOrder request to the server.

Required
result : RequestResultCode

The overall result of the request as a whole. As per the ResponseCode enum.

Nullable MaxLength(1024)
errorMessage : string

An error message related to the request, where applicable.
Will be NULL for successful submissions.

Nullable
stockOrder : StockOrder

The full stock order that was generated or updated as part of processing this request.
Will be NULL if the Result is not Success

Nullable
lineItemFailureResults : LineItemFailureResult []

A list of individual failures for any line item with problems.
Will be NULL if there were no line item failures.

Example
{
  "result": 1,
  "errorMessage": "string value",
  "stockOrder": {},
  "lineItemFailureResults": []
}