Type and Action field must have
Type : user, settings, product, order, customer
Action : login, forgot-password, register, notification, support-list, support-email, list, add-to-cart, checkout, select, update, request, payment-status, payment-status-select

Sample Form :
User Login * After successful login, must keep ( All User array key ) into cookies or whatelse for after login purpose.
Forgot Password * After successful forgot, system will send a link to dealer to verify.
Register * After successful forgot, system will send a link to dealer to verify.
Dashboard Notification * Notification board, after successful login, direct go to this page.
Support List * List all dms support team email.
Support Email * Email to dms support team.
Product List * List all product list.
Order Add To Cart * Add item into cart.
Order Checkout * Checkout after add to cart.
Order List * List all order for this dealer purchase.
Tracking * Get tracking code by selected order
Payment Upload * Upload payment slip for selected order.
Payment Select * Return current order payment status.
Dealer Profile * Select this dealer details
Dealer Update * Update details
Dealer Submit Business Details * Submit form Business Details
Shipping List * List all shipping by selected dealer
Primary Shipping * Set current shipping address as a default shipping address
New Shipping * Add new shipping address by selected dealer
Remove Shipping * Remove shipping address by selected dealer
Postcode * Check postcode



Before Login


User - Login with user account (* Username & Password) (Back)

Result Message
1. failed : Sorry, something error, please try again later!
2. failed-value : Please enter your username and password!
3. failed-username : Invalid username or password!
4. failed-token failed-verify : Sorry, please provide correct verify code!
5. success-send-verify : Thank you, we had sent a verify code for you, please enter your code within 1 minute.
6. success-login : Welcome back.

Type :

Action :

Login Request :

Submit :

Email / Dealer Code : * Email : info@ips.com.my, Dealer code : TD01.JH.001.0000.002

Password :




User - Forgot password (* email only) (Back)

Result Message
1. failed-value : Please enter all required field!
2. failed-email : Sorry, email doesn't exists!
3. failed-forgot : Sorry, failed to submit your request, please try again later!
4. success-forgot : Please check your email to reset your account password!

Type :

Action :

Login Request :

Submit :

Email :




User - Register (Back)

Result Message
1. failed-value : Please enter all required field!
2. failed-email : Sorry, email doesn't exists!
3. failed-forgot : Sorry, failed to submit your request, please try again later!
4. success-forgot : Please check your email to reset your account password!

Type :

Action :

Login Request :

Sceret Key :

App Register : * Should be yes

Email : * Required

New Password : * Required

Company Name : * Required

Company Registration : * Required

GST :

Full Name : * Required

Address 1 : * Required

Address 2 :

Address 3 :

Region : * Required

Area : * Required

Postcode : * Required

Mobile : * Required

Whatsapp ID :

Bank Name : * Required

Bank Account Number : * Required

Registration of Business Form : * Required, zip file only

Business Details : * Required, zip file only




AFter Login


Notification (Back)

Result Message : No Message

Type :

Action :

UserID :

UserName :

Permission :

Token :

Request :

Submit :




Support List - Dms support team (Back)

success-list : For example, "Support Button" will display

Type :

Action :

UserID :

UserName :

Permission :

Token :

Pagination (yes/no) : * This field must set to no




Support Email - Email to support team (Back)

success-list : For example, "Support Button" will display

Type :

Action :

UserID :

UserName :

Permission :

Token :

Title : * Selection get from Support List, when select, auto field support email in EmailTo input.

EmailTo :

Message :




Product - List All Product (Back)

success-list : Product will display, else product can't be view

* Return result content array key mean Minimum Order Amount, show out only, give dealer know his must order more than that amount.
Type :

Action :

UserID :

UserName :

Permission :

Token :

Status : * This field must set to active

Pagination (yes/no) : * This field must set to no




Order - Add to cart (Back)

Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below: Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.

* Product columns return via Product list

* Product input name quantity[1], 1 mean ProductID

