Module: MPOS

A module that manages controllers for Mobile Point of Sale
Since:
  • 22/08/2018
Author:
  • Dave

Members


<route> getstock

Route:
MethodPath
GET /api/v1/mpos/stock
gets stock of item in a branch
Query Parameters:
Name Type Description
req.query object The query request
req.body.lookup string The poscode or eancode
req.body.branchCode string The branchcode to check stock for
Since:
  • 08/09/2018
Author:
  • Dave
See:
  • MPOS
Example
/api/v1/mpos/sale {POST}

<route> postSale

Route:
MethodPath
POST /api/v1/mpos/sale
posts a sale from MPOS
Query Parameters:
Name Type Description
req.body object The Body request
req.body.finalJSON string The JSON String
Since:
  • 22/08/2018
Author:
  • Dave
See:
  • MPOS
Example
/api/v1/mpos/sale {POST}