cozmot/module-customvariableapi

Magento 2 Custom Variable Api Extension

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/cozmot/module-customvariableapi

1.0.0 2023-08-03 14:55 UTC

This package is auto-updated.

Last update: 2025-12-31 00:22:29 UTC


README

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