Download the PHP package eggate/chalhoub-shopfinder-graph-ql without Composer
On this page you can find all versions of the php package eggate/chalhoub-shopfinder-graph-ql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eggate/chalhoub-shopfinder-graph-ql
More information about eggate/chalhoub-shopfinder-graph-ql
Files in eggate/chalhoub-shopfinder-graph-ql
Download eggate/chalhoub-shopfinder-graph-ql
More information about eggate/chalhoub-shopfinder-graph-ql
Files in eggate/chalhoub-shopfinder-graph-ql
Vendor eggate
Package chalhoub-shopfinder-graph-ql
Short Description GraphQL endpoints for module Chalhob_Shopfinder
License proprietary
Package chalhoub-shopfinder-graph-ql
Short Description GraphQL endpoints for module Chalhob_Shopfinder
License proprietary
Please rate this library. Is it a good library?
Informations about the package chalhoub-shopfinder-graph-ql
Shopfinder GraphQL module
this module should expose graphql apis for the Chalhoub_Shopfinder module.
Installation
Install extension with composer
Run magento installion commands
Features
- We should be able to use any graphql playground.
- We should be able to use a query to fetch all the shops.
- We should be able to use a mutation to update any store information.
- We should not be able to delete stores from the API - Provide aproper error handling for this case.
- We should be able to use a query to fetch information about a single shop based on the identifier.
- (Optional) We should be able to fetch the stores near me, based on my current location.
GraphQL API Reference
Get all shops\filtered shops
Parameter | Type | Description |
---|---|---|
currentPage |
int |
Optional. current page |
pageSize |
string |
Optional. page size |
input |
ShopFilterInput |
Otional. shop filter input |
ShopFilterInput schema
Parameter | Type | Description |
---|---|---|
identifier |
string |
Optional. identifier |
name |
string |
Optional. name |
shop_ids |
[int] |
Otional. array of shop ids |
Get shop by identifier
Parameter | Type | Description |
---|---|---|
identifier |
string |
Required. shop idnetifier |
Get nearest shops based on location (Haversine equation) distance in Km
Save new or update existing shop
Parameter | Type | Description |
---|---|---|
shop_id |
int |
Otional. shop id if you need to update shop |
name |
string |
Required. name |
identifier |
string |
Required. identifier |
image |
string |
Required. Shop image url I haven't handled downloading image from remote URL |
country_id |
string |
Required. ISO2 code for country |
latitude |
string |
Optional. Shop latitude |
longitude |
string |
Optional. Shop Longitude |
Delete shop by id or identifier
Only provide 1 filter parameter | Parameter | Type | Description |
---|---|---|---|
shop_id |
int |
RequiredIf. delete shop by shop id | |
identifier |
string |
RequiredIf. delete shop by identifier |
All versions of chalhoub-shopfinder-graph-ql with dependencies
PHP Build Version
Package Version
Requires
magento/framework Version
103.0.*
eggate/chalhoub-shopfinder Version *
php Version ~7.4.0||~8.1.0
eggate/chalhoub-shopfinder Version *
php Version ~7.4.0||~8.1.0
The package eggate/chalhoub-shopfinder-graph-ql contains the following files
Loading the files please wait ....