Download the PHP package nethead.co/otto-php-client without Composer

On this page you can find all versions of the php package nethead.co/otto-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package otto-php-client

otto-php-client

This PHP package is automatically generated by the Swagger Codegen project:

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://api.otto.market

Class Method HTTP request Description
OrdersV4Api ordersV4CancelPartnerOrderPositionItems POST /v4/orders/{salesOrderId}/positionItems/{positionItemId}/cancellation Cancel specific position items of an order
OrdersV4Api ordersV4CancelPartnerOrders POST /v4/orders/{salesOrderId}/cancellation Cancel all position items of an order
OrdersV4Api ordersV4FindPartnerOrders GET /v4/orders List of orders filtered by fulfillment state
OrdersV4Api ordersV4GetPartnerOrderByOrderNumber GET /v4/orders/{orderNumber} Get an order via order number
OrdersV4Api ordersV4GetPartnerOrderBySalesOrderId GET /v4/orders/{salesOrderId} Get an order via sales order id
ProductsV2Api productsV2CreateOrUpdateProductVariations POST /v2/products Create or update your product variations
ProductsV2Api productsV2FailedByProcessId GET /v2/products/update-tasks/{processUuid}/failed List failed products of a product data delivery
ProductsV2Api productsV2GetActiveStatus GET /v2/products/active-status Read the active status of your product variations
ProductsV2Api productsV2GetBrands GET /v2/products/brands List brands
ProductsV2Api productsV2GetCategoryGroups GET /v2/products/categories Read the product categories
ProductsV2Api productsV2GetContentChanges GET /v2/products/{sku}/content-changes Read content changes for a single product variation
ProductsV2Api productsV2GetContentChanges2 GET /v2/products/content-changes Read content changes within time period
ProductsV2Api productsV2GetMarketPlaceStatus GET /v2/products/{sku}/marketplace-status Read the marketplace status for a single product variation
ProductsV2Api productsV2GetMarketPlaceStatusList GET /v2/products/marketplace-status Read the marketplace status for your product variations
ProductsV2Api productsV2GetPartnerProducts GET /v2/products Read your product variations
ProductsV2Api productsV2GetProductVariation GET /v2/products/{sku} Read a single product variation
ProductsV2Api productsV2GetProductVariationPrice GET /v2/products/{sku}/prices Read product variations prices
ProductsV2Api productsV2GetProductVariationPrices GET /v2/products/prices Read product variations prices
ProductsV2Api productsV2GetVariationActiveStatus GET /v2/products/{sku}/active-status Read the active status of a single product variation
ProductsV2Api productsV2ProgressByProcessId GET /v2/products/update-tasks/{processUuid} Request the results of a product data delivery
ProductsV2Api productsV2SucceededByProcessId GET /v2/products/update-tasks/{processUuid}/succeeded List succeeded products of a product data delivery
ProductsV2Api productsV2UnchangedByProcessId GET /v2/products/update-tasks/{processUuid}/unchanged List unchanged products of a product data delivery
ProductsV2Api productsV2UpdateActiveStatus POST /v2/products/active-status Update the active status of your product variations
ProductsV2Api productsV2UpdateProductVariationPrices POST /v2/products/prices Update product variation prices
QuantitiesV2Api quantitiesV2GetAvailableQuantities GET /v2/quantities Get available quantities for a specific Partner (Upto 200 per request). The partner needs to update the quantities for all his products once or limit the products being returned in the response by setting the limit value to number of products they have updated
QuantitiesV2Api quantitiesV2GetAvailableQuantityBySku GET /v2/quantities/{sku} Get available quantity for a specific Sku
QuantitiesV2Api quantitiesV2StoreAvailableQuantitiesUsingPOST POST /v2/quantities Update the available quantity for a specific SKU (up to 200 SKUs per request)
ReceiptsV2Api receiptsV2GetReceiptPdfUsingGET3 GET /v2/receipts/{receiptNumber}.pdf Get the PDF document of a specific receipt by receipt number.
ReceiptsV2Api receiptsV2GetReceiptUsingGET5 GET /v2/receipts/{receiptNumber} Get a specific receipt for the given receipt number as JSON object
ReceiptsV2Api receiptsV2GetReceiptsUsingGET5 GET /v2/receipts Get all receipts as list of JSON objects
ReturnsV2Api returnsV2GetPositionItemsForUsingGETV2 GET /v2/returns Get all the items filtered on return status
ReturnsV2Api returnsV2ReceiveAcceptedReturnsV2UsingPOSTV2 POST /v2/returns/acceptance Accept the return for a sent position item (up to 200 items per request)
ReturnsV2Api returnsV2ReceiveRejectedReturnsV2UsingPOSTV2 POST /v2/returns/rejection Reject the return for a sent position item (up to 200 items per request)
ShipmentsV1Api shipmentsV1AppendPositionItemsByCarrierAndTrackingNumberUsingPOST POST /v1/shipments/carriers/{carrier}/trackingnumbers/{trackingNumber}/positionitems Correct an existing shipment (add sent items) by carrier and tracking number.
ShipmentsV1Api shipmentsV1AppendPositionItemsUsingPOST POST /v1/shipments/{shipmentId}/positionitems Correct an existing shipment (add sent items) by shipment ID.
ShipmentsV1Api shipmentsV1CreatedAndSentShipmentUsingPOST POST /v1/shipments Create a shipment and mark the position items as sent.
ShipmentsV1Api shipmentsV1ListShipmentsUsingGET GET /v1/shipments Retrieve shipments.
ShipmentsV1Api shipmentsV1ShipmentByCarrierAndTrackingNumberUsingGET GET /v1/shipments/carriers/{carrier}/trackingnumbers/{trackingNumber} Retrieve shipment by shipment ID.
ShipmentsV1Api shipmentsV1ShipmentUsingGET GET /v1/shipments/{shipmentId} Retrieve a shipment and its position items.

Documentation For Models

Documentation For Authorization

JWT

Author


All versions of otto-php-client with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nethead.co/otto-php-client contains the following files

Loading the files please wait ....