Account types

This list contains all query and inputs types for the Account endpoints.


Account

Fields

  • Name
    id
    Type
    ID!
    Description

    Unique identifier for the account.

  • Name
    _id
    Type
    Int!
    Description

    Unique number identifier for the account.

  • Name
    uid
    Type
    ID!
    Description

    Unique identifier for the account.

  • Name
    slug
    Type
    String!
    Description

    The account slug.

  • Name
    cancelled
    Type
    Boolean!
    Description

    The account cancelled boolean.

  • Name
    cancel_at
    Label
    Timestamp!
    Description

    Timestamp of when the account was cancelled.

  • Name
    lockDash
    Type
    Boolean!
    Description

    The account lockDash boolean.

  • Name
    stripe_default_payment_id
    Type
    String
    Description

    The account stripe default payment id.

  • Name
    sub_status
    Type
    String!
    Description

    The account sub status.

  • Name
    past_due
    Type
    Boolean!
    Description

    The account past due.

  • Name
    sub
    Type
    String
    Description

    The account sub.

  • Name
    owner_id
    Type
    Int
    Description

    The account owner id.

  • Name
    account_name
    Type
    String!
    Description

    The account name.

  • Name
    has_free_access
    Type
    Boolean!
    Description

    The account has free access boolean.

  • Name
    appliedCouponValue
    Type
    Float!
    Description

    The account applied coupon value.

  • Name
    email
    Type
    String
    Description

    The account email.

  • Name
    customers_email
    Type
    String!
    Description

    The account customers email.

  • Name
    image
    Label
    VirtualImage!
    Description

    The account image.

    type VirtualImage implements Node {
    	id: ID!
    	url(version: ImageVariant = version3): String!
    	key: String
    	defaultURL: String!
    }
    
    enum ImageVariant {
    	version1
    	version2
    	version3
    }
    
  • Name
    active_plan
    Type
    Plans!
    Description

    The account active plan.

    enum Plans {
    	basic
    	professional_monthly
    	business_monthly
    	pitchground_a
    	pitchground_b
    	pitchground_c
    	pitchground_d
    }
    
  • Name
    free_orders
    Type
    Int!
    Description

    The account free orders.

  • Name
    sales_threshold
    Type
    Float!
    Description

    The account sales threshold.

  • Name
    disable_sales_invoices
    Type
    Boolean!
    Description

    The account disable sales invoices boolean.

  • Name
    block_orders_access
    Type
    Boolean!
    Description

    The account block orders access boolean.

  • Name
    next_billing_cycle
    Label
    TimeStamp
    Description

    The account block orders access boolean.

  • Name
    subscription_id
    Type
    String
    Description

    The account subscription id.

  • Name
    legal_name
    Type
    String
    Description

    The account legal name.

  • Name
    company
    Type
    String
    Description

    The account company.

  • Name
    phone
    Type
    String
    Description

    The account phone.

  • Name
    zip
    Type
    String
    Description

    The account zip.

  • Name
    address_line1
    Type
    String
    Description

    The account address line1.

  • Name
    address_line2
    Type
    String
    Description

    The account address line2.

  • Name
    city
    Type
    String
    Description

    The account city.

  • Name
    country
    Type
    String
    Description

    The account country.

  • Name
    address
    Type
    String!
    Description

    The account address.

  • Name
    google_account
    Type
    String
    Description

    The account google_account.

  • Name
    facebook_pixels
    Type
    [Pixel!]!
    Description

    The account facebook_pixels.

    type Pixel {
    	label: String!
    	value: String!
    }
    
  • Name
    snapchat_pixels
    Type
    [Pixel!]!
    Description

    The account snapchat_pixels.

    type Pixel {
    	label: String!
    	value: String!
    }
    
  • Name
    tiktok_pixels
    Type
    [Pixel!]!
    Description

    The account tiktok_pixels.

    type Pixel {
    	label: String!
    	value: String!
    }
    
  • Name
    timezone
    Type
    String!
    Description

    The account timezone.

  • Name
    weight_unit
    Type
    String!
    Description

    The account weight unit.

  • Name
    store_currency
    Type
    String!
    Description

    The account store currency.

  • Name
    store_currency_format
    Type
    String!
    Description

    The account store currency format.

  • Name
    store_currency_symbol
    Type
    String!
    Description

    The account store currency symbol.

  • Name
    use_all_currencies
    Type
    Boolean!
    Description

    The account use all currencies.

  • Name
    switch_to_the_visitor_currency
    Type
    Boolean!
    Description

    The account switch to the visitor currency.

  • Name
    auto_add_missed_currencies
    Type
    Boolean!
    Description

    The account auto add missed currencies.

  • Name
    funnels_currencies
    Type
    [String!]
    Description

    The account funnels currencies.

  • Name
    refund_policy
    Type
    String
    Description

    The account refund policy.

  • Name
    privacy_policy
    Type
    String
    Description

    The account privacy policy.

  • Name
    terms_of_services
    Type
    String
    Description

    The account terms of services.

  • Name
    alerts
    Label
    [Alert!]!
    Description

    The account alerts.

  • Name
    updated_at
    Label
    TimeStamp!
    Description

    Timestamp of when the account was updated.

  • Name
    created_at
    Label
    TimeStamp!
    Description

    Timestamp of when the account was created.

  • Name
    primary_domain_uid
    Type
    ID
    Description

    The account primary domain uid.

  • Name
    redirect_subdomain_to_primary
    Type
    Boolean!
    Description

    The account redirect subdomain to primary.

  • Name
    primary_domain_name
    Type
    String!
    Description

    The account primary domain name.

  • Name
    home_funnel_uid
    Type
    ID
    Description

    The account home funnel uid.

  • Name
    home_funnel
    Label
    Funnel
    Description

    The account home funnel.

  • Name
    profileHasPaymentMethod
    Type
    Boolean!
    Description

    The account profile has payment method boolean.

  • Name
    payment_gateways
    Label
    PaymentGateway!
    Description

    The account payment gateways.

  • Name
    domains
    Label
    [Domain!]!
    Description

    The account domains.

  • Name
    defaultDomain
    Type
    String!
    Description

    The account default domain.

  • Name
    has_other_admin
    Type
    Boolean!
    Description

    The account has other admins boolean.

  • Name
    limits
    Type
    AccountLimits!
    Description

    The account limits.

    type AccountLimits {
    	max_products: Int!
    	products_left: Int!
    	max_funnels: Int!
    	funnels_left: Int!
    	max_pages_per_funnels: Int!
    	max_files_size: Int!
    	max_members: Int!
    	members_left: Int!
    	domainsLeft: Int!
    	storesLeft: Int!
    }
    
  • Name
    accountProgress
    Type
    Progress!
    Description

    The account progress.

    type Progress {
    	hasProduct: Boolean!
    	hasPaymentGateway: Boolean!
    }
    
  • Name
    fetchEmails
    Label
    [StoreEmail!]!
    Description

    The account fetch emails.

  • Name
    emails_notifications
    Type
    EmailsNotifications!
    Description

    The account email notifications.

    type EmailsNotifications {
    	orderCancel: EmailsNotificationConfig!
    	orderRefund: EmailsNotificationConfig!
    	orderFulfilled: EmailsNotificationConfig!
    	orderConfirmation: EmailsNotificationConfig!
    }
    
    type EmailsNotificationConfig {
    	disabled: Boolean!
    }
    
  • Name
    integrations
    Type
    [Integration!]!
    Description

    The account integrations.

    type Integration implements Node {
    	id: ID!
    	platform: String!
    	label: String!
    	details: IntegrationDetails
    }
    
    scalar IntegrationDetails
    
  • Name
    allocatedResources
    Type
    AllocatedResources!
    Description

    The account next billing amount.

    type AllocatedResources {
    	domain: Int!
    	store: Int!
    }
    
  • Name
    allocatedPlanResources
    Type
    AllocatedPlanResources!
    Description

    The account allocated plan resources.

    type AllocatedPlanResources {
    	sessions: Int!
    	domains: Int!
    	stores: Int!
    }
    
  • Name
    is_trial
    Type
    Boolean!
    Description

    The account is trial boolean.

  • Name
    shipping_rates
    Label
    [ShippingRateGroup!]!
    Description

    The account shipping rates.

  • Name
    shipping_countries
    Label
    [ShippingCountry!]!
    Description

    The account shipping countries.

  • Name
    clarity_project_id
    Type
    String!
    Description

    The account clarity project id.

  • Name
    totalSold
    Type
    Float!
    Description

    The account total sold.

  • Name
    badges
    Type
    [AccountBadge!]!
    Description

    The account badges.

    type AccountBadge {
    	id: ID!
    	key: String!
    	claimed: Boolean!
    }
    
  • Name
    achievementsResult
    Type
    AchievementsResult!
    Description

    The account achievements result.

    type AchievementsResult {
    	seller_of_week: Int!
    	bundle_genie_of_week: Int!
    	upsell_genie_of_week: Int!
    	conversion_master_of_week: Int!
    	aov_slayer_of_week: Int!
    }
    
  • Name
    achievements
    Type
    [Achievement!]!
    Description

    The account achievements.

    type Achievement {
    	uid: ID!
    	id: ID!
    	key: String!
    	created_at(format: String = "fromNow", suffix: Boolean = true): TimeStamp!
    }
    
  • Name
    blocked_countries
    Type
    [BlockedIp!]!
    Description

    The account blocked countries.

    type BlockedIp {
    	created_at(format: String = "fromNow", suffix: Boolean = true): TimeStamp!
    	value: String!
    }
    
  • Name
    blocked_ips
    Type
    [BlockedIp!]!
    Description

    The account blocked ips.

    type BlockedIp {
    	created_at(format: String = "fromNow", suffix: Boolean = true): TimeStamp!
    	value: String!
    }
    
  • Name
    max_order_items
    Type
    Int
    Description

    The account max order items.

  • Name
    allow_support_signin
    Type
    Boolean!
    Description

    The account allow support signin.

  • Name
    cod_order_min_delay
    Type
    Int!
    Description

    The account cod order min delay.

  • Name
    cod_order_min_delay_error_message
    Type
    String!
    Description

    The account cod order min delay error message.

  • Name
    stores
    Label
    [Store!]!
    Description

    The account stores.

  • Name
    currencies
    Type
    [StoreCurrency!]!
    Description

    The account store currencies.

    type StoreCurrency {
    	key: String!
    }
    

