Download the PHP package vekkon/postbarcodeclient-php without Composer
On this page you can find all versions of the php package vekkon/postbarcodeclient-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package postbarcodeclient-php
SwaggerClient-php
Digital Commerce Swiss Post web REST API for the generation of the address label. With the \"Generate address label\" request, the combinations of selected basic and additional services/delivery instructions will be tested automatically, whether or not you have already done this yourself beforehand. With the \"Generate address label\" operation, the mailing data (e.g. COD amount) is also validated. For the \"Parcels\", \"Express\" and \"Solutions\" service groups, the mailing data is automatically transferred to DataTransfer. This means that you receive the same benefits as you would under DataTransfer. API documentation https://developer.post.ch/en/digital-commerce-api
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.2
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen For more information, please visit https://www.post.ch/digital-commerce/api
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 https://dcapi.apis.post.ch/barcode/v1
Class | Method | HTTP request | Description |
---|---|---|---|
BarcodeApi | generateAddressLabel | POST /generateAddressLabel | Generate Label |
ReplacementApi | submitReplacementRequest | POST /generateReplacementLabel | |
SingleBarcodeApi | generateSingleBarcodes | POST /generateSingleBarcodes | Generate Single Barcode |
Documentation For Models
- AdditionalData
- BaseRecipient
- Communication
- CustomerAddress
- CustomerLogo
- DispatchInfo
- DynPicType
- ExchangeLabelDefinition
- ExchangeNotification
- GenerateLabel
- GenerateLabelCustomer
- GenerateLabelDefinition
- GenerateLabelResponse
- GenerateSingleBarcodes
- GenerateSingleBarcodesResponse
- IdentCode
- Item
- LabelAddress
- Language
- MessageType
- MessagesType
- Notification
- NotificationType
- Recipient
- ReplacementCustomerDetails
- ReplacementLabelDefinition
- ReplacementLabelResponse
- ReplacementRequest
- ReplacementResponse
- ResponseGenerateLabelDefinition
- ResponseItem
- ReturnInfoType
- ServiceCodeAttributes
- SingleBarcodesDefinition
- SingleBarcodesResponseDefinition
- SingleBarcodesResponseItem
- UNNumbers
- ValidationError
Documentation For Authorization
ClientCredentials
- Type: OAuth
- Flow: application
- Authorization URL:
- Scopes:
- DCAPI_BARCODE_READ: get barcode label
Author
All versions of postbarcodeclient-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0