### Ozon-sdk Quick Start Example Source: https://github.com/ashirchkov/ozon-sdk/blob/master/README.md Demonstrates how to use the Ozon-sdk to interact with the Ozon Seller API. It shows how to initialize the client, set up configuration, and make a request to list products, including error handling. ```php v3()->product()->list($request); echo $response->result->total; } catch (OzonApiException $exception) { echo $exception->getMessage(); } ``` -------------------------------- ### Install Ozon-sdk via Composer Source: https://github.com/ashirchkov/ozon-sdk/blob/master/README.md Installs the Ozon-sdk package using Composer, a dependency manager for PHP. This command fetches and installs the required libraries for using the SDK. ```shell $ composer require ashirchkov/ozon-sdk ``` -------------------------------- ### Ozon SDK Seller API V3: Info List Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Retrieves a list of product information based on offer ID, product ID, or SKU. Returns a list of information items. ```Seller API V3 InfoListRequest: offer_id: *?array*, product_id: *?array*, sku: *?array* InfoListResponse: items: *InfoListItem[]* ``` -------------------------------- ### Ozon SDK Seller API V2: Pictures Info Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Retrieves information about product pictures. Accepts a list of product IDs and returns picture information items. ```Seller API V2 PicturesInfoRequest: product_id: *string[]* PicturesInfoResponse: items: *PicturesInfoItem[]* ``` -------------------------------- ### Ozon SDK Seller API V3: Import Products Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Imports products into the seller's catalog. Requires a list of product items and returns the import result. ```Seller API V3 ImportRequest: items: *ImportProduct[]* ImportResponse: result: *ImportResult* ``` -------------------------------- ### Ozon SDK Seller API: Info Subscription Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Manages information subscriptions for sellers. Requires a list of SKUs as input and returns subscription results. ```Seller API InfoSubscriptionRequest: skus: *int[]* InfoSubscriptionResponse: result: *InfoSubscriptionResult[]* ``` -------------------------------- ### Ozon SDK Seller API: Rating by SKU Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Retrieves product ratings based on SKUs. Takes a list of SKUs and returns product rating information. ```Seller API RatingBySkuRequest: skus: *string[]* RatingBySkuResponse: products: *RatingBySkuProduct[]* ``` -------------------------------- ### Ozon SDK Seller API: Upload Digital Codes Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Uploads digital codes for a product. Requires the product ID and a list of digital codes. ```Seller API UploadDigitalCodesRequest: product_id: *int*, digital_codes: *string[]* UploadDigitalCodesResponse: result: *UploadDigitalCodesResult* ``` -------------------------------- ### Ozon SDK Seller API: Pictures Import Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Imports product pictures. Accepts a product ID and an array of images, with options for color images. ```Seller API PicturesImportRequest: productId: *int*, images: *?array*, colorImage: *?string* PicturesImportResponse: result: *PicturesImportResult* ``` -------------------------------- ### Ozon SDK Seller API V4: Info Limit Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Retrieves information about API usage limits. Returns daily creation, daily update, and total limits. ```Seller API V4 InfoLimitResponse: daily_create: *InfoLimitValue*, daily_update: *InfoLimitValue*, total: *InfoLimitValue* ``` -------------------------------- ### Ozon SDK Seller API: Update Discount Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Updates the discount for a specific product. Requires the product ID and the discount value. ```Seller API UpdateDiscountRequest: product_id: *int*, discount: *int* UpdateDiscountResponse: result: *bool* ``` -------------------------------- ### Ozon SDK Seller API V2: Stocks Update Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Updates stock information for products. Requires a list of stock items and returns the result of the update. ```Seller API V2 StocksRequest: stocks: *StocksItem[]* StocksResponse: result: *StocksResult[]* ``` -------------------------------- ### Ozon SDK Seller API: Upload Digital Codes Info Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Uploads information about digital codes. Requires a task ID and returns the result of the operation. ```Seller API UploadDigitalCodesInfoRequest: task_id: *int* UploadDigitalCodesInfoResponse: result: *UploadDigitalCodesInfoResult* ``` -------------------------------- ### Ozon SDK Seller API V2: Delete Products Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Deletes products from the seller's inventory. Requires a list of products to delete and returns the status of the deletion. ```Seller API V2 DeleteRequest: products: *DeleteProduct[]* DeleteResponse: status: *DeleteStatus[]* ``` -------------------------------- ### Ozon SDK Seller API: Update Offer ID Source: https://github.com/ashirchkov/ozon-sdk/blob/master/docs/seller.md Updates offer IDs. Takes a list of items to update and returns any errors encountered. ```Seller API UpdateOfferIdRequest: update_offer_id: *UpdateOfferIdItem[]* UpdateOfferIdResponse: errors: *UpdateOfferIdError[]* ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.