Update Credit Account

ZoranZoran Member Posts: 8

Hello,

Is it possible to update Credit Account without creating a sale.

I tried https://api.lightspeedapp.com/API/Account/[UserAccountID]/Sale

{

 "employeeID": "1",

 "registerID": "3",

 "shopID": "1",

 "customerID": "1",

 "completed": "true",

 "Customer": {

   "customerID": "1",

   "creditAccountID": "1"

 },

 "SalePayments": {

   "SalePayment": {

     "amount": "38.14",

     "paymentTypeID": "4",

     "creditAccountID": "1"

   }

 }

}

 

This is response I got Lightspeed:

{

 "httpCode": "400",

 "httpMessage": "Bad Request",

 "message": "You cannot pay for required deposits with a credit account charge.",

 "errorClass": "SaleError",

 "saleID": "9422"

}


Thank you,

Zoran

2 comments

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 132 moderator

    Hi,

    Yes, please have a look at the following documentation:


  • pdispiritpdispirit Member Posts: 6

    Hi Ali - this only gives information on how to create a credit account. One of the lacking parts of Lightspeed is the ability to adjust a customer credit Account to a positive amount without using a Misc. Item sale, as this affects the sales totals incorrectly.

    This is especially important when adjusting balances between two systems such as the main account system that receives payments outside of Lightspeed.


    Thanks

Sign In or Register to comment.