order.post

POST: order

Schema:
{
  "customer_reference": "",
  "debtor": "",
  "delivery_instructions": "",
  "delivery_address": {
    "address1": "",
    "address2": "",
    "address3": "",
    "address4": "",
    "address5": "",
    "address6": "",
    "address7": "",
    "postcode": "",
    "phone": ""
  },
  "payment": {
    "method": "",
    "reference": "",
    "amount": "",
    "currency_code": ""
  },
  "lines": [
    {
      "type": "",
      "item_code": "",
      "quantitiy": "",
      "uom": "",
      "price_ex_tax": "",
      "price_inc_tax": ""
    }
  ]
}
Schema:
<order>
  <customer-reference></customer-reference>
  <debtor></debtor>
  <delivery-instructions></delivery-instructions>
  <delivery-address>
    <address1></address1>
    <address2></address2>
    <address3></address3>
    <address4></address4>
    <address5></address5>
    <address6></address6>
    <address7></address7>
    <postcode></postcode>
    <phone></phone>
  </delivery-address>
  <payment>
    <method></method>
    <reference></reference>
    <amount></amount>
    <currency-code></currency-code>
  </payment>
  <lines type="array">
    <line>
      <type></type>
      <item-code></item-code>
      <quantitiy></quantitiy>
      <uom></uom>
      <price-ex-tax></price-ex-tax>
      <price-inc-tax></price-inc-tax>
    </line>
  </lines>
</order>