tibee / otto-market-sdk
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/tibee/otto-market-sdk
Requires
- php: ^7.2
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/psr7: ^1.8 || ^2.0
- php-http/async-client-implementation: ^1.0
- php-http/client-common: ^2.4
- php-http/discovery: ^1.14
- php-http/httplug: ^2.2
- psr/http-client-implementation: ^1.0
- psr/http-factory: ^1.0
- psr/http-factory-implementation: ^1.0
- psr/http-message: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- guzzlehttp/guzzle: ^7.0
- php-http/guzzle7-adapter: ^1.0
- phpunit/phpunit: ^8.0 || ^9.0
This package is auto-updated.
Last update: 2025-12-15 15:22:47 UTC
README
Unofficial PHP SDK for the OTTO Market Partner API. This client is generated from the OpenAPI specification in this repository (openapi.yml) using OpenAPI Generator.
Installation & Usage
Requirements
- PHP 7.2 or later
- ext-curl, ext-json, ext-mbstring
- A PSR-18 HTTP client and PSR-17 factories (e.g., Guzzle 7 with guzzle7-adapter)
Composer
Preferred (Packagist):
composer require tibee/otto-market-sdk
This library uses PSR-18 (HTTP Client) and PSR-17 (HTTP Factories). Install any compatible implementation. A common choice is Guzzle 7 with the HTTPlug adapter and factories:
composer require guzzlehttp/guzzle php-http/guzzle7-adapter http-interop/http-factory-guzzle
Alternatively (VCS): add this repository as a VCS source in your composer.json and require it:
{
"repositories": [
{ "type": "vcs", "url": "https://github.com/tibee/otto-market-sdk.git" }
],
"require": { "tibee/otto-market-sdk": "*@dev" }
}
Then run composer install.
Manual Installation
Download the files and include autoload.php:
<?php require_once('./autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure Bearer (JWT) authorization: bearerAuth $config = Tibee\OttoMarketSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); $apiInstance = new Tibee\OttoMarketSdk\Api\AvailabilityV1Api( // If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`. // This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface new GuzzleHttp\Client(), $config ); $authorization = Bearer access_token; // string | Access Token $limit = 200; // int | The maximum number of available quantities to be returned in each response. $page = 0; // int | Page number (0..N) $cursor = c2t1NDM=; // string | Cursor for paging requests. If a cursor is provided, the only other request parameter being considered is 'limit'. The cursor value is the last evaluted sku in the request response (Needs to be a valid sku value) try { $result = $apiInstance->availabilityV1GetAvailableQuantities($authorization, $limit, $page, $cursor); print_r($result); } catch (Exception $e) { echo 'Exception when calling AvailabilityV1Api->availabilityV1GetAvailableQuantities: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.otto.market
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AvailabilityV1Api | availabilityV1GetAvailableQuantities | GET /v1/availability/quantities | Get quantities from a partner (up to 200 per request) |
| AvailabilityV1Api | availabilityV1GetAvailableQuantityBySku | GET /v1/availability/quantities/{sku} | Get quantity for a sku |
| AvailabilityV1Api | availabilityV1GetDeliveryInformationBySKU | GET /v1/availability/product-delivery-information/{sku} | Get product delivery information for a SKU |
| AvailabilityV1Api | availabilityV1GetProductDeliveryInformation | GET /v1/availability/product-delivery-information | Get product delivery information from a partner |
| AvailabilityV1Api | availabilityV1StoreAvailableQuantitiesUsingPOST | POST /v1/availability/quantities | Update quantities |
| AvailabilityV1Api | availabilityV1StoreProductDeliveryInformationUsingPOST | POST /v1/availability/product-delivery-information | Update product delivery information |
| OrdersV4Api | ordersV4CancelPartnerOrderPositionItems | POST /v4/orders/{salesOrderId}/positionItems/{positionItemIds}/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 |
| PriceReductionsV1Api | priceReductionsV1ApplyPriceReduction | POST /v1/price-reductions | Apply price reduction for a positionItemId |
| PriceReductionsV1Api | priceReductionsV1GetAllReductionsForPartner | GET /v1/price-reductions | Get all priceReductions |
| ProductsV4Api | productsV4CreateOrUpdateProductVariations | POST /v4/products | Create or update product variations |
| ProductsV4Api | productsV4FailedByProcessId | GET /v4/products/update-tasks/{processUuid}/failed | List failed products of a product data delivery |
| ProductsV4Api | productsV4GetActiveStatus | GET /v4/products/active-status | Read active status |
| ProductsV4Api | productsV4GetBrands | GET /v4/products/brands | List of allowed brands |
| ProductsV4Api | productsV4GetCategoryGroups | GET /v4/products/categories | Read product categories |
| ProductsV4Api | productsV4GetContentChanges | GET /v4/products/{sku}/content-changes | Read content changes for a single product variation |
| ProductsV4Api | productsV4GetContentChanges2 | GET /v4/products/content-changes | Read content changes within time period |
| ProductsV4Api | productsV4GetMarketPlaceStatus | GET /v4/products/{sku}/marketplace-status | Read marketplace status for a single product variation |
| ProductsV4Api | productsV4GetMarketPlaceStatusList | GET /v4/products/marketplace-status | Read marketplace status of product variations |
| ProductsV4Api | productsV4GetPartnerProducts | GET /v4/products | Read product variations |
| ProductsV4Api | productsV4GetProductVariation | GET /v4/products/{sku} | Read a single product variation |
| ProductsV4Api | productsV4GetProductVariationPrice | GET /v4/products/{sku}/prices | Read a single product variation price |
| ProductsV4Api | productsV4GetProductVariationPrices | GET /v4/products/prices | Read product variations prices |
| ProductsV4Api | productsV4GetVariationActiveStatus | GET /v4/products/{sku}/active-status | Read the active status of a single product variation |
| ProductsV4Api | productsV4ProgressByProcessId | GET /v4/products/update-tasks/{processUuid} | Request the results of a product data delivery |
| ProductsV4Api | productsV4SucceededByProcessId | GET /v4/products/update-tasks/{processUuid}/succeeded | List succeeded products of a product data delivery |
| ProductsV4Api | productsV4UnchangedByProcessId | GET /v4/products/update-tasks/{processUuid}/unchanged | List unchanged products of a product data delivery |
| ProductsV4Api | productsV4UpdateActiveStatus | POST /v4/products/active-status | Update active status |
| ProductsV4Api | productsV4UpdateProductVariationPrices | POST /v4/products/prices | Update product variation prices |
| ProductsV5Api | productsV5CreateOrUpdateProductVariations | POST /v5/products | Create or update product variations |
| ProductsV5Api | productsV5FailedByProcessId | GET /v5/products/update-tasks/{processUuid}/failed | List failed products of a product data delivery |
| ProductsV5Api | productsV5GetActiveStatus | GET /v5/products/active-status | Read active status |
| ProductsV5Api | productsV5GetBrands | GET /v5/products/brands | List of allowed brands |
| ProductsV5Api | productsV5GetCategoryGroups | GET /v5/products/categories | Read product categories |
| ProductsV5Api | productsV5GetContentChanges | GET /v5/products/{sku}/content-changes | Read content changes for a single product variation |
| ProductsV5Api | productsV5GetContentChanges2 | GET /v5/products/content-changes | Read content changes within time period |
| ProductsV5Api | productsV5GetMarketPlaceStatus | GET /v5/products/{sku}/marketplace-status | Read marketplace status for a single product variation |
| ProductsV5Api | productsV5GetMarketPlaceStatusList | GET /v5/products/marketplace-status | Read marketplace status of product variations |
| ProductsV5Api | productsV5GetPartnerProducts | GET /v5/products | Read product variations |
| ProductsV5Api | productsV5GetProductVariation | GET /v5/products/{sku} | Read a single product variation |
| ProductsV5Api | productsV5GetProductVariationPrice | GET /v5/products/{sku}/prices | Read a single product variation price |
| ProductsV5Api | productsV5GetProductVariationPrices | GET /v5/products/prices | Read product variations prices |
| ProductsV5Api | productsV5GetVariationActiveStatus | GET /v5/products/{sku}/active-status | Read the active status of a single product variation |
| ProductsV5Api | productsV5ProgressByProcessId | GET /v5/products/update-tasks/{processUuid} | Request the results of a product data delivery |
| ProductsV5Api | productsV5SucceededByProcessId | GET /v5/products/update-tasks/{processUuid}/succeeded | List succeeded products of a product data delivery |
| ProductsV5Api | productsV5UnchangedByProcessId | GET /v5/products/update-tasks/{processUuid}/unchanged | List unchanged products of a product data delivery |
| ProductsV5Api | productsV5UpdateActiveStatus | POST /v5/products/active-status | Update active status |
| ProductsV5Api | productsV5UpdateProductVariationPrices | POST /v5/products/prices | Update product variation prices |
| ReceiptsV3Api | receiptsV3GetReceiptPdfUsingGET3 | GET /v3/receipts/{receiptNumber}.pdf | Get the PDF document of a specific receipt |
| ReceiptsV3Api | receiptsV3GetReceiptUsingGET5 | GET /v3/receipts/{receiptNumber} | Get the JSON object of a specific receipt |
| ReceiptsV3Api | receiptsV3GetReceiptsUsingGET5 | GET /v3/receipts | Get receipts as list of JSON objects |
| ReturnShipmentsV1Api | returnShipmentsV1ListReturnShipmentsUsingGET | GET /v1/return-shipments | Retrieve returnShipments. |
| ReturnShipmentsV1Api | returnShipmentsV1ReturnShipmentByCarrierAndTrackingNumberUsingGET | GET /v1/return-shipments/carriers/{carrier}/trackingnumbers/{trackingNumber} | Retrieve returnShipment by carrier and tracking number. |
| ReturnShipmentsV1Api | returnShipmentsV1ReturnShipmentUsingGET | GET /v1/return-shipments/{returnShipmentId} | Retrieve returnShipments by returnShipment ID. |
| ReturnsV3Api | returnsV3GetPositionItemsForUsingGETV3 | GET /v3/returns | Get all the items filtered on return status |
| ReturnsV3Api | returnsV3ReceiveAcceptedReturnsV3UsingPOSTV3 | POST /v3/returns/acceptance | Accept the return for a sent position item (up to 200 items per request) |
| ReturnsV3Api | returnsV3ReceiveRejectedReturnsV3UsingPOSTV3 | POST /v3/returns/rejection | Reject the return for a sent position item (up to 200 items per request) |
| ReturnsWarehouseV2Api | returnsWarehouseV2CreateReturnWarehouseAddress | POST /v2/returns-warehouse/addresses | create returnWarehouse address |
| ReturnsWarehouseV2Api | returnsWarehouseV2CreateReturnsWarehouseCarrier | POST /v2/returns-warehouse/addresses/{returnAddressId}/carriers | create returnCarrier for returnWarehouse address |
| ReturnsWarehouseV2Api | returnsWarehouseV2DeleteParcelReturnCarrier | DELETE /v2/returns-warehouse/addresses/{returnAddressId}/carriers/{returnAddressCarrierId} | delete returnCarrier for returnWarehouse address |
| ReturnsWarehouseV2Api | returnsWarehouseV2DeleteReturnsWarehouseAddressById | DELETE /v2/returns-warehouse/addresses/{returnAddressId} | delete returnWarehouse address by returnAddressId |
| ReturnsWarehouseV2Api | returnsWarehouseV2GetAllReturnsWarehouseAddresses | GET /v2/returns-warehouse/addresses | get all returnWarehouse addresses |
| ReturnsWarehouseV2Api | returnsWarehouseV2GetReturnsWarehouseAddressById | GET /v2/returns-warehouse/addresses/{returnAddressId} | get returnWarehouse address by returnAddressId |
| ReturnsWarehouseV2Api | returnsWarehouseV2GetReturnsWarehouseCarriersByReturnAddressId | GET /v2/returns-warehouse/addresses/{returnAddressId}/carriers | get returnWarehouse Carriers by returnAddressId |
| ReturnsWarehouseV2Api | returnsWarehouseV2GetReturnsWarehouseCarriersByReturnAddressIdAndReturnAddressCarrierId | GET /v2/returns-warehouse/addresses/{returnAddressId}/carriers/{returnAddressCarrierId} | get returnWarehouse Carriers by returnAddressCarrierId |
| ReturnsWarehouseV2Api | returnsWarehouseV2UpdateParcelReturnCarrier | PUT /v2/returns-warehouse/addresses/{returnAddressId}/carriers/{returnAddressCarrierId} | update returnCarrier for returnWarehouse address |
| ReturnsWarehouseV2Api | returnsWarehouseV2UpdateReturnWarehouseAddress | PUT /v2/returns-warehouse/addresses/{returnAddressId} | update returnWarehouse address by returnAddressId |
| 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 | shipmentsV1CreatedAndSentMultiparcelShipmentUsingPOST | POST /v1/multiparcel-shipments | Create a multiparcel shipment and mark the position items as sent. |
| 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 carrier and tracking number. |
| ShipmentsV1Api | shipmentsV1ShipmentUsingGET | GET /v1/shipments/{shipmentId} | Retrieve shipment by shipment ID. |
| ShippingProfilesV1Api | shippingProfilesV1CreateShippingProfile | POST /v1/shipping-profiles | Create shipping profile |
| ShippingProfilesV1Api | shippingProfilesV1DeleteShippingProfile | DELETE /v1/shipping-profiles/{shippingProfileId} | Delete shipping profile |
| ShippingProfilesV1Api | shippingProfilesV1GetShippingProfileById | GET /v1/shipping-profiles/{shippingProfileId} | Get shipping profile by shipping profile id |
| ShippingProfilesV1Api | shippingProfilesV1GetShippingProfiles | GET /v1/shipping-profiles | Get all shipping profiles from a partner |
| ShippingProfilesV1Api | shippingProfilesV1UpdateShippingProfile | PUT /v1/shipping-profiles/{shippingProfileId} | Update shipping profile |
Models
- APIErrorResponseForBadRequestAvailabilityV1
- APIErrorResponseForBadRequestShippingProfilesV1
- APIErrorResponseForConflictShippingProfilesV1
- APIErrorResponseForInternalServerAvailabilityV1
- APIErrorResponseForNotFoundAvailabilityV1
- APIErrorResponseForNotFoundShippingProfilesV1
- APIErrorResponseForPreconditionShippingProfilesV1
- APIErrorResponsePriceReductionsV1
- APIInternalServerErrorResponseShippingProfilesV1
- APIResponsePriceReductionsV1
- AcceptedPartnerReturnV3ReturnsV3
- AcceptedPositionItemReturnsV3
- AcceptedPriceReductionResponsePriceReductionsV1
- AcceptedReturnMultiStatusResponseReturnsV3
- AcceptedStatusDataReturnsV3
- ActiveStatusListRequestProductsV4
- ActiveStatusListRequestProductsV5
- ActiveStatusListResponseLinkProductsV4
- ActiveStatusListResponseLinkProductsV5
- ActiveStatusListResponseProductsV4
- ActiveStatusListResponseProductsV5
- ActiveStatusProductsV4
- ActiveStatusProductsV5
- AdditionalRequirementProductsV4
- AdditionalRequirementProductsV5
- AddressInformationReceiptsV3
- AddressOrdersV4
- AddressReceiptsV3
- AddressShipmentsV1
- AmountOrdersV4
- AnnouncedStatusDataReturnsV3
- ApiErrorResponseAvailabilityV1
- ApiErrorResponseForPayloadTooLargeAvailabilityV1
- ApiErrorResponseV3ReturnsV3
- ApiErrorV3ReturnsV3
- AttributeDefinitionProductsV4
- AttributeDefinitionProductsV5
- AttributeProductsV4
- AttributeProductsV5
- AvailabilityV1StoreProductDeliveryInformationUsingPOST202Response
- AvailableQuantityRequestDTOAvailabilityV1
- AvailableQuantityResponseAvailabilityV1
- AvailableQuantityResponseAvailabilityV1Resources
- AvailableQuantityResponseDTOAvailabilityV1
- AvailableQuantitySingleResponseDTOAvailabilityV1
- BadRequestAddPositionItemByShipmentIdShipmentsV1
- BadRequestAddPositionItemByTrackingNumberShipmentsV1
- BadRequestReturnShipmentsV1
- BadRequestShipmentsV1
- BenefitReceiptsV3
- BrandListLinkProductsV4
- BrandListLinkProductsV5
- BrandListResponseProductsV4
- BrandListResponseProductsV5
- BrandProductsV4
- BrandProductsV5
- CategoryGroupProductsV4
- CategoryGroupProductsV5
- CategoryGroupsLinkProductsV4
- CategoryGroupsLinkProductsV5
- CategoryGroupsProductsV4
- CategoryGroupsProductsV5
- ConditionProductsV4
- ConditionProductsV5
- ConflictAddPositionItemByShipmentIdShipmentsV1
- ConflictAddPositionItemByTrackingNumberShipmentsV1
- ConflictMultiparcelShipmentsV1
- ConflictPositionItemIdPriceReductionsV1
- ConflictShipmentsV1
- ContentChangeProductsV4
- ContentChangeProductsV5
- ContentChangesApiResultProductsV4
- ContentChangesApiResultProductsV5
- ContentChangesLinkProductsV4
- ContentChangesLinkProductsV5
- CreateMultiparcelShipmentResponseShipmentsV1
- CreateShipmentRequestShipmentsV1
- CreateShipmentResponseShipmentsV1
- CreateShippingProfileRequestShippingProfilesV1
- CreateShippingProfileResponseShippingProfilesV1
- CustomerReceiptsV3
- DHLReturnCarrierCodesReturnsWarehouseV2
- DeliveryCostReceiptsV3
- DetailsReceiptsV3
- DimensionOrdersV4
- ErrorDescriptionReturnShipmentsV1
- ErrorDescriptionShipmentsV1
- ErrorDetailsReturnsWarehouseV2
- ErrorDetailsWithSuggestionsReturnsWarehouseV2
- ErrorForInternalServerErrorShippingProfilesV1
- ErrorForUnknownSkuAvailabilityV1
- ErrorReturnsWarehouseV2
- ErrorWithBadRequestSuggestionsShippingProfilesV1
- ErrorWithNotFoundSuggestionsShippingProfilesV1
- ErrorWithPreconditionShippingProfilesV1
- ErrorWithSuggestionsForConflictShippingProfilesV1
- ErrorWithSuggestionsReturnsWarehouseV2
- FailedDependencyPriceReductionsV1
- FoodInformationAddressProductsV5
- FoodInformationAddressRoleProductsV5
- FoodInformationProductsV5
- ForbiddenApplyPriceReductionPriceReductionsV1
- ForbiddenGetPriceReductionPriceReductionsV1
- ForbiddenGetReturnShipmentByReturnShipmentIdReturnShipmentsV1
- ForbiddenGetReturnShipmentByTrackingNumberReturnShipmentsV1
- ForbiddenGetShipmentByShipmentIdShipmentsV1
- ForbiddenGetShipmentByTrackingNumberShipmentsV1
- GLSReturnCarrierCodesReturnsWarehouseV2
- GetAllProductDeliveryInfoResponseAvailabilityV1
- GetAllProductDeliveryInfoResponseAvailabilityV1Links
- GetAllShippingProfilesResponseShippingProfilesV1
- GetAllShippingProfilesResponseShippingProfilesV1Links
- GetShippingProfileResponseShippingProfilesV1
- InitialDeliveryFeeOrdersV4
- InitialDiscountOrdersV4
- InlineObject
- InternalServerErrorAddPositionItemByShipmentIdShipmentsV1
- InternalServerErrorAddPositionItemByTrackingNumberShipmentsV1
- InternalServerErrorApplyPriceReductionPriceReductionsV1
- InternalServerErrorGetReturnShipmentByReturnShipmentIdReturnShipmentsV1
- InternalServerErrorGetReturnShipmentByTrackingNumberReturnShipmentsV1
- InternalServerErrorGetReturnShipmentListReturnShipmentsV1
- InternalServerErrorGetShipmentByShipmentIdShipmentsV1
- InternalServerErrorGetShipmentByTrackingNumberShipmentsV1
- InternalServerErrorGetShipmentListShipmentsV1
- InternalServerErrorMultiparcelShipmentsV1
- InternalServerErrorShipmentsV1
- ItemPartialRefundPositionReceiptsV3
- ItemPositionReceiptsV3
- LineItemsReceiptsV3
- LinkAvailabilityV1
- LinkOrdersV4
- LinkPriceReductionsV1
- LinkProductsV4
- LinkProductsV5
- LinkReceiptsV3
- LinkReturnShipmentsV1
- LinkReturnsV3
- LinkShipmentsV1
- LinkedItemDetailsReceiptsV3
- LogisticsProductsV4
- LogisticsProductsV5
- MarketPlaceStatusApiLinkProductsV4
- MarketPlaceStatusApiLinkProductsV5
- MarketPlaceStatusApiResultProductsV4
- MarketPlaceStatusApiResultProductsV5
- MarketPlaceStatusErrorProductsV4
- MarketPlaceStatusErrorProductsV5
- MarketPlaceStatusInformationProductsV4
- MarketPlaceStatusInformationProductsV5
- MarketPlaceStatusLinkProductsV4
- MarketPlaceStatusLinkProductsV5
- MarketPlaceStatusProductsV4
- MarketPlaceStatusProductsV5
- MaxOrderQuantityProductsV4
- MaxOrderQuantityProductsV5
- MediaAssetProductsV4
- MediaAssetProductsV5
- MisdirectedStatusDataReturnsV3
- MonetaryAmountProductsV4
- MonetaryAmountProductsV5
- MultiparcelCreateShipmentRequestShipmentsV1
- MultiparcelPositionItemShipmentsV1
- MultiparcelReturnTrackingKeyShipmentsV1
- MultiparcelTrackingKeyShipmentsV1
- NormPriceInfoProductsV4
- NormPriceInfoProductsV5
- NotFoundAddPositionItemByShipmentIdShipmentsV1
- NotFoundAddPositionItemByTrackingNumberShipmentsV1
- NotFoundGetReturnShipmentByReturnShipmentIdReturnShipmentsV1
- NotFoundGetReturnShipmentByTrackingNumberReturnShipmentsV1
- NotFoundGetShipmentByShipmentIdShipmentsV1
- NotFoundGetShipmentByTrackingNumberShipmentsV1
- NotFoundPositionItemIdPriceReductionsV1
- NotFoundPriceReductionForPositionItemIdPriceReductionsV1
- OrderLifecycleInformationOrdersV4
- OrderProductsV4
- OrderProductsV5
- PackingUnitProductsV4
- PackingUnitProductsV5
- PartialRefundDetailsReceiptsV3
- PartnerOrderListOrdersV4
- PartnerOrderOrdersV4
- PartnerPriceReductionRequestPriceReductionsV1
- PartnerPriceReductionRequestPriceReductionsV1PriceReduction
- PartnerReceiptsV3
- PayloadTooLargeApiErrorResponseForQuantitiesAvailabilityV1
- PaymentOrdersV4
- PaymentReceiptsV3
- PositionItemListReturnsV3
- PositionItemOrdersV4
- PositionItemReturnsV3
- PositionItemShipmentsV1
- PriceApiResultLinkProductsV4
- PriceApiResultLinkProductsV5
- PriceApiResultProductsV4
- PriceApiResultProductsV5
- PriceModificationReceiptsV3
- PriceReceiptsV3
- PriceReceiptsV3Gross
- PriceReceiptsV3Net
- PriceReceiptsV3Tax
- PriceReductionDetailPriceReductionsV1
- PriceReductionDetailPriceReductionsV1PriceReduction
- PriceReductionResponsePriceReductionsV1
- PriceReductionResponsePriceReductionsV1InvoicePrice
- PriceReductionResponsePriceReductionsV1TotalPriceReduction
- PriceReductionsResponsePriceReductionsV1
- PriceToPayPerPositionItemReceiptsV3
- PricingProductsV4
- PricingProductsV5
- ProductComplianceProductsV5
- ProductDeliveryInformationMultiStatusResponseAvailabilityV1
- ProductDeliveryInformationRequestDTOAvailabilityV1
- ProductDeliveryInformationRequestDTOListAvailabilityV1
- ProductDeliveryInformationRequestDTOListAvailabilityV1Links
- ProductDeliveryInformationResponseDTOAvailabilityV1
- ProductDescriptionProductsV4
- ProductDescriptionProductsV5
- ProductOrdersV4
- ProductProcessProgressProductsV4
- ProductProcessProgressProductsV5
- ProductProcessResultLinkProductsV4
- ProductProcessResultLinkProductsV5
- ProductProcessResultProductsV4
- ProductProcessResultProductsV5
- ProductProcessTaskErrorProductsV4
- ProductProcessTaskErrorProductsV5
- ProductProcessTaskResultProductsV4
- ProductProcessTaskResultProductsV5
- ProductSafetyAddressProductsV5
- ProductSafetyAddressRoleProductsV5
- ProductSafetyProductsV4
- ProductSafetyProductsV5
- ProductVariationApiResultProductsV4
- ProductVariationApiResultProductsV5
- ProductVariationProductsV4
- ProductVariationProductsV5
- QuantityApiErrorAvailabilityV1
- ReceiptReceiptsV3
- ReceiptReceiptsV3AmountDue
- ReceiptReceiptsV3TotalsGrossAmount
- ReceiptsListReceiptsV3
- RejectedPartnerReturnV3ReturnsV3
- RejectedPositionItemReturnsV3
- RejectedReturnMultiStatusResponseReturnsV3
- RejectedStatusDataReturnsV3
- ReturnCarrierResponseReturnsWarehouseV2
- ReturnPositionItemReturnShipmentsV1
- ReturnShipmentListReturnShipmentsV1
- ReturnShipmentReturnShipmentsV1
- ReturnShipmentStateReturnShipmentsV1
- ReturnTrackingKeyReturnsV3
- ReturnTrackingKeyShipmentsV1
- ReturnedItemStatusDataReturnsV3
- ReturnsWarehouseAddressIdResponseReturnsWarehouseV2
- ReturnsWarehouseAddressRequestReturnsWarehouseV2
- ReturnsWarehouseAddressWithIDReturnsWarehouseV2
- ReturnsWarehouseCarrierRequestReturnsWarehouseV2
- ReturnsWarehouseCarrierRequestReturnsWarehouseV2ReturnCarrierCodes
- ReturnsWarehouseCarrierReturnsWarehouseV2
- SaleProductsV4
- SaleProductsV5
- ServicePartialRefundPositionReceiptsV3
- ServicePositionReceiptsV3
- ServiceRelationReceiptsV3
- ShipmentListShipmentsV1
- ShipmentReceiptsV3
- ShipmentShipmentsV1
- ShipmentStateShipmentsV1
- ShipmentWithMinimumDetailsShipmentsV1
- SkuPricingProductsV4
- SkuPricingProductsV5
- SuggestedAddressReturnsWarehouseV2
- TotalsReductionDetailsReceiptsV3
- TotalsReductionReceiptsV3
- TotalsReductionReceiptsV3Gross
- TrackingInfoOrdersV4
- TrackingKeyReturnShipmentsV1
- TrackingKeyShipmentsV1
- UpdateQuantityMultiStatusResponseAvailabilityV1
Authorization
bearerAuth
- Type: Bearer authentication (JWT)
Regenerating the SDK
If the generated code is missing endpoints that exist in the upstream OTTO spec, regenerate the client using this workflow:
- Make sure you’re on a recent generator
openapi-generator-cli version
- Bundle the OTTO spec (resolves all $refs into one file)
npx @redocly/cli bundle https://api.otto.market/docs/openapi.yml -o otto.bundle.yaml --ext=yaml
- Quick sanity check: for example, are v5 endpoints in the bundle?
grep -n "/v5" otto.bundle.yaml | head
- Generate PHP client from the bundled file
openapi-generator-cli generate \
-i otto.bundle.yaml -g php -o . \
-c config.json
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
Tibor BALOGH tibee@tibee.hu
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0.0- Generator version:
7.14.0
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen