Use Case for Creating a Cash Sale
To create a cash sale, include values for fields such as customer ID, location, and item details in the request body.
POST {{REST_SERVICES}}/record/v1/cashsale
{
"entity": {
"id": "14"
},
"location": "1",
"item": {
"items": [
{
"item": {
"id": "13"
},
"quantity": 25,
"amount": 275
}
]
}
}