* Each product has return their own minimum order quantity, show out only, give dealer know his must order more than that quantity.

* Each product has return their own price, system need temp sum the total ( quantity * price ), show out only, give dealer know how much his order now.

* If submit and success result, will go through checkout page.

Type :

Action :

UserID :

UserName :

Permission :

Token :

Product 1 * This field return via Product List, list all product, and input to give dealer enter quantity.




Order - Checkout (Back)

Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below: Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.

* After successful add to cart, will list dealer order information, include Gst, Grand Total and So on.

Type :

Action :

UserID :

UserName :

Permission :

Token :

CustomerID (Required) : * CustomerID get from login, must field

ShippinID (Required) : * ShippingID get from shipping list

Product Quantity 1 : * Add 500 quantity from Add to cart, ( cart[1] ), ( [1] is ProductID ), ( [id] is ProductID ), ( [quantity] is dealer enter quantity from Add to cart )




Order - List All Order (Back)

Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below: Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.

* Show ( SoNumber, InvNumber, OrderDate, InvDate, PaymentStatus, OrderStatus, Amount, Remark ) in list only.

* Dealer can search and sortable their order list, let in empty, if nothing request

Type :

Action :

UserID :

UserName :

Permission :

Token :

Search SoNumber :

Search InvNumber :

Search OrderDate From :

Search OrderDate To :

Search InvDate From :

Search InvDate To :

Search Company Name / Dealer Code :

Search PaymentStatus : * PaymentStatus only have ( unpaid, processing, p-giro, paid, cancelled ) status only.

Search OrderStatus : * OrderStatus only have ( pending, completed, failed, cancelled ) status only.

Sortable Type : * Dealer only can filter 2 type only ( so, inv ) | so = SoNumber, inv = InvNumber

Sortable By : * Sortable by ( asc, desc ) only

Pagination (yes/no) : * Yes - Limit the order result, No - Show all order result

Page : * Current page, if Pagination is no ignore this field

Limit : * Limit the perpage of result, if Pagination is no ignore this field




Tracking - Get current order tracking order information (Back)

Result Message
1. failed : Waiting updated
2. sucess-select : After success, set a webview, and link to check-tracking.php?ref_number=8588239284 to trace tracking status, 8588239284 is RefNumber, return from array key.

Type :

Action :

UserID :

UserName :

Permission :

Token :

OrderID : * OrderID, get from order-list api




Payment Upload - Upload payment for selected order (Back)

Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below: Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.

* only PaymentStatus with unpaid status can submit upload this form.

* This upload form need submit 2 times, all in same link, but only different is Upload Form value, tick yes first to upload file only, after return result success-upload result and keep the return key new_image into business_details input value, and change the Upload Form input value to no, and resubmit the form again, to keep the request into database.

Type :

Action :

UserID :

UserName :

Permission :

Token :

Upload Form : * Tick yes first to upload form, after show success-upload, then change the input value to no to submit it to database.

Upload To : * Submit to is required

OrderID : * order_id return from Order List page with key name OrderID.

UpdateStatus : * This field follow update_payment_slip

PaymentStatus : * This field follow unpaid

Payment Slip : * Upload payment slip file, max upload is 5.


Sample Return : "new_image":["Uploads\/Payment\/2017\/07\/13362-312554-1-1501483128.jpg","Uploads\/Payment\/2017\/07\/13362-368934-2-1501483128.jpg","Uploads\/Payment\/2017\/07\/13362-746193-3-1501483128.jpg"]}

Explain : Please refer to the sample above, when u submit 3 images into API, after success, system will return 3 images path via arrray, please fill in like below input, and resubmit again, may understand ?

Payment Slip File 1 : * This will return after payment slip submit with result new_image, if multiple file, please auto split the input and keep the value inside.

Payment Slip File 2 : * This will return after payment slip submit with result new_image, if multiple file, please auto split the input and keep the value inside.