Request

POST
https://services.lightfunnels.com/api/v2
query AccountsQuery{
	account{
		id
		...
	}
}

InputUpdateAccount

Fields

  • Name
    account_name
    Type
    String
    Description

    The account name.

  • Name
    clarity_project_id
    Type
    String
    Description

    The account clarity project id.

  • Name
    slug
    Type
    String
    Description

    The account slug.

  • Name
    email
    Type
    String
    Description

    The account email.

  • Name
    customers_email
    Type
    String
    Description

    The account customers email.

  • Name
    legal_name
    Type
    String
    Description

    The account legal name.

  • Name
    company
    Type
    String
    Description

    The account company.

  • Name
    phone
    Type
    String
    Description

    The account phone.

  • Name
    zip
    Type
    String
    Description

    The account zip.

  • Name
    city
    Type
    String
    Description

    The account city.

  • Name
    country
    Type
    String
    Description

    The account country.

  • Name
    address_line1
    Type
    String
    Description

    The account address line1.

  • Name
    address_line2
    Type
    String
    Description

    The account address line2.

  • Name
    refund_policy
    Type
    String
    Description

    The account refund policy.

  • Name
    privacy_policy
    Type
    String
    Description

    The account privacy policy.

  • Name
    terms_of_services
    Type
    String
    Description

    The account terms of services.

  • Name
    google_account
    Type
    String
    Description

    The google account.

  • Name
    facebook_pixels
    Type
    [InputPixel]
    Description

    The account facebook pixels.

  • Name
    snapchat_pixels
    Type
    [InputPixel]
    Description

    The account snapchat pixels.

  • Name
    tiktok_pixels
    Type
    [InputPixel]
    Description

    The account tiktok pixels.

  • Name
    funnels_currencies
    Type
    [String]
    Description

    The account funnels currencies.

  • Name
    shipping_countries
    Type
    [InputShippingCountry!]
    Description

    The account shipping countries.

  • Name
    use_all_currencies
    Type
    Boolean
    Description

    The account use all currencies.

  • Name
    switch_to_the_visitor_currency
    Type
    Boolean
    Description

    The account switch to the visitor currency.

  • Name
    auto_add_missed_currencies
    Type
    Boolean
    Description

    The account auto add missed currencies.

  • Name
    home_funnel_uid
    Type
    ID
    Description

    The account home funnel uid.

  • Name
    timezone
    Type
    String
    Description

    The account timezone.

  • Name
    weight_unit
    Type
    String
    Description

    The account weight unit.

  • Name
    store_currency
    Type
    String
    Description

    The account store currency.

  • Name
    store_currency_format
    Type
    String
    Description

    The account store currency format.

  • Name
    max_order_items
    Type
    Int
    Description

    The account max order items.

  • Name
    allow_support_signin
    Type
    Boolean
    Description

    The account allow support signin boolean.

  • Name
    cod_order_min_delay
    Type
    Int
    Description

    The account cod order min delay.

  • Name
    cod_order_min_delay_error_message
    Type
    String
    Description

    The account cod order min delay error message.

  • Name
    blocked_countries
    Type
    [String!]
    Description

    The account blocked countries.

  • Name
    blocked_ips
    Type
    [String!]
    Description

    The account blocked ips.


