Upload Sales Data

Uploads a list of sales tickets into Apicbase.

This endpoint is used to upload a list of sales tickets to one or more locations. Takes a list of tickets in the request body.

To ensure that inventory stock updates happen as expected, should be uploaded chronologically. An automated routine processes recent tickets to update stock according to the amount of items sold, but this routine will not pick up tickets older than other tickets that were already processed.

Price attributes on a ticket line

On a ticket line, either unit_price or total_price must be given and the other will be calculated.

  • unit_price represents the sell price of one unit of the item. This value does not include modifiers.
  • total_price represents the total price of the line before discounts. This value does include modifiers.

In either case, the price value represents the price before subtracting discounts. Finally, total_discount is a flat value that gets subtracted from the total price (either the given total price or the calculated total price).


Wondering what are the best practices when uploading sales?

Check out the Generic POS API guide we've prepared for you. It will give you a starting point and answer the most common questions that developers come up with.

Click Try It! to start a request and see the response here!