Type and Action field must have
Type : user, settings, product, order, customer
Action : login, forgot-password, 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. Product List * List all product list. Order List * List all order for this dealer purchase. Order Update * Update status from other portral Order Tracking * Update tracking from other portral Dealer List * all dealer list
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.
AFter Login
* Important note : After successful login, API will return user details, please key return UserID, UserName, Permission, Token in your cookies or session, and all input ( UserID, UserName, Permission, Token ) and use via this return value.
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