Create new Purchase Order.
POCreate
NET 7
, NET 30
, COD
.SGD
.DDMMYYYY
, eg, 25092015
.Item
tag, it can be created on the fly. Accepted value: 1
.These parameters has to be enclosed in Item
, 1 item element per SKU.
CreateItem
is set to 1, the SKU will be created if it doesn’t exist. Otherwise, do ensure the SKU exists before order creation.Conditional parameters: Compulsory if CreateItem
is set to 1
POCreate
Successful
.Request:
<RequestCall>
<AppType>POCreate</AppType>
<UserName>[Username]</UserName>
<Password>[pass]</Password>
<Parameters>
<Terms>NET 7</Terms>
<BillContactPerson>Mr Joe</BillContactPerson>
<BillContactPhone>90111111</BillContactPhone>
<BillCompany>ABC</BillCompany>
<BillAdd>4 Changi South Lane</BillAdd>
<BillAdd2></BillAdd2>
<BillUnit>#07-02</BillUnit>
<BillPostalCode>486127</BillPostalCode>
<BillCountry>Singapore</BillCountry>
<ShipContactPerson>Ms Jane</ShipContactPerson>
<ShipContactPhone>90111116</ShipContactPhone>
<ShipCompany>ABC</ShipCompany>
<ShipAdd>4 Changi South Lane</ShipAdd>
<ShipAdd2>Nan Wah Building</ShipAdd2>
<ShipUnit>#07-04</ShipUnit>
<ShipPostalCode>486127</ShipPostalCode>
<ShipCountry>Singapore</ShipCountry>
<Currency>SGD</Currency>
<ShipCharge>25</ShipCharge>
<Tax>10</Tax>
<TotalCost>500</TotalCost>
<PaymentMethod>credit</PaymentMethod>
<POReference>TSO20160901_1</POReference>
<ShipDate>16092016</ShipDate>
<PORemarks>Please handle with care</PORemarks>
<Item>
<ItemSKU>SKU-1978</ItemSKU>
<ItemQty>2</ItemQty>
<ItemPrice>100</ItemPrice>
</Item>
<Item>
<ItemSKU>SKU-1979</ItemSKU>
<ItemQty>3</ItemQty>
<ItemPrice>100</ItemPrice>
</Item>
</Parameters>
</RequestCall>
Response:
<RequestResponse>
<Data>
<AppType>POCreate</AppType>
<PONumber>PO2016-000001</PONumber>
<Status>Successful</Status>
</Data>
</RequestResponse>