Available queries

Associated queryReturns multiple results
Subscription
Subscriptions✔️

Available fields

LabelTypeNotesNull
account_managerAccount managerThe account manager associated to this document✔️
billing_cycleintegerThe time gap between each billing (in months)
bill_toAddressThe billing address✔️
changedDateThe date of the subscription's last modification
createdDateThe date of the subscription's creation
cycle_limitstringHow many month until the subscription expires (in months)✔️
currencyCurrencyThe currency used in this document✔️
customerCustomerThe customer this document is addressed to✔️
discountdecimal(10,2)The discount applied in this document✔️
exchange_ratedecimal(12,6)The exchange rate for this document's currency✔️
external_referencestringThe external reference of this document✔️
end_datestringIndicates if this subscription should expire ("never" or "after")✔️
first_billing_datestringThe date of the first billing✔️
for_the_attention_ofstringThe person this document is addressed to✔️
global_discountdecimal(12,2)The global discount applied to the document✔️
idintegerThe id of the document
internal_notesstringNotes about this document that only you will see✔️
invoices_createdInvoicesThe invoices created from this document✔️
labelstringThe order number of this specific subscription. Automatically generated
line_itemsLine itemsThe line items of the document
locationLocationThe location used in the document✔️
notesstringNotes about this document that you AND the customer will see✔️
price_levelPrice levelThe price level used in this document
renewal_dateDateNoHourWhen the subscription should be renewed✔️
specific_daystring✔️
subscription_statusstringThe status of this document ("active", "cancelled")
subtotaldecimal(12,2)The subtotal of this document
taxesTaxesThe taxes used in this document✔️
tax_typeObjectThe type of taxes in this document✔️
terms_and_conditionsstringThe terms and condition of this document✔️
totaldecimal(12,2)The total of this document
total_taxesTotal taxesThe total taxes of this document✔️
total_unitsdecimal7)The total units of this order
userUserThe user who created this order

Example of a query

query{
  Subscriptions{
    edges{
      node{
        account_manager{
          id
        }
        billing_cycle
        bill_to{
          country
        }
        changed
        created
        cycle_limit
        currency{
          id
        }
        customer{
          id
        }
        discount
        exchange_rate
        external_reference
        end_date
        first_billing_date
        for_the_attention_of
        global_discount
        id
        internal_notes
        invoices_created{
          edges{
            node{
              id
            }
          }
        }
        label
        line_items{
          edges{
            node{
              id
            }
          }
        }
        location{
          id
        }
        notes
        price_level{
          id
        }
        renewal_date
        specific_day
        subscription_status
        subtotal
        taxes{
          edges{
            node{
              id
            }
          }
        }
        terms_and_conditions
        total_taxes{
          edges{
            node{
              id
            }
          }
        }
        total_units
        user{
          display_name
        }
      }
    }
  }
}