No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 16.134.1.11
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
PHP 5.5 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/lushdigital/nshift-php.git"
}
],
"require": {
"lushdigital/nshift-php": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/NShiftPHP/vendor/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$includeCarriers = true; // bool | Include Carriers in response
$includeSubCarriers = false; // bool | Include SubCarriers in response
$includeProducts = true; // bool | Include Products in response
$includeIcons = false; // bool | Include Carrier Icons in response,
$includeServices = true; // bool | Include Services in response,
$includeGoodsTypes = true; // bool | Include Goods Types in response,
$includeValidations = false; // bool | Include validation rules for products in response
$carrierConcepID = 0; // int | Return data only for carrier with this concept ID
try {
$apiInstance->shipServerActorIDAvailableServicesGet($actorID, $includeCarriers, $includeSubCarriers, $includeProducts, $includeIcons, $includeServices, $includeGoodsTypes, $includeValidations, $carrierConcepID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDAvailableServicesGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$batchReportID = 56; // int | Job ID
try {
$apiInstance->shipServerActorIDBatchReportsBatchReportIDGet($actorID, $batchReportID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDBatchReportsBatchReportIDGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$batchID = 56; // int | Batch ID
try {
$apiInstance->shipServerActorIDBatchShipmentsBatchIDGet($actorID, $batchID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDBatchShipmentsBatchIDGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$batchID = 56; // int | Batch ID
try {
$apiInstance->shipServerActorIDBatchesBatchIDGet($actorID, $batchID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDBatchesBatchIDGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"StartIndex":"0", "Count":5, "SortField":"TransmitDt", "SortDirection":1}}
try {
$apiInstance->shipServerActorIDBatchesPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDBatchesPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"Kind":"1","Addresses":[{"Kind":1,"Name1":"Mr Test Order","Street1":"Street 10","PostCode":"1405","City":"Langhus","Email":"[email protected]","CountryCode":"NO"}],"Lines":[{"PkgWeight":"111","Height":"10","Length":"100","Width":"100","PkgVol":"10000","Pkgs":[{"ItemNo":1}]}]},"options":{"Price":"1"}}
try {
$apiInstance->shipServerActorIDCheckoutPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDCheckoutPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$dropPointID = "dropPointID_example"; // string | Drop Point ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "Kind": 1, "ProdConceptID": 1041, "Services": [ 142002 ], "Addresses": [ { "Kind": 1, "Name1": "sample", "Street1": "Street 10", "PostCode": "1400", "City": "city", "CountryCode": "NO" } ] }
try {
$apiInstance->shipServerActorIDDropPointIDsDropPointIDPost($actorID, $dropPointID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDDropPointIDsDropPointIDPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "ProdConceptID": 5748, "Addresses": [ { "Kind": 1, "Name1": "Name", "Street1": "Street 10", "PostCode": "1132nb", "City": "Volendam", "Phone": "00000000", "Mobile": "00000000", "Email": "[email protected]", "CountryCode": "NL" }, { "Kind": 2, "Name1": "Name", "Street1": "Street 10", "PostCode": "24539", "City": "Neumünster", "Phone": "00000000", "Mobile": "00000000", "CountryCode": "DE" } ], "Lines": [ { "LineWeight": 2775, "PkgWeight": 2775, "Pkgs": [ { "ItemNo": 1 } ] } ], "Services": [ 676008 ] }, "options": { "EarliestPickup": "2021-06-16T06:00", "LatestPickup": "2021-06-16T21:00", "TimeLog": 1 } }
try {
$apiInstance->shipServerActorIDDropPointsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDDropPointsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "filename": "Import1.txt", "filecontent": "MTEzNjE7NzA0NzQ7TmFtZTs7OzAwMDAwMDAwO0hhbG1zdGFkO1NFO0s2ODM2NjA7OztQMTk7RElCUzs0NTQ7U0VLOzs7", "importkeys": "W10=", "version": "0.0" } }
try {
$apiInstance->shipServerActorIDImportUploadPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDImportUploadPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$jobID = 56; // int | Job ID
try {
$apiInstance->shipServerActorIDJobsJobIDGet($actorID, $jobID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDJobsJobIDGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "OrderNo": "772157949528", "Lines": [ { "Length": 150, "Height": 100, "PkgWeight": 130, "Width": 100, "PkgVol": 1500000, "Pkgs": [ { "ItemNo": 1, "PkgNo": "" } ] } ], "Addresses": [ { "Kind": 1, "Name1": "Name", "Street1": "Street 10", "PostCode": "0360", "City": "OSLO", "POPostCode": "0580", "POCity": "OSLO", "Phone": "00000000", "Mobile": "12341234", "Email": "[email protected]", "CountryCode": "NO" } ], "References": [ { "Kind": 7, "Value": "ECOM12364313" } ] }, "options": { "ServiceLevel": "STANDARD", "RequiredDeliveryDate": "2021-10-25", "UseShippingRules": "1", "ValidatePostCode": null, "Visibility": "extended" } }
try {
$apiInstance->shipServerActorIDOrderAdvicePost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDOrderAdvicePost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"Kind":1,"OrderNo":19576,"Addresses":[{"Kind":1,"Name1":"Leveranser AB","Street1":"Test Street 1","PostCode":"24542","City":"Staffanstorp","Phone":"00000000","Mobile":"00000000","Email":"[email protected]","Attention":"TEST","CountryCode":"SE"},{"Kind":2,"Name1":"Consignor AB","Street1":"Street 10","PostCode":"22350","City":"Lund","Phone":"046-123456","Mobile":"046-123456","Email":"[email protected]","Attention": "Kundtjänst","CountryCode":"SE"},{"Kind":10,"CustNo":""}],"Amounts":[{"Kind":10,"CurrencyCode":3,"Value":""}],"Lines":[{"PkgWeight":2000,"Height":"150","Length":"150","Width":"150","References":[{"Kind":23,"Value":""}],"PkgVol":0,"Pkgs":[{"ItemNo":1}]}]},"options":{"OrderID":"12345"}}
try {
$apiInstance->shipServerActorIDOrdersPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDOrdersPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request PUT: {"data":{"PackageCSIDs":[4566,4585]},"options":{}}
try {
$apiInstance->shipServerActorIDPackagesManifestPut($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDPackagesManifestPut: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data": {"ProdConceptID": 7358, "AgentNo": "1344", "Addresses": [{"Kind": 1, "Name1": "Test Receiver", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "CustNo": "5", "Mobile": "+4411223344", "CountryCode": "SE", "Email": "[email protected]", "Country": "Sweden", "ERPRef": "5"}, {"Kind": 2, "Name1": "Sender Test", "Street1": "Lisebergsvägen 2", "PostCode": "43891", "Mobile": "99887766", "City": "Landvetter", "CustNo": "3425964", "CountryCode": "SE", "Country": "Sweden", "Email": "[email protected]"}], "References": [{"Kind": 108, "Value": "2021-10-15T00:00:00"}, {"Kind": 109, "Value": "2021-10-15T00:22:00"}, {"Kind": 110, "Value": "2021-10-15T00:01:00"}, {"Kind": 111, "Value": "2021-10-15T00:22:00"}, {"Kind": 140, "Value": "[email protected]"}], "Lines": [{"LineWeight": 4000, "PkgWeight": 4000, "Width": 10, "Height": 400, "Length": 10, "Pkgs": [{"ItemNo": 3}], "References": [{"Kind": 23, "Value": "cool stuff"}]}]},"options":{"PickupLockerToken":"ZXlKemIzSjBYMk52WkdVaU9pSkpUalVpTENKaGRtRnBiR0ZpYVd4cGRIbGZkRzlyWlc0aU9pSmlNekU1T1RkbFlTMDRPVFZoTFRSbFpqY3RPR1ZtWkMwek5XVTRNak5oWkdVNFlXSWlmUT09O0lONTtULU1hcmlhdG9yZ2V0IChTd2VkZW5ib3Jnc2cpIFByZXNzYnlyw6VuIChpbW9yZ29uIH4xNjowMCk7O1dvbGxtYXIgWXhrdWxsc2dhdGFuIDg7V29sbG1hciBZeGt1bGxzZ2F0YW4gODsxMTg1MDtTdG9ja2hvbG07O1NFOzs7", "TimeLog": 1,"Token":"_-1_0_7892_7961_4593_5599_0_0__0__12/30/1899_12/30/1899_TimeSlots__"}}
try {
$apiInstance->shipServerActorIDPickupLockerAllocationsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDPickupLockerAllocationsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "ProdConceptID": 7358, "AgentNo": "1344", "Addresses": [ { "Kind": 1, "Name1": "Test Receiver", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "Mobile": "00000000", "Email": "[email protected]" }, { "Kind": 2, "Name1": "Sender Test", "Street1": "Street 10", "PostCode": "43891", "Mobile": "00000000", "City": "Landvetter", "CustNo": "3425964", "Email": "[email protected]" } ], "References": [ { "Kind": 108, "Value": "2021-10-15T00:00:00" }, { "Kind": 109, "Value": "2021-10-15T00:22:00" }, { "Kind": 110, "Value": "2021-10-15T00:01:00" }, { "Kind": 111, "Value": "2021-10-15T00:22:00" }, { "Kind": 140, "Value": "[email protected]" } ], "Lines": [ { "LineWeight": 4000, "PkgWeight": 4000, "Width": 10, "Height": 400, "Length": 10, "Pkgs": [ { "ItemNo": 3 } ], "References": [ { "Kind": 23, "Value": "cool stuff" } ] } ] }, "options": { "TimeLog": 1, "Token": "_-1_0_7892_7961_4593_5599_0_0__0__12/30/1899_12/30/1899_TimeSlots__" } }
try {
$apiInstance->shipServerActorIDPickupLockersPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDPickupLockersPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
try {
$apiInstance->shipServerActorIDProductsGet($actorID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDProductsGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "ProdConceptID": 2816, "Addresses": [ { "Kind": 1, "Name1": "Name Receiver", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "CustNo": "5", "Mobile": "00000000", "CountryCode": "SE", "Email": "[email protected]", "Country": "Sweden" } ], "Lines": [ { "LineWeight": 500, "Pkgs": [ { "ItemNo": 1 } ] } ] }, "options": { } }
try {
$apiInstance->shipServerActorIDSaveShipmentPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDSaveShipmentPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
try {
$apiInstance->shipServerActorIDSenderAddressGet($actorID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDSenderAddressGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"Kind":"1","Addresses":[{"Kind":1,"Name1":"Mr Test Order","Street1":"Street 10","PostCode":"1405","City":"Langhus","Email":"[email protected]","CountryCode":"NO"}],"Lines":[{"PkgWeight":"111","Height":"10","Length":"100","Width":"100","PkgVol":"10000","Pkgs":[{"ItemNo":1}]}]},"options":{"ServiceLevel":"test","Price":"1"}}
try {
$apiInstance->shipServerActorIDShipAdvisesPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipAdvisesPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "DimensionalWeight": 900, "Weight": 900, "ActorCSID": 73, "CarriagePayer": 1, "ProdConceptID": 2, "StackCSID": "155", "Addresses": [ { "Kind": 1, "Name1": "Bane", "Street1": "Street 10", "PostCode": "5863", "City": "BERGEN", "CountryCode": "NO" }, { "Kind": 2, "Name1": "Name", "Street1": "Street 10", "PostCode": "0680", "City": "Oslo", "CountryCode": "NO" } ], "Lines": [ { "LineWeight": 900, "PkgWeight": 900, "Number": 1 } ] } }
try {
$apiInstance->shipServerActorIDShipmentPricesPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentPricesPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "Addresses": [ { "Kind": 1, "Name1": "RecName1", "Name2": "RecName2", "Street1": "Street 10", "PostCode": "0680", "City": "OSLO", "Phone": "00000000", "Email": "[email protected]", "CountryCode": "NO" }, { "Kind": 2, "Name1": "SenName1", "Name2": "SenName2", "Street1": "Street 10", "PostCode": "0681", "City": "OSLO", "Mobile": "00000000", "Email": "[email protected]", "CountryCode": "NO" } ], "Lines": [ { "LineWeight": 5000, "PkgWeight": 5000, "GoodsTypeID": 1, "Pkgs": [ {}, {} ], "References": [ { "Kind": 23, "Value": "Contents" } ] } ], "References": [ { "Kind": 32, "Value": "AdditionalReference 1" } ], "Amounts": [ { "Kind": 1, "CurrencyCode": "1", "CurrencyClientId": 1, "Value": 10, "ShipmentId": 0, "Id": 0 } ], "Messages": [ { "Kind": 2, "Text": "CarrierMessage 1", "ShipmentId": 0, "Id": 0 } ], "ProdConceptID": 185 }, "options": { "Labels": "none" } }
try {
$apiInstance->shipServerActorIDShipmentValidationsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentValidationsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"Kind":"1","ProdCSID":4338,"Addresses":[{"Kind":1,"Name1":"Mr Test Order","Street1":"Street 10","PostCode":"1405","City":"Langhus","Email":"[email protected]","CountryCode":"NO"}],"Lines":[{"PkgWeight":"111","Height":"10","Length":"100","Width":"100","PkgVol":"10000","Pkgs":[{"ItemNo":1}]}]},"options":{"ProductChanged":1430}}
try {
$apiInstance->shipServerActorIDShipmentsDefaultsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsDefaultsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"ShpCSID":2} ,"options":{"Labels":"PNG"}}
try {
$apiInstance->shipServerActorIDShipmentsLabelReprintPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsLabelReprintPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request PUT: {"data":{"ShipmentTags":["021602A9-F214-49B5-89BE-A40DC6E4CF55", "5D534521-8152-4483-8ED7-B74FD1BBF8DD"]},"options":{}}
try {
$apiInstance->shipServerActorIDShipmentsManifestPut($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsManifestPut: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "ProdConceptID": 2816, "Addresses": [ { "Kind": 1, "Name1": "Name Receiver", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "Mobile": "00000000", "CountryCode": "SE", "Email": "[email protected]", }, { "Kind": 2, "Name1": "Name Receiver", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "Mobile": "00000000", "CountryCode": "SE", "Email": "[email protected]", } ], "Lines": [ { "LineWeight": 500, "Pkgs": [ { "ItemNo": 1 } ] } ] }, "options": { "TimeLog": 0, "UseShippingRules": 0, "Visibility": "extended", "Labels": "ZPLGK" } }
try {
$apiInstance->shipServerActorIDShipmentsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Optional - can be empty
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagDelete($actorID, $shipmentTag, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagDelete: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"DetailGroups":[{"GroupID":1,"GroupDisplayName":"Customs Article","Rows":[{"RowNo":1,"LineNo":1,"Details":[{"KindID":1,"Value":"Updated A for l1","DisplayName":"Article No"},{"KindID":7,"Value":"Updated desc l1","DisplayName":"Description of Goods"}]},{"RowNo":2,"LineNo":2,"Details":[{"KindID":1,"Value":"A for l2","DisplayName":"Article No"},{"KindID":7,"Value":"desc l2","DisplayName":"Description of Goods"}]}]},{"GroupID":2,"GroupDisplayName":"Customs Information","Details":[{"KindID":11,"Value":"Updated VAT Sender","DisplayName":"Vat No (Sender)"}]}]},"options":{"Labels":"none"}}
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagDetailsPatch($actorID, $shipmentTag, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagDetailsPatch: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagDocumentListsGet($actorID, $shipmentTag);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagDocumentListsGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagDocumentsGet($actorID, $shipmentTag);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagDocumentsGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagGet($actorID, $shipmentTag);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
$lineTag = "lineTag_example"; // string | Line Tag
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Can be empty
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagLinesLineTagDelete($actorID, $shipmentTag, $lineTag, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagLinesLineTagDelete: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
$lineTag = "lineTag_example"; // string | Line Tag
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"LineWeight":5000,"PkgWeight":5000,"LineVol":1000000,"PickupDt":"2022-11-12T00:00:00","PkgVol":1000000,"Loadmeter":20,"GoodsTypeID":1,"GoodsTypeName":"Paket","RecycleTypeID":1,"RecycleTypeName":"EUR","RecycleTypeCode":"EUR","GoodsTypeKey1":"PC","GoodsTypeKey2":"PKT","Pkgs":[{"PkgCSID":122027,"ItemNo":1}]},"options":{"Labels":"none"}}
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagLinesLineTagPatch($actorID, $shipmentTag, $lineTag, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagLinesLineTagPatch: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"LineWeight":1000,"PkgWeight":1000,"Height":30,"Length":30,"Width":30,"LineVol":27000,"PkgVol":27000,"Pkgs":[{"ItemNo":1,"References":[{"Kind":346,"Value":"False"}]}],"References":[{"Kind":23,"Value":"oranges"},{"Kind":24,"Value":"org"},{"Kind":345,"Value":"False"}]},"options":{}}
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagLinesPost($actorID, $shipmentTag, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagLinesPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
$packageTag = "packageTag_example"; // string | Package Tag
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Can be empty
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagPackagesPackageTagDelete($actorID, $shipmentTag, $packageTag, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagPackagesPackageTagDelete: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$shipmentTag = "shipmentTag_example"; // string | Shipment Tag
try {
$apiInstance->shipServerActorIDShipmentsShipmentTagTrackingURLGet($actorID, $shipmentTag);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShipmentsShipmentTagTrackingURLGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "ShippingRules": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxDU1I+DQoJPFNlcnZpY2VMZXZlbHM+DQoJCTxTZXJ2aWNlTGV2ZWwgbmFtZT0iU3RhbmRhcmQiPg0KCQkJPFByb2R1Y3RzPg0KCQkJCTxQcm9kdWN0IG5hbWU9IkJ1ZCIgY29uY2VwdGlkPSI3MDYiIGNvbW1lbnQ9IkdCIiByYW5rPSIxMDAiPg0KCQkJCQk8VmFsaWRhdGlvblJ1bGVzPg0KCQkJCQkJPFZhbGlkYXRpb25SdWxlIG5hbWU9ImZsb2F0bGltaXRzIiBtaW49IjEwMCIgbWF4PSIxMDAwIiBmaWVsZD0iZmxkX0xMZW5ndGgiLz4NCgkJCQkJPC9WYWxpZGF0aW9uUnVsZXM+DQoJCQkJPC9Qcm9kdWN0Pg0KCQkJCTxQcm9kdWN0IG5hbWU9IlBhbGwiIGNvbmNlcHRpZD0iNzA4IiBjb21tZW50PSJHQiIgcm Fuaz0iNTAiPg0KCQkJCQk8UG9zdGNvZGVWYWxpZGF0aW9ucz4NCgkJCQkJCTxQb3N0Y29kZVZhbGlkYXRpb24gY291bnRyeT0iTk8iIGV4Y2x1ZGU9IjAiIHR5cGU9Ik5PIj4NCgkJCQkJCQk8UmFuZ2UgbWluPSIwNTU1IiBtYXg9IiIvPg0KCQkJCQkJPC9Qb3N0Y29kZVZhbGlkYXRpb24+DQoJCQkJCTwvUG9zdGNvZGVWYWxpZGF0aW9ucz4NCgkJCQkJPFZhbGlkYXRpb25SdWxlcz4NCgkJCQkJCTxWYWxpZGF0aW9uUnVsZSBuYW1lPSJjb3VudHJ5IiBhbGxvd2NvdW50cmllcz0iTk8iIGZpZWxkPSJmbGRfQWRyQ291bnRyeSIvPg0KCQkJCQk8L1ZhbGlkYXRpb25SdWxlcz4NCgkJCQk8L1Byb2R1Y3Q+DQoJCQk8L1Byb2R1Y3RzPg0KCQkJPEFsbG9jYXRpb25SdWxlcz4NCgkJCQk8QWxsb2NhdGlvblJ1bGUgdHlwZT0iaGlnaGVzdHJhbmsiLz4NCgkJCTwvQWxsb2NhdGlvblJ1bGVzPg0KCQk8L1NlcnZpY2VMZXZlbD4NCgk8L1NlcnZpY2VMZXZlbHM+DQo8L0NTUj4NCg" } }
try {
$apiInstance->shipServerActorIDShippingRulesPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDShippingRulesPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
try {
$apiInstance->shipServerActorIDStacksGet($actorID);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDStacksGet: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data": {"StackName": "TestStack", "SubcarrierConceptID": 22},"options": {}}
try {
$apiInstance->shipServerActorIDStacksPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDStacksPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request PATCH: {"data":{"StackCSID":156,"ShipmentTags":["6D48DB14-5DA2-40EB-9383-FFDDE6347F4F"]},"options":{}}
try {
$apiInstance->shipServerActorIDStacksShipmentsPatch($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDStacksShipmentsPatch: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data" : {"StackCSID": 133}} or {"data" : {"SubcarrierCSID": 12}} or {"data" : {"CarrierCSID": 22}} see doc in link
try {
$apiInstance->shipServerActorIDStacksShipmentsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDStacksShipmentsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$stackID = 56; // int | Stack ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Can be empty
try {
$apiInstance->shipServerActorIDStacksStackIDDelete($actorID, $stackID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDStacksStackIDDelete: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$stackID = 56; // int | Stack ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "StackCSID": "36437" }}
try {
$apiInstance->shipServerActorIDStacksStackIDManifestPut($actorID, $stackID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDStacksStackIDManifestPut: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"Kind":1,"ShpCSID":524,"OrderNo":"772157949528","Lines":[{"Length":150,"Height":100,"PkgWeight":130,"Width":100,"PkgVol":1500000,"Pkgs":[{"ItemNo":1,"PkgNo":""}]}],"DetailGroups":[{"GroupID":1,"Rows":[{"GoodsLineNo":1,"Details":[{"KindID":1,"Value":"2102421501404NYE460"},{"KindID":2,"Value":"4.24"},{"KindID":4,"Value":"CN"},{"KindID":5,"Value":"1"},{"KindID":6,"Value":".13"},{"KindID":7,"Value":"VL TONAL EMBROIDERY ENTRY TEE"},{"KindID":9,"Value":"1"},{"KindID":10,"Value":"34.99"},{"KindID":17,"Value":"EUR"},{"KindID":18,"Value":"6109100010"},{"KindID":186,"Value":"T.SHIRT"},{"KindID":192,"Value":"N"}]}]}],"Addresses":[{"Kind":1,"Name1":"AutoReceiver","Street1":"Street 10","PostCode":"0360","City":"OSLO","POPostCode":"0580","POCity":"OSLO","Phone":"67 06 49 91","Mobile":"12341234","Email":"[email protected]","ContactCSID":5299935,"Fax":"67 06 49 92","CountryCode":"NO","Country":"NORWAY","CountryCodeISO3":"NOR","CountryISOID":578}],"References":[{"Kind":7,"Value":"ECOM12364313"}]},"options":{"ReturnShipmentServiceLevel":"Return","Labels":"PNG","UseCopy":0,"Visibility":"extended","ReturnShipmentFirst":0}}
try {
$apiInstance->shipServerActorIDSubmitOrderPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDSubmitOrderPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"Addresses":[{"Kind":1,"Name1":"Test Receiver","Street1":"Street 10","PostCode":"11848","City":"Göteborg","CustNo":"5","Phone":"004007123456","Mobile":"00000000","CountryCode":"SE","Email":"[email protected]","Country":"Sweden","ERPRef":"5"},{"Kind":10,"Name1":"Sender Test","Street1":"Street 10","PostCode":"43891","Mobile":"00000000","Phone":"004007123456","City":"Landvetter","CustNo":"3425964","CountryCode":"SE","Country":"Sweden","Email":"[email protected]"}],"Lines":[{"LineWeight":4000,"PkgWeight":4000,"Width":10,"Height":400,"Length":10,"Pkgs":[{"ItemNo":3}],"References":[{"Kind":23,"Value":"cool stuff"}]}]},"options":{"Token":"_-1_0_7892_7961_4593_5599_0_0__0__12/30/1899_12/30/1899_TimeSlots__","TimeSlotToken":"..."}}
try {
$apiInstance->shipServerActorIDTimeSlotAllocationsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDTimeSlotAllocationsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"ProdConceptID":5799,"Addresses":[{"Kind":1,"Name1":"Test ","Attention":"Test","Street1":"Street 10","PostCode":"0580","City":"OSLO","CountryCode":"NO","Email":"[email protected]","Phone":"00000000"},{"Kind":2,"Attention":"Att Sender","Name1":"Sender for all","Street1":"Street 10","PostCode":"0192","City":"OSLO","Phone":"004007123456","Email":"[email protected]","CountryCode":"NO"}],"Lines":[{"LineWeight":4000,"PkgWeight":4000,"Width":10,"Height":400,"Length":10,"Pkgs":[{"ItemNo":3}],"References":[{"Kind":23,"Value":"cool stuff"}]}]},"options":{"EarliestPickup":"2021-06-16T06:00","LatestPickup":"2021-06-16T21:00","TimeLog":1}}
try {
$apiInstance->shipServerActorIDTimeSlotsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDTimeSlotsPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: { "data": { "Kind": 1, "ProdConceptID": 2816, "Addresses": [ { "Kind": 1, "Name1": "Name Receiver", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "Mobile": "00000000", "CountryCode": "SE", "Email": "[email protected]" }, { "Kind": 2, "Name1": "Name sender", "Street1": "Street 10", "PostCode": "11848", "City": "Göteborg", "Mobile": "00000000", "CountryCode": "SE", "Email": "[email protected]" } ] } }
try {
$apiInstance->shipServerActorIDValidRoutesPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDValidRoutesPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data":{"ProdCSID":113,"Addresses":[{"Kind":1,"Name1":"Test Receiver","Street1":"Street 10","PostCode":"11848","City":"Göteborg","CustNo":"5","Phone":"004007123456","Mobile":"00000000","CountryCode":"SE","Email":"[email protected]","Country":"Sweden","ERPRef":"5"},{"Kind":10,"Name1":"Sender Test","Street1":"Street 10","PostCode":"43891","Mobile":"00000000","Phone":"004007123456","City":"Landvetter","CustNo":"3425964","CountryCode":"SE","Country":"Sweden","Email":"[email protected]"}],"Lines":[{"LineWeight":4000,"PkgWeight":4000,"Width":10,"Height":400,"Length":10,"Pkgs":[{"ItemNo":3}],"References":[{"Kind":23,"Value":"cool stuff"}]}]},"options":{"Token":"-1_0_7892_7961_4593_5599_0_0__0__12/30/1899_12/30/1899_TimeSlots_","AllocatedTimeSlotToken":"..."}}
try {
$apiInstance->shipServerActorIDVoidTimeSlotPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDVoidTimeSlotPost: ', $e->getMessage(), PHP_EOL;
}
// Configure API key authorization: IdentityApiKey
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');// Configure HTTP basic authorization: basic
$config = LUSHDigital\NShiftPHP\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new LUSHDigital\NShiftPHP\ShipServer\ShipServerApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$actorID = 56; // int | Actor ID
$body = new \LUSHDigital\NShiftPHP\Model\RequestBody(); // \LUSHDigital\NShiftPHP\Model\RequestBody | Sample request POST: {"data": {"BookingNo": "255664","CustomsRefNo": "Norway","ContentsPallet": "","HalfPallet": "1","QuarterPallet": "","Oversize": "","Other": "","SendersPlace": "Hillerød","Date": "17.10.2016","Sender": "Test ApS, Frydenborgvej 32, 3400 Hillerød, Denmark","CustNo": "10432061","DestinationCountryTerminal": "Norway, POSTNORD","AgentNorge": "","AgentReceiver": "Test, 0484 Oslo, Norway","DestinationCountry": "Norway","BusinessBulksplit.ColliNo": "","BusinessBulksplit.TotalNetWeight": "","BusinessBulksplit.AddedServices.0.Type": "","BusinessBulksplit.AddedServices.0.ColliNo": "","BusinessBulksplit.AddedServices.1.Type": "","BusinessBulksplit.AddedServices.1.ColliNo": "","BusinessBulksplit.AddedServices.2.Type": "","BusinessBulksplit.AddedServices.2.ColliNo": "","BusinessBulksplit.AddedServices.3.Type": "","BusinessBulksplit.AddedServices.3.ColliNo": "","MyPackBulksplit.ColliNo": "29","MyPackBulksplit.TotalNetWeight": "13","MyPackBulksplit.AddedServices.0.Type": "","MyPackBulksplit.AddedServices.0.ColliNo": "","MyPackBulksplit.AddedService.s1.Type": "","MyPackBulksplit.AddedServices.1.ColliNo": "","MyPackBulksplit.AddedServices.2.Type": "","MyPackBulksplit.AddedServices.2.ColliNo": "","MyPackBulksplit.AddedServices.3.Type": "","MyPackBulksplit.AddedServices.3.ColliNo": "","Pallet.ColliNo": "","Pallet.TotalNetWeight": "","Pallet.AddedServices.0.Type": "","Pallet.AddedServices.0.ColliNo": "","Pallet.AddedServices.1.Type": "","Pallet.AddedServices.1.ColliNo": "","Pallet.AddedServices.2.Type": "","Pallet.AddedServices.2.ColliNo": "","Pallet.AddedServices.3.Type": "","Pallet.AddedServices.3.ColliNo": "","PackageIDPallet": "","BatchCSID": 4948000,"CountryCode": "NO"}}
try {
$apiInstance->shipServerActorIDWaybillsPost($actorID, $body);
} catch (Exception $e) {
echo 'Exception when calling ShipServerApi->shipServerActorIDWaybillsPost: ', $e->getMessage(), PHP_EOL;
}
?>
All URIs are relative to https://api.shipmentserver.com
Class | Method | HTTP request | Description |
---|---|---|---|
ShipServerApi | shipServerActorIDAvailableServicesGet | GET /ShipServer/{actorID}/availableServices | Get Products for actor |
ShipServerApi | shipServerActorIDBatchReportsBatchReportIDGet | GET /ShipServer/{actorID}/batchReports/{batchReportID} | Get batch report |
ShipServerApi | shipServerActorIDBatchShipmentsBatchIDGet | GET /ShipServer/{actorID}/batchShipments/{batchID} | Get batch shipments |
ShipServerApi | shipServerActorIDBatchesBatchIDGet | GET /ShipServer/{actorID}/batches/{batchID} | Get Batch Details |
ShipServerApi | shipServerActorIDBatchesPost | POST /ShipServer/{actorID}/batches | Get Batch List |
ShipServerApi | shipServerActorIDCheckoutPost | POST /ShipServer/{actorID}/checkout | Get delivery optionswithout shipping rules defined |
ShipServerApi | shipServerActorIDDropPointIDsDropPointIDPost | POST /ShipServer/{actorID}/dropPointIDs/{dropPointID} | Get drop point by ID |
ShipServerApi | shipServerActorIDDropPointsPost | POST /ShipServer/{actorID}/dropPoints | Get drop points |
ShipServerApi | shipServerActorIDImportUploadPost | POST /ShipServer/{actorID}/importUpload | Import Upload |
ShipServerApi | shipServerActorIDJobsJobIDGet | GET /ShipServer/{actorID}/jobs/{jobID} | Get job |
ShipServerApi | shipServerActorIDOrderAdvicePost | POST /ShipServer/{actorID}/orderAdvice | Creation of an order |
ShipServerApi | shipServerActorIDOrdersPost | POST /ShipServer/{actorID}/orders | Store order |
ShipServerApi | shipServerActorIDPackagesManifestPut | PUT /ShipServer/{actorID}/packages/manifest | Transmit/manifest packages |
ShipServerApi | shipServerActorIDPickupLockerAllocationsPost | POST /ShipServer/{actorID}/pickupLockerAllocations | Pickup Locker Allocations |
ShipServerApi | shipServerActorIDPickupLockersPost | POST /ShipServer/{actorID}/pickupLockers | Get pickup lockers |
ShipServerApi | shipServerActorIDProductsGet | GET /ShipServer/{actorID}/products | Get Products |
ShipServerApi | shipServerActorIDSaveShipmentPost | POST /ShipServer/{actorID}/saveShipment | Save shipment |
ShipServerApi | shipServerActorIDSenderAddressGet | GET /ShipServer/{actorID}/senderAddress | Get Sender Address |
ShipServerApi | shipServerActorIDShipAdvisesPost | POST /ShipServer/{actorID}/shipAdvises | Get delivery options |
ShipServerApi | shipServerActorIDShipmentPricesPost | POST /ShipServer/{actorID}/shipmentPrices | Get Shipment Price |
ShipServerApi | shipServerActorIDShipmentValidationsPost | POST /ShipServer/{actorID}/shipmentValidations | Validate shipment |
ShipServerApi | shipServerActorIDShipmentsDefaultsPost | POST /ShipServer/{actorID}/shipments/defaults | Apply defaults on shipment |
ShipServerApi | shipServerActorIDShipmentsLabelReprintPost | POST /ShipServer/{actorID}/shipments/labelReprint | Reprint Labels |
ShipServerApi | shipServerActorIDShipmentsManifestPut | PUT /ShipServer/{actorID}/shipments/manifest | Transmit/manifest Shipments |
ShipServerApi | shipServerActorIDShipmentsPost | POST /ShipServer/{actorID}/shipments | Submit/Print Shipment |
ShipServerApi | shipServerActorIDShipmentsShipmentTagDelete | DELETE /ShipServer/{actorID}/shipments/{shipmentTag} | Delete shipment |
ShipServerApi | shipServerActorIDShipmentsShipmentTagDetailsPatch | PATCH /ShipServer/{actorID}/shipments/{shipmentTag}/details | Update Details |
ShipServerApi | shipServerActorIDShipmentsShipmentTagDocumentListsGet | GET /ShipServer/{actorID}/shipments/{shipmentTag}/documentLists | Get document list for a shipment |
ShipServerApi | shipServerActorIDShipmentsShipmentTagDocumentsGet | GET /ShipServer/{actorID}/shipments/{shipmentTag}/documents | Get documents for a shipment |
ShipServerApi | shipServerActorIDShipmentsShipmentTagGet | GET /ShipServer/{actorID}/shipments/{shipmentTag} | Get existing shipment |
ShipServerApi | shipServerActorIDShipmentsShipmentTagLinesLineTagDelete | DELETE /ShipServer/{actorID}/shipments/{shipmentTag}/lines/{lineTag} | Delete line |
ShipServerApi | shipServerActorIDShipmentsShipmentTagLinesLineTagPatch | PATCH /ShipServer/{actorID}/shipments/{shipmentTag}/lines/{lineTag} | Update Line |
ShipServerApi | shipServerActorIDShipmentsShipmentTagLinesPost | POST /ShipServer/{actorID}/shipments/{shipmentTag}/lines | New shipment line |
ShipServerApi | shipServerActorIDShipmentsShipmentTagPackagesPackageTagDelete | DELETE /ShipServer/{actorID}/shipments/{shipmentTag}/packages/{packageTag} | Delete package |
ShipServerApi | shipServerActorIDShipmentsShipmentTagTrackingURLGet | GET /ShipServer/{actorID}/shipments/{shipmentTag}/trackingURL | Get Tracking URL |
ShipServerApi | shipServerActorIDShippingRulesPost | POST /ShipServer/{actorID}/shippingRules | Save shipping rules |
ShipServerApi | shipServerActorIDStacksGet | GET /ShipServer/{actorID}/stacks | Get stacks |
ShipServerApi | shipServerActorIDStacksPost | POST /ShipServer/{actorID}/stacks | Create stack |
ShipServerApi | shipServerActorIDStacksShipmentsPatch | PATCH /ShipServer/{actorID}/stacks/shipments | Move shipments |
ShipServerApi | shipServerActorIDStacksShipmentsPost | POST /ShipServer/{actorID}/stacks/shipments | Get stackshipments |
ShipServerApi | shipServerActorIDStacksStackIDDelete | DELETE /ShipServer/{actorID}/stacks/{stackID} | Delete stack |
ShipServerApi | shipServerActorIDStacksStackIDManifestPut | PUT /ShipServer/{actorID}/stacks/{stackID}/manifest | Transmit stack |
ShipServerApi | shipServerActorIDSubmitOrderPost | POST /ShipServer/{actorID}/submitOrder | Submit order |
ShipServerApi | shipServerActorIDTimeSlotAllocationsPost | POST /ShipServer/{actorID}/timeSlotAllocations | Time slot allocations |
ShipServerApi | shipServerActorIDTimeSlotsPost | POST /ShipServer/{actorID}/timeSlots | Get time slots |
ShipServerApi | shipServerActorIDValidRoutesPost | POST /ShipServer/{actorID}/validRoutes | Check sender/receiver addresses. |
ShipServerApi | shipServerActorIDVoidTimeSlotPost | POST /ShipServer/{actorID}/voidTimeSlot | Void Time slot |
ShipServerApi | shipServerActorIDWaybillsPost | POST /ShipServer/{actorID}/waybills | Get waybills |
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
- Type: HTTP basic authentication