• API. Create customers & accrue bonus points addBonusExtQuick
    The command is designed to add customers and give them bonus points, but, unlike addBonus and addBonusExt, it allows doing this much faster. Read more about processing speed.

    Request:

{
    "add":[
        {
            "amount":200.00,
            "guid":"9803d32e-8fcd-4984-a736-9f02f726b3c0",
            "email":null,
            "phone":null,
            "uniqId":"12345678",
            "info":"Additional information"
        }      
    ],
    "typeOfCommand":"addBonusExtQuick"
}
Request parameters:
Object AddBonus:
Response:

{
    "results":[
         {
            "login":"12345678",
            "guid":"9803d32e-8fcd-4984-a736-9f02f726b3c0",
            "status":"Success",
            "error":null
         }
            ] 
}
Response parameters:
Object AddStatus:
Object Error:
Features of operation and use

  1. The command operates in asynchronous mode. At the first stage, at the moment of command invocation, primary data validation is performed, which guarantees correct format of information transmitted. The actual enrollment and control of the command's conformity with the application business logic (for example, absence of duplicated identifiers) is performed by the background process.
  2. How to efficiently use the command is described here: Data processing speed.

Back