The CashPad iPad and iPhone apps will register their orders with a central backend. For version 1 of the backend this will be a simple flow:
The apps have a responsibility to flag already pushed orders locally within the sqlite datastore.
Route
POST http://test.cashpad.com/api/user/{user_id}/order/
User
Request
The request can contain the following fields:
created_on (datetime): Datetime on which the order was created in the CashPad app. item_list (array): List of items that are part of the order. product_id (integer): Unique id identifying the product. product_name (string): Name of the product. amount (integer): Amount of products ordered. unit_price (decimal): Price of the product per unit.
datetime
array
product_id (integer): Unique id identifying the product. product_name (string): Name of the product. amount (integer): Amount of products ordered. unit_price (decimal): Price of the product per unit.
integer
string
decimal
There was an error while loading. Please reload this page.