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 s for Sandbox and p for 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

NameTypeDescription
QueryStringThe GraphQL query to execute
TenantStringNewStore tenant identifier
EnvironmentStrings for Sandbox, p for Production
UsernameString (sensitive)NewStore API username
PasswordString (sensitive)NewStore API password

Outputs

NameTypeDescription
SuccessBooleanWhether the query executed successfully
OutputObjectQuery result data