Download the PHP package shipmondo/shipmondo_php_sdk without Composer
On this page you can find all versions of the php package shipmondo/shipmondo_php_sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shipmondo/shipmondo_php_sdk
More information about shipmondo/shipmondo_php_sdk
Files in shipmondo/shipmondo_php_sdk
Package shipmondo_php_sdk
Short Description Shipmondo's official PHP library
License MIT
Informations about the package shipmondo_php_sdk
Shipmondo's official PHP library
This SDK supports Shipmondo API v3.
Specification: https://app.shipmondo.com/api/public/v3/specification
Note: If you want to upgrade from pakkelabels-php-sdk please refer to this section
Getting started
Below is a simple PHP script which illustrate the minimum amount of code needed to getting started.
Once the $client object is created, you can begin to use the API.
Examples
Get current balance
Get outstanding payment requests
Get available products
Pagination is supported
Get available / nearest pickup points
Get shipments
Pagination is supported
Get shipment by id:
Get label(s) for shipment
Create shipment
Get print queue entries
Get return portals
Get return portal by id
Get return shipments for return portal
Pagination is supported
Get imported shipments
Pagination is supported
Get imported shipment by id
Create imported shipment
Update imported shipment by id
Delete/archive an imported shipment by id
Migrating from pakkelabels-php-sdk
If you have used the pakkelabels-php-sdk library and you want to upgrade to shipmondo_php_sdk, you have to do as follows:
- Change Pakkelabels.php to Shipmondo.php in any require you use
- Change references to the Pakkelabels and PakkelabelsException class to Shipmondo and ShipmondoException
- All function calls must be changes to camelCase i.e. create_shipment -> createShipment
- All GET function calls must add get in front of, as well as camelCase i.e. account_balance -> getAccountBalance