Order Reports

This endpoint returns a detailed list of all previously completed orders, filtered by date and status.

POST
/ reports / orders

Request Parameters

Parameter Type Required Description
CLIENT_ID String Yes Partner identifier provided by EpinTower
SIGNATURE String Yes Params clientID.secretKey See security section
START_DATE String Yes Format: YYYY-MM-DD H:M:S
END_DATE String Yes Format: YYYY-MM-DD H:M:S
PAGE String Yes Current page selector
PRODUCT_PACK_CODE String No CODE acquired from products listing
SIZE String Yes Max. 100
STATUS String No 12 = NEW
2 = SUCCESS
3 = SMS ERROR
4 = NOTIFICATION ERROR
5 = QUANTITY PARTIALLY DELIVERED
6 = PENDING
7 = WAITING PROVIDER RESPONSE
8 = CANCELED
9 = PARTIAL SUCCESS
13 = FAILED

Response Parameters

Parameter Type Description
RESPONSE_CODE Integer Returned value of “0” implies transaction is successfully completed.
If the code is not "0", it means an error. See error codes section.
RESPONSE_MESSAGE String Response message for requested transaction
SIGNATURE String Params clientID.secretKey See security section
DATA JSON
 "shipmentPackageId":"ss1111044ts",
"amount":"15.00",
"totalPrice":"75.00",
"customerFullName":"testtest",
"customerEmail":"test@gmail.com",
"customerPhoneNumber":"905234328506",
"orderDate":"2021-01-2823:15:25",
"quantity":"5",
"status":"13",
"productPackCode":"FDF956E5_464D_F421_B497_FE0C30357BD6",
"productName":"GPayGold15TL"
PAGE String Selected page
SIZE String Record size on page
TOTAL_RECORDS String Number of total records found
TOTAL_PAGE String Total number of pages (can be used to paginate)