Query
query StripeProducts($input: StripeProductSearchInput!) {
stripeProducts(input: $input) {
nextPage
products {
environmentId
id
isSynced
name
notSupportedForImport
prices {
amount
billingPeriod
}
}
totalCount
usageBasedProductPresent
}
}Variables
{
"input": {
"environmentId": "string"
}
}Response
{
"data": {
"stripeProducts": {
"nextPage": "string",
"products": [
{
"environmentId": "string",
"id": "string",
"isSynced": true,
"name": "string",
"notSupportedForImport": true,
"prices": [
{
"amount": 1.5,
"billingPeriod": "ANNUALLY"
}
]
}
],
"totalCount": 1,
"usageBasedProductPresent": true
}
}
}Queries
stripeProducts
List Stripe products
QUERY
stripeProducts(input: StripeProductSearchInput!): StripeProductSearchResult!Arguments
input
required
Returns
nextPage
String
Token for the next page of results
products
[StripeProduct!]!
List of found Stripe products
totalCount
Int!
Total number of products found
usageBasedProductPresent
Boolean
Indicates if any usage-based products were found
Query
query StripeProducts($input: StripeProductSearchInput!) {
stripeProducts(input: $input) {
nextPage
products {
environmentId
id
isSynced
name
notSupportedForImport
prices {
amount
billingPeriod
}
}
totalCount
usageBasedProductPresent
}
}Variables
{
"input": {
"environmentId": "string"
}
}Response
{
"data": {
"stripeProducts": {
"nextPage": "string",
"products": [
{
"environmentId": "string",
"id": "string",
"isSynced": true,
"name": "string",
"notSupportedForImport": true,
"prices": [
{
"amount": 1.5,
"billingPeriod": "ANNUALLY"
}
]
}
],
"totalCount": 1,
"usageBasedProductPresent": true
}
}
}