PHPackages                             graycore/magento2-orders-graphql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. graycore/magento2-orders-graphql

AbandonedArchivedMagento2-module[API Development](/categories/api)

graycore/magento2-orders-graphql
================================

A Magento 2 module that adds a fully featured GraphQL orders endpoint.

v0.3.1(5y ago)1149MITPHPPHP &gt;=7.0.0

Since Jun 19Pushed 5y ago2 watchersCompare

[ Source](https://github.com/graycoreio/magento2-orders-graphql)[ Packagist](https://packagist.org/packages/graycore/magento2-orders-graphql)[ GitHub Sponsors](https://github.com/graycoreio)[ RSS](/packages/graycore-magento2-orders-graphql/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (7)Used By (0)

magento2-orders-graphql
=======================

[](#magento2-orders-graphql)

[![Build Status](https://camo.githubusercontent.com/b64abed49577c12271ef2867e8969954f1b162806b02789642caddf7f98c0e57/68747470733a2f2f6465762e617a7572652e636f6d2f67726179636f72652f6f70656e2d736f757263652f5f617069732f6275696c642f7374617475732f67726179636f7265696f2e6d6167656e746f322d6f72646572732d6772617068716c3f6272616e63684e616d653d6d6173746572)](https://dev.azure.com/graycore/open-source/_build/latest?definitionId=17&branchName=master)

A Magento 2 module that adds a fully featured GraphQL orders endpoint.

Note that this is scheduled to be obsolete and deprecated in Magento 2.4.1 given that an officially maintained GraphQL order module will be released.

Installation
------------

[](#installation)

```
composer require graycore/magento2-orders-graphql
```

Usage
-----

[](#usage)

### Guest Orders

[](#guest-orders)

For guest carts, use the `graycoreGuestOrders` query and pass in the cart ID as `cartId`:

```
query GetGuestOrders {
  graycoreGuestOrders(cartId: "dsfg67dsfg65sd6fgs8dhffdgs") {
    orders {
      id
    }
  }
}
```

### Customer Orders

[](#customer-orders)

For customer carts, use the `graycoreCustomerOrders` query. There is an optional `orderNumber` parameter which will return a specific order. Not passing `orderNumber` will return all of the authenticated customer's orders. Authenticate the customer according to normal Magento procedures.

```
query GetCustomerOrders {
  graycoreCustomerOrders(
    orderNumber: "0000000001"
  ) {
    orders {
      id
    }
  }
}
```

### Schema

[](#schema)

Refer to the [GraphQL schema](etc/schema.graphqls) for documentation about the types available in the queries.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Total

5

Last Release

2034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cede4d8ff3624bd4e509cebd8a3da9abada797eb8e0737c6db26097fce82e67e?d=identicon)[damienwebdev](/maintainers/damienwebdev)

---

Top Contributors

[![griest024](https://avatars.githubusercontent.com/u/5853222?v=4)](https://github.com/griest024 "griest024 (18 commits)")[![damienwebdev](https://avatars.githubusercontent.com/u/9029654?v=4)](https://github.com/damienwebdev "damienwebdev (6 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/graycore-magento2-orders-graphql/health.svg)

```
[![Health](https://phpackages.com/badges/graycore-magento2-orders-graphql/health.svg)](https://phpackages.com/packages/graycore-magento2-orders-graphql)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[subscribepro/subscribepro-magento2-ext

Subscribe Pro Magento 2 Integration Extension

24157.3k](/packages/subscribepro-subscribepro-magento2-ext)[xcoreplatform/xcore-magento2

This module extends the rest api of Magento2 and is needed for the usage of the xCore.

1330.0k2](/packages/xcoreplatform-xcore-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
