You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run any valid GraphQL statement via the /graphql [API](https://developer.salesforce.com/docs/platform/graphql/guide/graphql-about.html)
7
+
Specify the GraphQL statement with the "--body" flag, either directly at the command line or with a file that contains the statement. You can query Salesforce records using a "query" statement or use mutations to modify Salesforce records.
8
+
9
+
This command uses the GraphQL API to query or modify Salesforce objects. For details about the API, and examples of queries and mutations, see https://developer.salesforce.com/docs/platform/graphql/guide/graphql-about.html.
8
10
9
11
# examples
10
12
11
-
-Runs the graphql query directly via the command line
13
+
-Execute a GraphQL query on the Account object by specifying the query directly to the "--body" flag; the command uses your default org:
Make an authenticated HTTP request to Salesforce REST API and print the response.
3
+
Make an authenticated HTTP request using the Salesforce REST API.
4
+
5
+
# description
6
+
7
+
When sending the HTTP request with the "--body" flag, you can specify the request directly at the command line or with a file that contains the request.
8
+
9
+
For a full list of supported REST endpoints and resources, see https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_list.htm.
4
10
5
11
# examples
6
12
7
13
- List information about limits in the org with alias "my-org":
0 commit comments