Admin API
Contains objects used to interact with the Admin API.
This object is returned as part of different contexts, such as admin, unauthenticated.admin, and webhook.
Anchor to adminadmin
Provides utilities that apps can use to make requests to the Admin API.
- Anchor to graphqlgraphqlgraphqlGraphQLClientGraphQLClientrequiredrequired
Methods for interacting with the Shopify Admin GraphQL API
- Anchor to restrestrestRestClientWithResources<Resources>RestClientWithResources<Resources>requiredrequired
Methods for interacting with the Shopify Admin REST API
There are methods for interacting with individual REST resources. You can also make
,,andrequests should the REST resources not meet your needs.
GraphQLClient
- query
string - options
GraphQLQueryOptions
Promise<Response>GraphQLQueryOptions
- apiVersion
ApiVersion - headers
{ [key: string]: any; } - tries
number - variables
QueryVariables
QueryVariables
- [key: string]
any
RestClientWithResources
RemixRestClient & {resources: Resources}RemixRestClient
- session
Session - get
Performs a GET request on the given path.
(params: GetRequestParams) => Promise<Response> - post
Performs a POST request on the given path.
(params: PostRequestParams) => Promise<Response> - put
Performs a PUT request on the given path.
(params: PostRequestParams) => Promise<Response> - delete
Performs a DELETE request on the given path.
(params: GetRequestParams) => Promise<Response>
Was this page helpful?