Payment Slip File 3 : * This will return after payment slip submit with result new_image, if multiple file, please auto split the input and keep the value inside.

Payment Slip File 4 : * This will return after payment slip submit with result new_image, if multiple file, please auto split the input and keep the value inside.

Payment Slip File 5 : * This will return after payment slip submit with result new_image, if multiple file, please auto split the input and keep the value inside.


Bank : * Bank selection will return in Order List result with key name content -> bank -> all list via array

RefNumber : * Ref number for the payment slip

Amount : * Total payment amount

Payment Date : * This field system will popup a calendar with format 22 / 06 / 2017.

Payment Time : * This field need create select, system need auto loop by hours selection : ( 01, 02, 03, 04....., 11, 12 )

Payment Minute : * This field need create select, system need auto loop by minute selection : ( 01, 02, 03, 04....., 59, 60 )

Payment AM/PM : * This field need create select, ( AM / PM )




Payment Select - Return current order payment status. (Back)

Result Message
1. failed-value : Sorry, system request timeout, please try again later!
2. failed-add-to-cart : Sorry, failed to add item in list, please try again!
3. failed-customer-select : Please select dealer!
4. failed-customer-exists : Sorry, selected dealer doesn't exsits!
5. failed-cart : Please add at least one item in cart!
6. failed-quantity : Sorry, no quantity in cart!
7. failed-product : Sorry, some of the product has been removed.
8. failed-minimum : Sorry, some of the product doesn't exceed the minimum order.
9. failed-minimum-amount : Sorry, order amount must at least RM .
10. failed-image : Sorry, system doesn't detect any image!
11. failed-exceed-upload : Sorry, maximum of file upload is 5 only!
12. failed-image-type : Sorry, system only support JPG, PNG and PDF file only!
13. failed-select : Sorry, selected order does not exist!
14. failed-status : Sorry, payment status update error, please try again later!
15. failed-insert : Sorry, order failed to insert!
16. failed-order-twice : Kindly make payment for your previous order. If not, you're not available to make new order.
17. success-add-to-cart : Thank you, cart added in list.
18. success-insert : Thank you for your order, your order is confirmed and pending for the payment, please bank to Frontier Fulfillment (M) Sdn Bhd bank account as per listed below: Frontier Fulfillment (M) Sdn Bhd:(request for bank API)
19. success-submit-payment : Thank you for your order and it will be processed upon verification of your payment within 24 working hours.
20. success-submit-payment-without : Thank you, payment status was marked as cancelled.
21. success-payment-update : Thank you, payment status has been updated.
22. success-payment-reupload : Thank you, your payment slip has been reuploaded.

* This function is for dealer check his order payment details.

Type :

Action :

UserID :

UserName :

Permission :

Token :

OrderID : * order_id return from Order List page with key name OrderID.

UpdateStatus : * This field follow




Dealer - Select Dealer From Selected CustomerID (Back)

Result Message
1. failed-value : Please enter all required field!
2. failed-distributor : Please update your distributor, please created new order!
3. failed-customer : Sorry, selected dealer doesn't exsits!
4. failed-image : Sorry, system doesn't detect any image!
5. success-send-verify : Thank you, we had sent a verify code for you, please enter your code within 1 minute.
6. failed-image-type : Sorry, support zip format type only!
7. failed-insert : Sorry, dealer failed to insert!
8. failed-email-format : Sorry, wrong email format type!
9. failed-email-exists : Sorry, email already exist, please try another one.
10. failed-username-length : Sorry, min length of username is 4.
11. failed-username-exists : Sorry, username already exist, please try another one.
12. failed-password-length : Sorry, min length of password is 6.
13. failed-password-retype : Sorry, retype password must be same as new password.
14. failed-update : Sorry, dealer failed to update!
15. success-insert : Thank you, new customer has been added.
16. success-update : Thank you, customer details has been updated.

Type :

Action :

UserID :

UserName :

Permission :

Token :

CustomerID (Required) : * this field required, get from after login CustomerID