Alert

Fields

  • Name
    id
    Type
    ID!
    Description

    Unique identifier for the alert.

  • Name
    _id
    Type
    Int!
    Description

    Unique number identifier for the alert.

  • Name
    uid
    Type
    ID!
    Description

    Unique identifier for the alert.

  • Name
    updated_at
    Label
    TimeStamp!
    Description

    Timestamp of when the alert was updated.

  • Name
    created_at
    Label
    TimeStamp!
    Description

    Timestamp of when the alert was created.

  • Name
    type
    Type
    AlertType!
    Description

    the alert type.

    enum AlertType {
    	FIRST_SELL
    	FUNNEL_BUILDER_TOUR
    	PAGE_BUILDER_TOUR
    	BADGE_ACQUIRED
    	ACHIEVEMENT
    	FAKE_PRICE_RED_FLAG
    	FAKE_PRICE_WARNING
    	ACCOUNT_SETUP
    	ONBOARDING
    	CREATE_STORE
    	ADD_STORE_PRODUCT
    }
    

StoreEmail

Fields

  • Name
    id
    Type
    ID!
    Description

    Unique identifier for the store email.

  • Name
    _id
    Type
    Int!
    Description

    Unique number identifier for the store email.

  • Name
    uid
    Type
    ID!
    Description

    Unique identifier for the store email.

  • Name
    type
    Type
    EmailsTypes!
    Description

    the store email type.

    enum EmailsTypes {
    	orderCancel
    	orderRefund
    	orderFulfilled
    	orderConfirmation
    }
    
  • Name
    subject
    Type
    String!
    Description

    the store email subject.

  • Name
    body
    Type
    String!
    Description

    the store email body.

  • Name
    updated_at
    Label
    TimeStamp!
    Description

    Timestamp of when the store email was updated.

  • Name
    created_at
    Label
    TimeStamp!
    Description

    Timestamp of when the store email was created.