Download the PHP package zvps/royal-mail-shipping-rest-api-client without Composer
On this page you can find all versions of the php package zvps/royal-mail-shipping-rest-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package royal-mail-shipping-rest-api-client
Royal Mail API Shipping v3 Client
This API specification details the requirements for integrating with Royal Mail API Shipping V3.
It specifically covers how the Royal Mail API Shipping V3 can be used by business customers to conduct shipping activity with Royal Mail and provides the technical information to build this integration. This specification must be used with the relevant accompanying specifications for customers wishing to interface their systems with Royal Mail services.
Royal Mail API Shipping V3 exposes a fully RESTful service that allows account customers to create shipments, produce labels, and produce documentation for all the tasks required to ship domestic items with Royal Mail.
Built on industry standards, Royal Mail API Shipping V3 provides a simple and low cost method for customers to integrate with Royal Mail, and allows them to get shipping quickly. The API offers data streaming and offline barcoding to allow customers greater flexibility when generating their labels. There are no costs to customers for using the Royal Mail API Shipping V3 services, however customers’ own development costs must be covered by the customer developing the solution. Royal Mail will not accept any responsibility for these development, implementation and testing costs. Customers should address initial enquiries regarding development of systems for these purposes to their account handler.
This API can be used in conjunction with Royal Mail Pro Shipping, a GUI based shipping platform. For more details on Royal Mail Pro Shipping, including videos on and briefs on updating/ cancelling a shipment and Manifesting please refer to http://www.royalmail.com/pro-shipping-help.
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 3.0.12
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Tests
To run the unit tests:
Getting Started
Please follow the installation procedure and then run the following:
Documentation for API Endpoints
All URIs are relative to ///shipping/v3
Class | Method | HTTP request | Description |
---|---|---|---|
AddressesApi | addressesCreate | POST /addresses | Create Address |
AddressesApi | addressesDelete | DELETE /addresses/{addressId} | Delete Address |
AddressesApi | addressesGet | GET /addresses/{addressId} | Get Address |
AddressesApi | addressesGetAll | GET /addresses | Get Addresses |
AddressesApi | addressesUpdate | PUT /addresses/{addressId} | Update address |
ItemsApi | itemsCreate | POST /items | Create Item |
ItemsApi | itemsDelete | DELETE /items/{itemId} | Delete Item |
ItemsApi | itemsGet | GET /items/{itemId} | Get Item |
ItemsApi | itemsGetAll | GET /items | Get Items |
ItemsApi | itemsUpdate | PUT /items/{itemId} | Update item |
ManifestsApi | manifestsCreate | POST /manifests | Manifest All Shipments |
ManifestsApi | manifestsCreateByCarrier | POST /manifests/bycarrier | Manifest by Carrier Code(s) |
ManifestsApi | manifestsCreateByService | POST /manifests/byservice | Manifest by Service Code(s) |
PackagingApi | packagingCreate | POST /packaging | Create Packaging |
PackagingApi | packagingDelete | DELETE /packaging/{packagingId} | Delete Packaging |
PackagingApi | packagingGet | GET /packaging/{packagingId} | Get Packaging |
PackagingApi | packagingGetAll | GET /packaging | Get All Packaging |
PackagingApi | packagingUpdate | PUT /packaging/{packagingId} | Update packaging |
ShipmentsApi | shipmentsCancel | PUT /shipments/cancel | Cancel Shipments |
ShipmentsApi | shipmentsCreate | POST /shipments | Create Shipment |
ShipmentsApi | shipmentsDefer | PUT /shipments/defer | Defer Shipments |
ShipmentsApi | shipmentsHold | PUT /shipments/hold | Hold Shipments |
ShipmentsApi | shipmentsPrintDocument | PUT /shipments/{shipmentId}/printDocument | Print Document |
ShipmentsApi | shipmentsPrintLabel | PUT /shipments/{shipmentId}/printLabel | Print Label |
ShipmentsApi | shipmentsRelease | PUT /shipments/release | Release Shipments |
ShipmentsApi | shipmentsServiceAvailability | POST /shipments/serviceAvailability | Service Availability |
TokenApi | authenticatePost | POST /token | Authenticates a User and provides token. |
Documentation For Models
- Address
- AddressResponse
- CreateShipmentDestination
- CreateShipmentServiceOptions
- CreateShipmentShipment
- CreateShipmentShipmentInformation
- CreateShipmentShipmentPackage
- ErrorDetail
- Item
- ItemResponse
- Manifest
- ManifestCarrierCodesRequest
- ManifestRequest
- ManifestResponse
- ManifestServiceCodesRequest
- PackageResponse
- Packaging
- PackagingResponse
- PrintDocumentRequest
- PrintDocumentResponse
- PrintLabelRequest
- PrintLabelResponse
- ServiceAvailabilityDestination
- ServiceAvailabilityFormat
- ServiceAvailabilityOption
- ServiceAvailabilityResponse
- ServiceAvailabilityServiceOptions
- ServiceAvailabilityShipment
- ServiceAvailabilityShipmentInformation
- ServiceAvailabilityShipmentPackage
- ShipmentCancelRequest
- ShipmentCreateResponse
- ShipmentDeferRequest
- ShipmentHoldRequest
- ShipmentItem
- ShipmentsCancelResponse
- ShipmentsDeferResponse
- ShipmentsHoldResponse
- ShipmentsReleaseRequest
- ShipmentsReleaseResponse
- Shipper
Documentation For Authorization
clientID
- Type: API key
- API key parameter name: X-IBM-Client-Id
- Location: HTTP header
clientSecret
- Type: API key
- API key parameter name: X-IBM-Client-Secret
- Location: HTTP header
Author
All versions of royal-mail-shipping-rest-api-client with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2