Yireo_AdditionalEndpointsGraphQl

PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
License OSL-3.0
Latest Release none

This module offers some additional endpoints for loading information through GraphQL.

Installation

Use the following commands to install this module into Magento 2:

composer require magento2-additional-endpoints-graph-ql:@dev
bin/magento module:enable Yireo_AdditionalEndpointsGraphQl
bin/magento setup:upgrade

productById(Int id) - Get a product by its ID

Example:

{
  productById(id:42){
    sku
    name
  }
}

productBySku(String! sku) - Get a product by its SKU

Example:

{
  productBySku(sku:"VA22-SI-NA"){
    sku
    name
  }
}

categoryById(Int id) - Get a category by its ID

Example:

{
  categoryById(id:1){
    id
    name
  }
}

cmsBlock(String! identifier) - Get a CMS block by its identifier

Example:

{
  cmsBlock(identifier:"example"){
    title
    content
  }
}

cmsPages - Get all CMS pages

Example:

{
  cmsPages {
    items {
      title
    }
  }
}

cmsWidget(Int! id) - Get a CMS widget by its ID

Example:

{
  cmsWidget(id: "2") {
    id
    title
    html
    parameters {
      name
      value
    }
  }
}

validateCustomerToken - Validate a customer token

Example:

query validateToken {
  validateCustomerToken(token:"abc")
}

Current status

Magento 2 Static Tests success
Magento 2 DI compilation success
Magento 2 Integration Tests success
Playwright test success
Magento 2 Unit Tests success
WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

For getting support, create an Issue under the following project URL:

https://github.com/yireo/Yireo_AdditionalEndpointsGraphQl

Composer details
Magento module name
Yireo_AdditionalEndpointsGraphQl
Composer name
yireo/magento2-additional-endpoints-graph-ql
Composer version
No release yet
Default branch
master
Requirements
magento/framework: ^102.0|^103.0|^104.0
magento/module-catalog: ^101.0|^102.0|^103.0|^104.0
magento/module-cms: ^101.0|^102.0|^103.0|^104.0
magento/module-graph-ql: ^100.0
php: >=8.2 <8.6
Releases
Changelog

Last modified: October 17, 2026