How to associate a serial number to a line item during a Sale

paulpaul Posts: 1Member
edited August 2017 in Development
When I post a Sale with multiple saleitems, is there a way I can associate a item's serialID along with the saleItem?

Here's a sample.
POST: https://api.merchantos.com/API/Account/{account_id}/Sale.json
{
"discountPercent": 0,
"completed": false,
"customerID": 9,
"employeeID": 2,
"shopID": 1,
"registerID": 1,

"SaleLines": {
"SaleLine": [
{
"unitQuantity": 1,
"itemID": 36,
"serialID" : 15,/*I would like to associate this serialID with the SaleLine*/
"shopID": 1,
"unitPrice": 10
}
]
}
}
Post edited by jamesratcliffe on

Answers

Sign In or Register to comment.