Skip to content

cozmot/module-customvariableapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magento2-chatgpt

Cozmot Custom_Variable_API Extension for Magento 2 to return Custom Variables value in Rest API.

POST API

https://magento.test/rest/V2/cozmot/customvariable?storeVariable=banner_1

API Request on Postman

alt text

Add Custom Variable

alt text

1.1 Install

composer require cozmot/module-customvariableapi
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

1.2 Upgrade

composer update cozmot/module-customvariableapi
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Run compile if your store in Production mode:

php bin/magento setup:di:compile

Version

v1.0.0 Initial Commit v1.0.1 Initial Code Commit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages