Download the PHP package tringuyenduc2903/giaohangtietkiem-laravel without Composer
On this page you can find all versions of the php package tringuyenduc2903/giaohangtietkiem-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tringuyenduc2903/giaohangtietkiem-laravel
More information about tringuyenduc2903/giaohangtietkiem-laravel
Files in tringuyenduc2903/giaohangtietkiem-laravel
Package giaohangtietkiem-laravel
Short Description GiaoHangTietKiem (GHTK) SDK for Laravel Framework
License MIT
Homepage https://github.com/tringuyenduc2903/giaohangtietkiem-laravel
Informations about the package giaohangtietkiem-laravel
GiaoHangTietKiem (GHTK) SDK for Laravel Framework
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
1 Submit order
This API is to submit an order to GHTK system.
Syntax
Example
Result
2 Calculate shipping fee
This API provides the shipping fee based on given pickup & delivery address and the package weight.
Syntax
Example
Result
3 Get order status
This API provides the current status of the order.
Syntax
Example
Result
4 Print label
This API provides printing label for the package order in PDF format.
Syntax
Example
Result
- Sample for A5 landscape
- Sample for A5 portrait
5 Order cancellation
API for canceling an order already pushed to GHTK system.
Syntax
Example
Result
6 Get pick addresses
The API returns a list of pickup addresses that have been configured in the system through GHTK's Customer Platform.
Syntax
Result
7 To get the list of level 4 addresses
API to get the list of level 4 addresses (hamlets/villages/subdivisions) within a street/ward/commune. For some addresses, this information is mandatory and must be included in the order submission API.
Syntax
Example
Result
8 To retrieve the product list
The API returns a list of products (and their corresponding IDs) that match the search query. The product ID will need to be included in the order submission API for certain specific workflows.
Syntax
Example
Result
9 Create account
Syntax
Example
Result
10 Registered account
Syntax
Example
Result
11 Get Tracking Url
Syntax
Example
Result
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of giaohangtietkiem-laravel with dependencies
guzzlehttp/guzzle Version ^7.9
illuminate/contracts Version ^10.0||^11.0
php Version ^8.2
spatie/laravel-package-tools Version ^1.16