Start a new topic

serviceTypeId for split orders causes updates to fail

Where is the explanation for the fields in the API? The swagger REPL is awesome, but it just gives a schema without any notes on what the fields do/mean.

I'm trying to update a split order: 1234.799. The serviceTypeId for all my x.799 orders is "V". The serviceTypeId for all base orders is "1". If I try to PUT to /v2.0/order/ with an x.799 order (after some value modification in other fields), the API returns the 400 error response:

 

{errors=[Cannot insert order:<br><ul>Invalid String for field Service Type: V</li>]}

My submitted body is the result from /v2.0/order/1234.799 
with the fields createDate, shipBy, shipDate removed 
and the target data fields modified to their new values.
Login or Signup to post a comment