levelshoes/module-shopfinder

Simple Shopfinder Module including Graphql API

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/levelshoes/module-shopfinder

1.0.0 2023-06-26 11:06 UTC

This package is auto-updated.

Last update: 2025-12-26 16:20:29 UTC


README

Installation Steps

  1. Copy the whole code base under app/code/Levelshoes/Shopfinder
    OR
  2. Using composer : composer require krunal/module-shopfinder

After performing above step please run below commands

php bin/magento module:enable Levelshoes_Shopfinder
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

GraphQL API Request Example

URL : storeurl/graphql

  1. List all Shop
    Choose the fields which you want to list in API Response
  ListShopsGraphql {
    shopname
    identifier
    addresslineone
    addresslinetwo
    city
    country
    state
    zipcode
    phone
    latitude
    longitude
    email
    shopimage
    status
    cancollect
    shopdescription
    shopopentimedetail
    storeview
  }
}
  1. Get Shop by shop_id
query {
  ListShopsByStoreIDGraphql(shop_id:2) {
    shopname
    identifier
  }
}
  1. Update Shop by shopid
mutation {
  editShopData(shop_id: 1, shopname: "test shop", status: 1, state: 0) {
    status
    message
  }
}

NOTE : Flag detail

Enabled : 1
Disabled : 0