POST retail_services/Transaction
POST method, Require Basic Authentication.
All fields are required.
"ProductDescription": ProductDescription from GET retail_services/ProductList?ItemGroupId={ItemGroupId}&WarehouseId={WarehouseId}
"ProductID": ProductID from GET retail_services/ProductList?ItemGroupId={ItemGroupId}&WarehouseId={WarehouseId}
"Quantity": Total Quantity for the Product
"PaymentReference": "sample string 4", Refence from payment gateway after making payment.
"ItemCost": 5.0, ItemCost from GET retail_services/ProductList?ItemGroupId={ItemGroupId}&WarehouseId={WarehouseId}.
"TotalCost": 6.0, TotalCost for the item.
"TransactionDate": "2014-09-29T15:38:44.681675+10:00",
"MemberCode": 1 MemberCode from POST retail_services/RetailContact.
"SaleTotal": 0.0 Sale total including tax.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| RetailTransaction |
Define this parameter in the request body. |
Request body formats
application/json, text/json
{
"PaymentReference": "sample string 1",
"SaleTotal": 2.0,
"TransactionDate": "2026-04-02T21:58:08.1384222-05:00",
"MemberCode": 1,
"lstProduct": [
{
"ProductDescription": "sample string 1",
"ProductID": 2,
"Quantity": 3,
"ItemCost": 4.0,
"TotalCost": 5.0,
"ItemNotes": "sample string 6"
},
{
"ProductDescription": "sample string 1",
"ProductID": 2,
"Quantity": 3,
"ItemCost": 4.0,
"TotalCost": 5.0,
"ItemNotes": "sample string 6"
},
{
"ProductDescription": "sample string 1",
"ProductID": 2,
"Quantity": 3,
"ItemCost": 4.0,
"TotalCost": 5.0,
"ItemNotes": "sample string 6"
}
]
}
Response Information
Response body formats
application/json, text/json
{
"ReceiptNumber": 1,
"lstRetailCore": [
{
"ProductID": 1,
"Quantity": 2,
"MemberCode": 1,
"ProductDescription": "sample string 3"
},
{
"ProductID": 1,
"Quantity": 2,
"MemberCode": 1,
"ProductDescription": "sample string 3"
},
{
"ProductID": 1,
"Quantity": 2,
"MemberCode": 1,
"ProductDescription": "sample string 3"
}
]
}