LAFASTA API v4

Lafasta offers developers a wide range of RESTful APIs. For new development, Lafasta strongly encourages the use of our RESTful APIs. A key benefit of REST is that it uses less bandwidth and supports
multiple formats including plain text, XML, HTML, and JSON.
This is Lafasta API v4. This API is for everyone and for the merchants who wants to ship from multiple or unlimited shipping locations and pickup points.
Notes:
* New endpoint will be added here soon.
* For API authentication please follow the same process in API v3 here
* For API v4 lookups (keys and City, Orders status Lists), download them from here (Note that this file is dynamically generated so the data inside is always up to date)
Request-Response Exmaples:
Click the name of the 'Example Request' (SUCCESS) to expand the reset of request/response examples and get an empty request body template.
Action Header
This API offers two actions, the action can be selected by setting the request header 'lafasta-shipping-action'. Please check the example named 'CALCULATE SHIPPING COST - SUCCESS' for better understanding.
'lafasta-shipping-action' header's value list:
Base URL
https://c.lafasta.sa.com
Credentials For Testing
Username: test_account_9 Password: 123456789#