Post Linear Orders

This method uses POST to upload linear orders to MRM.

Implementation Notes

  • This endpoint only supports POST calls.
  • Each external_id is unique for the line record in FreeWheel’s system.
  • When you post a line that does not exist, a new record is created for it.
  • When you post a line that already exists, the existing line record associated with the external_id is updated.

Response Codes

ScenarioResponse CodeMeaningResponse Message
All orders are ingested successfully.200OK{}
No orders are ingested successfully.406Not Acceptable{
“message”:”Only json format is acceptable”
}
400Bad Request{
“message”:”Can not parse request body.”
}
500Internal Server Error{
“message”:”Please contact Freewheel support.”
}
Some orders are ingested successfully.207Unprocessable Entity{
“message”:”Some orders failed due to…”,
“failed_records”: [“external_id1”,”external_id2”…]
}
Language
Click Try It! to start a request and see the response here!