how can i start an api connection with an product and inventory system?, i just need to import the products that will be coming from them
Rishabh-Webkul last edited by
Hope you are doing well.
To implement an API connection with the Product and Inventory system using REST you need to install a REST API.
These are the below commands -
composer require bagisto/rest-api dev-master
Add the below options in the .env file (i.e. http://localhost/public your domain):SANCTUM_STATEFUL_DOMAINS=http://localhost/public
php artisan bagisto-rest-api:install
To check endpoints & API Documentation:-
By this, you will get all the Endpoints and get the API Connection regarding Products, Inventory Sources, etc. with REST-API and you can further continue your work.
These are some images regarding Swagger.
We are also preparing a detailed Blog regarding this and will publish it soon.
Thanks & Regards!