hsoni/module-shopfinder
最新稳定版本:1.0.3
Composer 安装命令:
composer require hsoni/module-shopfinder
包简介
Shopfinder Magento 2 Module
README 文档
README
Installation
The extension must be installed via composer. To proceed, run these commands in your terminal:
composer require hsoni/module-shopfinder
php bin/magento module:enable Hsoni_Shopfinder
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
GraphQL
Create Shop
Creates new Shop query format
mutation {
createShop(
input:{
identifier :"shop-identifier"
shop_name :"Shop Name"
country :"US"
image :"image.jpg"
longitude :"2.232123"
latitude :"123232"
}
){
shopfinder_id
identifier
shop_name
country
longitude
latitude
}
}
Update Shop
Update Shop query format
mutation {
updateShop(
input:{
shopfinder_id :3,
identifier :"shop-identifier",
shop_name :"New shop name",
country :"UAE",
longitude :"122.232123",
latitude :"123.232",
}
){
message
}
}
Delete Shop
Delete shop query format
mutation {
deleteShop(
shopfinder_id: 10
){
message
}
}
Fetch All Shops
Get list of all shops
{
shopfinderList(
pageSize: 10
pageNo: 1
){
shoplist{
shopfinder_id
shop_name
identifier
country
image
longitude
latitude
}
}
}
Get Particular Shop
Get shop by shopfinder_id or identifier
{
shopfinder(identifier:'shop-identifier') {
shopfinder_id
shop_name
identifier
country
image
longitude
latitude
}
}
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2023-04-23