Submit :




Dealer - Update (Back)

Result Message
1. failed-value : Please enter all required field!
2. failed-distributor : Please update your distributor, please created new order!
3. failed-customer : Sorry, selected dealer doesn't exsits!
4. failed-image : Sorry, system doesn't detect any image!
5. success-send-verify : Thank you, we had sent a verify code for you, please enter your code within 1 minute.
6. failed-image-type : Sorry, support zip format type only!
7. failed-insert : Sorry, dealer failed to insert!
8. failed-email-format : Sorry, wrong email format type!
9. failed-email-exists : Sorry, email already exist, please try another one.
10. failed-username-length : Sorry, min length of username is 4.
11. failed-username-exists : Sorry, username already exist, please try another one.
12. failed-password-length : Sorry, min length of password is 6.
13. failed-password-retype : Sorry, retype password must be same as new password.
14. failed-update : Sorry, dealer failed to update!
15. success-insert : Thank you, new customer has been added.
16. success-update : Thank you, customer details has been updated.

* Dealer only can update ( Email, Password, Mobile, Whatsapp ) only.

Type :

Action :

UserID :

UserName :

Permission :

Token :

Customer ID (Required) :

Submit :

Status :

DealerCode1 : * This code must be field

DealerCode2 : * This code must be field

DealerCode3 : * This code must be field

DealerCode4 : * This code must be field

DealerCode5 : * This code must be field

Name : * This name must be field, return key Name

Email :

Tick To Change Password :

New Password : * New Password Min Length = 6, if tick change password, new password required

Retype New Password : * Retype Password must be same as new password, if tick change password, retype password required

Mobile :

Whatsapp (yes/no) : * Tick if your mobile number has Whatsapp, ( yes / no ) selection only!




Shipping - List all shipping address for selected dealer (Back)

Result Message
1. This list only need to check the total shipping address, if less than 5, allow to create new shipping address
* Return result array maybe some confuse, so I explain here: return key ( result, content, total ) is for shipping only, and return key ( result_state, content_state ) is for state only

Type :

Action :

UserID :

UserName :

Permission :

Token :

CustomerID : * Get customerID in login array




Primary Shipping - Set current shipping address as a primary address for selected dealer (Back)

Result Message
* Click to set selected address as a primary address

Type :

Action :

UserID :

UserName :

Permission :

Token :

CustomerID : * Get customerID in login array

ShippingID : * Get shippingID from shipping-list api

ShippingDefault : * Must be no




New Shipping - Create new shipping address for selected dealer (Back)

Result Message
1. failed-postcode : The postcode is not correct!
2. failed-shipping-limit : Sorry, maximum of shipping address if 5 only!
3. failed-shipping-new : Sorry, shipping address failed to insert!
4. success-shipping-add : Thank you, new shipping address has been added.

Type :

Action :

UserID :

UserName :

Permission :

Token :

CustomerID : * Get customerID in login array

Name : * This name must be field

Mobile : * This mobile must be field

Address : * This address must be field

PostCode : * This postcode must be field, please check postcode-check api, if result is success, please auto fill in into City and State input value.

City : * This city must be field

State : * This state must be field, please check shipping-list api, state list already return with return key ( result_state, content_state )




Remove Shipping - Remove shipping address for selected dealer (Back)

Result Message
1. failed-shipping-remove : Sorry, failed to remove selected shipping address, please try again later!
2. success-shipping-remove : Thank you, selected shipping address has been removed.

Type :

Action :

UserID :

UserName :

Permission :

Token :

CustomerID : * Get customerID in login array

ShippingID : * Get shippingID from shipping-list api




Postcode - Check postcode exists or not, only exists postcode can submit (Back)

Result Message
1. failed-postcode : The postcode is not correct!
2. success : No need any message, but need auto fill in City and State

Type :

Action :

UserID :

UserName :

Permission :

Token :

PostCode : * If postcode found, it will auto field in