Skip to content

LucasFidelis/mercadolivre-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.