magento / graphql-ce

[ARCHIVED] Please use magento/magento2 project
https://github.com/magento/magento2
Open Software License 3.0
131 stars 155 forks source link

GraphQL Order details via a masked ID #1067

Closed stijnbernards closed 4 years ago

stijnbernards commented 5 years ago

Description (*)

On the order success page currently it's only possible to fetch the order_id since it is returned by the place order endpoints. It would be desirable to also return a masked order id. So it is possible for guest accounts to show order data on the order success page.

Expected behavior (*)

New GraphQL endpoint for fetching order data via a masked order id

Benefits

It would be possible to show related order information on the success page. For example see our implementation at castiron. https://www.castiron-clothing.com/checkout-success/mBFo526E0EnzOkdfB5preevU0meuGqHp/