Submit Order

Method: HTTP POST method

Endpoint: http://<host_address>:<port_address>/v1/order

Input submitOrderRequest is mandatory for this operation.

Parameter content type: application/json

Sample of submitOrderRequest value is given below:

{
  "externalBusinessTransactionID": "string",
  "orderRequest": {
    "extension": {
      "any": [
        "string"
      ]
    },
    "header": {
      "customerID": "string",
      "deliveryAddress": {
        "country": "string",
        "line1": "string",
        "line2": "string",
        "line3": "string",
        "locality": "string",
        "postCode": "string",
        "region": "string",
        "supplementaryLocation": "string"
      },
      "description": "string",
      "extension": {
        "any": [
          "string"
        ]
      },
      "invoiceAddress": {
        "country": "string",
        "line1": "string",
        "line2": "string",
        "line3": "string",
        "locality": "string",
        "postCode": "string",
        "region": "string",
        "supplementaryLocation": "string"
      },
      "notes": "string",
      "orderPriority": 0,
      "requiredByDate": "2019-06-19T09:04:59.811Z",
      "requiredOnDate": "2019-06-19T09:04:59.811Z",
      "slaID": [
        "string"
      ],
      "subscriberID": "string",
      "udf": [
        {
          "extension": {
            "any": [
              "string"
            ]
          },
          "name": "string",
          "value": "string"
        }
      ]
    },
    "line": [
      {
        "action": "string",
        "actionMode": "string",
        "characteristic": [
          {
            "description": "string",
            "extension": {
              "any": [
                "string"
              ]
            },
            "name": "string",
            "value": [
              {
                "extension": {
                  "any": [
                    "string"
                  ]
                },
                "name": "string",
                "type": "string",
                "value": "string",
                "valueFrom": "string",
                "valueTo": "string"
              }
            ]
          }
        ],
        "customerItemID": "string",
        "deliveryAddress": {
          "country": "string",
          "line1": "string",
          "line2": "string",
          "line3": "string",
          "locality": "string",
          "postCode": "string",
          "region": "string",
          "supplementaryLocation": "string"
        },
        "extension": {
          "any": [
            "string"
          ]
        },
        "inventoryID": "string",
        "lineNumber": "string",
        "linkID": "string",
        "notes": "string",
        "productID": "string",
        "productVersion": "string",
        "quantity": 0,
        "requiredByDate": "2019-06-19T09:04:59.811Z",
        "requiredOnDate": "2019-06-19T09:04:59.811Z",
        "slaID": [
          "string"
        ],
        "subscriberID": "string",
        "udf": [
          {
            "extension": {
              "any": [
                "string"
              ]
            },
            "name": "string",
            "value": "string"
          }
        ],
        "uom": "string"
      }
    ],
    "orderRef": "string"
  }
}