The Firmhouse GraphQL API query RootQuery. All your queries should start with the
top-level objects defined in this query.
Fields
AnchorReturns current cart calculations object identified by X-Subscription-Token.
AnchorReturns the project identified by current access token.
AnchorFetch an invoice by token.
Argument | Description |
---|
token (ID!) | |
AnchorGet order for current subscription with ID
Argument | Description |
---|
id (ID!) | |
AnchorDeprecated: Will be removed.
Calculate order prices
Argument | Description |
---|
orderedProducts ([OrderedProductInput!]) | The ordered products that are part of the order |
discountCode (String) | |
AnchorDeprecated: Use `orders` connection instead.
List of orders
AnchorFetch payment by token.
Argument | Description |
---|
token (ID!) | |
AnchorGet subscription details.
Argument | Description |
---|
token (ID!) | |
AnchorgetSubscriptionBySelfServiceCenterLoginToken (
Subscription!)
Fetch subscription by self service center login token.
Argument | Description |
---|
token (ID!) | |
AnchorDeprecated: Use the `subscriptions` connection instead.
Returns paginated list of all subscriptions
Argument | Description |
---|
limit (Int) | |
offset (Int) | |
updatedSince (Int) | |
AnchorList of orders
Argument | Description |
---|
after (String) | Returns the elements in the list that come after the specified cursor. |
before (String) | Returns the elements in the list that come before the specified cursor. |
first (Int) | Returns the first _n_ elements from the list. |
last (Int) | Returns the last _n_ elements from the list. |
AnchorList of plans.
Argument | Description |
---|
after (String) | Returns the elements in the list that come after the specified cursor. |
before (String) | Returns the elements in the list that come before the specified cursor. |
first (Int) | Returns the first _n_ elements from the list. |
last (Int) | Returns the last _n_ elements from the list. |
AnchorList of products.
Argument | Description |
---|
after (String) | Returns the elements in the list that come after the specified cursor. |
before (String) | Returns the elements in the list that come before the specified cursor. |
first (Int) | Returns the first _n_ elements from the list. |
last (Int) | Returns the last _n_ elements from the list. |
AnchorList of subscriptions
Argument | Description |
---|
after (String) | Returns the elements in the list that come after the specified cursor. |
before (String) | Returns the elements in the list that come before the specified cursor. |
first (Int) | Returns the first _n_ elements from the list. |
last (Int) | Returns the last _n_ elements from the list. |