Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

GraphQL and REST API's

GraphQL and REST API's

Bento75
New Member
11 0 0

I have an embedded admin app created with Shopify Cli, so it uses Apollo Boost client.  Everything is working fine from a GraphQL point of view but I need to access objects that are not available through the Shopify GraphQL API and only available through the REST API, such as urlRedirects.

What are is the simplest way to go about this?

  

Replies 2 (2)

Bento75
New Member
11 0 0

No takers?

Gregarican
Shopify Partner
1033 86 292

While I haven't worked with the Apollo Client, I assume that it wraps the GraphQL API requests to make working with things simpler. If you also need to hit REST API endpoints, then worst-case you could drop back  to lower-level JavaScript to make your requests. Specifying the API URL, defining your request headers, creating your request body, etc. That should certainly work.