A module containing the routes for dealing with customer orders
- Since:
-
- 15/09/2017
Members
-
<route> getBranchVars
-
Route:
returns the cop system variables for a branchMethod Path GET /api/v1/cop/branch/vars - Since:
-
- 18/09/2017
- See:
-
- Unknown
Example
/api/v1/cop/branch/vars?branchCode=312
-
<route> getDiscounts
-
Route:
returns a list of available discountsMethod Path GET /api/v1/cop/discounts - Since:
-
- 18/09/2017
- See:
-
- Unknown
Example
/api/v1/cop/discounts
-
<route> getOrders
-
Route:
returns a list of orders with non collected items for a branchMethod Path GET /api/v1/cop/orders Query Parameters:
Name Type Description req.query.branchCode integer the branch code to fetch expected for - Since:
-
- 29/03/2018
- See:
-
- HeelsRealm.copreceived.COPReceievedFragment
Example
/api/v1/cop/orders?branchCode=312
-
<route> postCollected
-
Route:
marks an order collectedMethod Path POST /api/v1/cop/collected Query Parameters:
Name Type Description req.query.orderNumber string the order to mark req.query.branchCode string the branch the order has been received too - Since:
-
- 29/03/2018
- See:
-
- HeelsRealm.copreceived.COPReceievedFragment
Example
/api/v1/cop/collected {body} -
<route> postContacted
-
Route:
marks an order customer contactedMethod Path POST /api/v1/cop/contacted Query Parameters:
Name Type Description req.query.orderNumber string the order to mark req.query.branchCode string the branch the order has been received too - Since:
-
- 29/03/2018
- See:
-
- HeelsRealm.copreceived.COPReceievedFragment
Example
/api/v1/cop/contacted {body}