PHPackages                             palpalani/magento2-rest-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. palpalani/magento2-rest-api-client

ActiveLibrary[API Development](/categories/api)

palpalani/magento2-rest-api-client
==================================

v1.2.1(4y ago)120.9k↓50%MITPHPPHP ^7.2|^8.0CI passing

Since Mar 31Pushed 3mo agoCompare

[ Source](https://github.com/palpalani/magento-2-api)[ Packagist](https://packagist.org/packages/palpalani/magento2-rest-api-client)[ GitHub Sponsors](https://github.com/palPalani)[ RSS](/packages/palpalani-magento2-rest-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (21)Used By (0)

Magento2 rest api - Magento Module
==================================

[](#magento2-rest-api---magento-module)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b171a10b05738e99d7f2c1780a44994e7ed6c5b2dc1cbcbce768b467e274c7bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70616c70616c616e692f6d6167656e746f322d726573742d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/palpalani/magento2-rest-api-client)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0e370a463cde3d44a89614b2a12b0e8dff4ea161ce8c779046de0341620f2b0a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f70616c70616c616e692f6d6167656e746f2d322d6170692f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/palpalani/magento-2-api/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1586507484435376028392567196b65ca0421e91a17196dbeb0e86b4c6a57246/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70616c70616c616e692f6d6167656e746f322d726573742d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/palpalani/magento2-rest-api-client)

This is a simple PHP SDK lib to easily create Rest API.

`Note`: From the version `1.2` and above the Namespace was changed.

Installation
------------

[](#installation)

1. Install it into your Magento 2 project with composer:

```
composer require palpalani/magento2-rest-api-client
```

2. Enable module

```
bin/magento setup:upgrade
```

Example usage
-------------

[](#example-usage)

```
