---
title: Web Ordering 2.0 API Documentation
tags: Web Ordering 2.0 API Documentation
description: API Documentation
---

<div style="text-align: center; font-size: 35px">
WEB ORDERING API Documentation
</div>
---
# Copyright Information
**Maxs Group Inc - IT Application Development**<br>
3rd Floor KDC Plaza Building<br>
Chino Roces Avenue. Makati City, 1231<br>
Email: appdev@maxsgroupinc.com
---
# Confidentiality and Usage
<div style="text-align: justify">The information contained in this document (and any attachments) is a confidential information provided
by MGI IT - Application Development. This document is intended only for use by merchants approved by MGI.<br><br>
Any copying, distribution or dissemination of this document by any other parties is prohibited.</div>
---
# Revision History
| Revision | Date | Revision Description |
| -------- | --------------- | -------------------- |
| 0.0 | August 01, 2022 | Final Draft |
| 1.0 | September 18, 2022|Initial Release |
| 1.1 | September 23, 2022| Tempo DR Revision|
---
<!--
# API Documentation
- <span style="color:red">API Key provided in email</span> -->
# API
## WEB ORDER 2.0 API
### Temporary Delivery Receipt
<p>This API is used to process and download word document.</p>
For commissary list definition
> See full list [here](https://hackmd.io/pa3z7pZmQDmbjYKBBC-IXQ?view#Data-Parameter-Definitions).
- DEVELOPMENT
https://9sda584osh.execute-api.ap-southeast-1.amazonaws.com/development/report-export-word
- PRODUCTION
https://9sda584osh.execute-api.ap-southeast-1.amazonaws.com/production/report-export-word
---
| **FUNCTION** | Web ordering export word |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **METHOD** | POST |
| **HTTP HEADERS** | Content-Type: application/json<br> x-api-key: {<span style="color:red">*Note: API key to be sent separately*</span>}|
| **DATA PARAMS** | ```{```<br> ```erp_org_id_num:"",``` <br> ```delivery_date_from:"",```<br> ```delivery_date_to:"",```<br> ```report_name:"",```<br> ```filter_params:""```<br>```}``` |
| **DATA DEFINITION** | <br> ```erp_org_id_num:" ERP ORG CODE",``` <br> ```delivery_date_from:"",```<br> ```delivery_date_to:"",```<br> ```report_name:"",```<br> ```filter_params:""```<br> |
| **SUCCESS RESPONSE** | Status: 200<br>Sample Response Body:<br>```{```<br> ```"code": 200,```<br> ```"message":"",```<br> ```"data":{```<br> ```customer_name: "",```<br> ```erp_org_code:"",```<br> ```promise_time:"",```<br> ```item_code:"",```<br> ```item_name:"",```<br> ```quantity:""```<br> ```}```<br> ```}``` |
| **ERROR RESPONSE** | Status: 69<br>Sample Response Body:<br>```{```<br> ```"code": 69,```<br> ```"message":"“No store available." ,```<br> ```"data":{}```<br>```}``` |
### Order Summary Report per Store and per Item
<p>This API is used to extract excel store orders summary report per store.</p>
For brand list definition
> See full list [here](https://hackmd.io/pa3z7pZmQDmbjYKBBC-IXQ?view#Data-Parameter-Definitions).
- DEVELOPMENT
https://9sda584osh.execute-api.ap-southeast-1.amazonaws.com/development/report-export
- PRODUCTION
https://9sda584osh.execute-api.ap-southeast-1.amazonaws.com/production/report-export
---
| **FUNCTION** | mgi-web-ordering |
| -------------------- |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **METHOD** | POST |
| **HTTP HEADERS** | Content-Type: application/json<br> x-api-key: {<span style="color:red">*Note: API key to be sent separately*</span>} |
| **DATA PARAMS** | ```{```<br> ```commi_id:"",``` <br> ```delivery_date_from:"",```<br> ```delivery_date_to:"",```<br> ```comminame:"",```<br> ```reporttype:"",```<br> ```order_type_id:"",```<br> <br>```}``` |
| **DATA DEFINITION** | ```commi_id:" ERP ORG CODE",```<br>```comminame:" REPORT NAME",```<br>```delivery_date_from:" Delivery Date",```<br> ```delivery_date_to:" Delivery Date ",```<br>```reporttype:" order_summary_store",```<br> ```order_type_id:" order class",```<br> |
| **SUCCESS RESPONSE** | Status: 200<br>Sample Response Body:<br>```{```<br> ```"code": 200,```<br> ```"message": "Extracted Successfully ",```<br> ``` "data":{} ```<br> ```}``` |
| **ERROR RESPONSE** | Status: 69<br>Sample Response Body:<br>```{```<br> ```"code": 69,```<br> ```"message":" No data available." ,```<br> ```"data":{}```<br>```}``` |
---
### Auto Allocation Import Data
<p>This API is used to extract excel store orders summary report per Item.</p>
For commissary list and order class definitions
> See full list [here](https://hackmd.io/pa3z7pZmQDmbjYKBBC-IXQ?view#Data-Parameter-Definitions).
- DEVELOPMENT
https://9sda584osh.execute-api.ap-southeast-1.amazonaws.com/development/order-imports
- PRODUCTION
https://9sda584osh.execute-api.ap-southeast-1.amazonaws.com/production/order-imports
---
| **FUNCTION** | mgi-web-ordering-import-items |
| -------------------- |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **METHOD** | POST |
| **HTTP HEADERS** | Content-Type: application/json<br> x-api-key: {<span style="color:red">*Note: API key to be sent separately*</span>} |
| **DATA PARAMS** | ```{```<br> ```operation:"",``` <br> ```tableName:"",```<br> ```headerid:"",```<br> ```payload:""```<br>```}``` |
| **DATA DEFINITION** | ```operation:"CREATE",```<br> ```tableName:"orders_items_auto_allocate_tmp",```<br> ```headerid:" HEADER ID",```<br> ```payload:" EXCEL DATA ARRAY"```<br>
| **SUCCESS RESPONSE** | Status: 200<br>Sample Response Body:<br>```{```<br> ```"code": 200,```<br> ```"message": "Upload Successfully ",```<br> ``` "data":{} ```<br> ```}``` |
| **ERROR RESPONSE** | Status: 69<br>Sample Response Body:<br>```{```<br> ```"code": 69,```<br> ```"message":" Upload Unsuccessful." ,```<br> ```"data":{}```<br>```}``` |
|