Search by

lucasfidelis / mercado-livre-sdk

lucasfidelis97+packagist@gmail.com

MercadoLivre SDK

Package info

github.com/LucasFidelis/mercadolivre-php-sdk

pkg:composer/lucasfidelis/mercado-livre-sdk

Statistics

Installs: 96

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 0

v0.0.6 2024-06-23 01:39 UTC

This package is not auto-updated.

Last update: 2026-09-13 14:07:32 UTC


README

MercadoLibre logo

Mercado Livre SDK PHP

How to use

use LucasFidelis\MercadoLivreSdk\Client\Client;
use LucasFidelis\MercadoLivreSdk\Managers\ProductManager;

...

$itemId = 'MLB123456789';

$client = new Client($CLIENT_ID, $CLIENT_SECRET, $ACCESS_TOKEN, $REFRESH_TOKEN);
$productManager = new ProductManager($client);

$product = $productManager->findById($itemId);
$product->setPrice(123.45);
$productManager->updatePrice($product);

How to install

composer require lucasfidelis/mercado-livre-sdk

Supported features

Authentication and Authorization

Feature Status
Authorization ✅
Refresh token ✅
Create a test user ✅
Get Profile ✅

Products

Feature Status
Get Item by ID ✅
Search items by Seller ID ✅
Get current sales price ✅
Change variations ✅
Update Available Quantity ✅
Get Item Prices ✅
Update Price ✅
Create an Item 🔜

Orders

Feature Status
Get Order by ID ✅
Get Billing Info ✅

Shipment

Feature Status
Get Shipment by ID ✅
Get Shipment Costs ✅
Get Shipment Items ✅
Get Shipment Label as ZPL ✅

Contribute

Feel free to open pull requests; we welcome contributions! However, for significant changes, it's best to open an issue beforehand. Before creating your own issue or pull request, always check to see if one already exists!

Disclaimer

This project is not associated, authorized, endorsed by, or in any way with MercadoLibre.

MercadoLibre, as well as related names, marks, emblems and images are registered trademarks of their respective owners.