New Store GraphQL Query
Executes an arbitrary GraphQL query against the NewStore OMS API. Authenticates via username/password OAuth flow and returns the query results.
What it does
- Obtains an access token from the NewStore OAuth endpoint using password grant.
- Sends the provided GraphQL query to the NewStore data query API.
- Returns the query result data.
Notes
- The Environment input uses
sfor Sandbox andpfor Production. - The API URL pattern is
https://{tenant}.{env}.newstore.net/api/v1/org/data/query. - Supports any valid GraphQL query that the NewStore API accepts.
Inputs
| Name | Type | Description |
|---|---|---|
| Query | String | The GraphQL query to execute |
| Tenant | String | NewStore tenant identifier |
| Environment | String | s for Sandbox, p for Production |
| Username | String (sensitive) | NewStore API username |
| Password | String (sensitive) | NewStore API password |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether the query executed successfully |
| Output | Object | Query result data |