Overview


This method allows you to create open credits balance for a specific customer.

 


Request

https://api.kometsales.com/api/open.credit.balance.create

  • Method: POST
  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • customerCode (required) (string:20): customer Code.
  • openCredits (required): array of open credits with its corresponding information. Max. 50 credits allowed.
    • date (date) (date format YYYY-MM-DD): the date of the credit.
    • balance: the total amount of the credit.


Response

Output:

  • message (string:500): description of the status of the transaction.
  • status (integer:1): transaction status. 1 for success or 0 for failure.