Orders | Others
Create a new Pos order in OMS.
This will be saved as a OmniumOrder. For more information about properties, see OmniumOrder model. <br />
Notes
- OrderType will be set to Pos.
- If Created is not set, it will be set to utc now.
- Status wil be set to Completed
Following properties is required:
- MarketId: Should be set to a market in Omnium.
- OrderNumber: Must be unique.
- StoreId: Must match a store in Omnium
Sample request for a Pos order.
{
"customerId": "4712345678",
"customerName": "Ola Nordmann",
"customerPhone": "+4712345678",
"marketId": "No",
"storeId": "TestStore",
"orderNumber": "PO-123456",
"created": "2018-08-01T00:00:00Z",
"orderForm": {
"lineItems": [
{
"code": "Ab1234",
"displayName": "Faded glory",
"placedPrice": 100,
"placedPriceExclTax": 80,
"extendedPrice": 200,
"extendedPriceExclTax": 160,
"quantity": 2,
"taxTotal": 40,
"taxRate": 25
}
]
}
}
put/api/Orders/PosOrders
Request
- Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
- URL: https://api.omnium.no/api/Orders/PosOrders
- Auth: API key in header Authorization
Request body
Response
Order created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.