GrowthHero.io

GrowthHero growthhero
Help

Apiary Powered Documentation

Sign in with Apiary account.

GrowthHero.io

Introduction

The GrowthHero API is based around REST. It has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. JSON is returned by all API responses, including errors.

Your store falls under one of the following platform types.

  1. Shopify - If you have a shopify store and used shopify to signup to GrowthHero
  2. BigCommerce - If you have used bigcommerce to signup to GrowthHero
  3. Standalone - If you have registered directly using email/password

There are platform specific attributes within the endpoints that cannot be modified if it is not supported for your store platform. The platform specific attributes will be explicitly marked under respective API endpoints. Please check and ensure you are not using unpermitted parameters for your platform.

The response object will still include the restricted attributes, you can safely ignore them.

If platform is not specified for any attribute, it is available for all the platforms.

Customization

Feel free to reach out if you need any API customizations.

Authentication

Authentication with the API is achieved by sending your secret key along in the header of every request:

  • X-API-KEY: “YOUR_API_KEY”

You can get your API key from Settings > Integrations > API page.

Authorization

Premium APIs will be denoted as "Premium API" under each collection title. These endpoints can only be accessed by Premium accounts. You can upgrade your account anytime from Billing

Partner Collection

Premium API

Partners represent users that will be promoting your company.

List all partners

Returns a list of all your partners.

URI Parameters
pagea number used for pagination
searcha phrase used to filter the partner list

Create a new partner

Create a new affiliate account.

Request
object
  • email
    string
  • first_name
    string
  • last_name
    string
  • paypal_email
    string
  • slug
    string
  • password
    string
  • password_confirmation
    string
  • internal
    boolean
  • group_id
    number
  • status
    string
  • redirect_enabled

    platform: (shopify)

    boolean
  • redirect_path

    platform: (shopify)

    string
  • referral_partner_id
    number
  • mlm_redirect_path

    platform: (shopify)

    string
  • discount_code

    platform: (shopify, bigcommerce)

    string
  • tag_matching_enabled

    platform: (shopify)

    boolean
  • matching_tag

    platform: (shopify)

    string
  • mlm_enabled
    boolean
  • shopify_id

    platform: (shopify)

    string
  • additional_discount_codes

    platform: (shopify, bigcommerce)

    array[string]
Request
object
  • email
    string
  • first_name
    string
  • last_name
    string
  • paypal_email
    string
  • slug
    string
  • password
    string
  • password_confirmation
    string
  • internal
    boolean
  • group_id
    number
  • status
    string
  • redirect_enabled

    platform: (shopify)

    boolean
  • redirect_path

    platform: (shopify)

    string
  • referral_partner_id
    number
  • mlm_redirect_path

    platform: (shopify)

    string
  • discount_code

    platform: (shopify, bigcommerce)

    string
  • tag_matching_enabled

    platform: (shopify)

    boolean
  • matching_tag

    platform: (shopify)

    string
  • mlm_enabled
    boolean
  • shopify_id

    platform: (shopify)

    string
  • additional_discount_codes

    platform: (shopify, bigcommerce)

    array[string]

Partner

Premium API

Partners represent users that will be promoting your company.

Get partner

Returns a singler partner.

URI Parameters
ida partner ID

Update a partner

Update an existing affiliate account.

Request
object
  • email
    string
  • first_name
    string
  • last_name
    string
  • paypal_email
    string
  • slug
    string
  • password
    string
  • password_confirmation
    string
  • internal
    boolean
  • group_id
    number
  • status
    string
  • redirect_enabled

    platform: (shopify)

    boolean
  • redirect_path

    platform: (shopify)

    string
  • referral_partner_id
    number
  • mlm_redirect_path

    platform: (shopify)

    string
  • discount_code

    platform: (shopify, bigcommerce)

    string
  • tag_matching_enabled

    platform: (shopify)

    boolean
  • matching_tag

    platform: (shopify)

    string
  • mlm_enabled
    boolean
  • shopify_id

    platform: (shopify)

    string
  • additional_discount_codes

    platform: (shopify, bigcommerce)

    array[string]

Destroy a partner

Destroy an existing affiliate account.

URI Parameters
ida partner ID

Generate Payout

Generate a payout for remaining balance of the partner.

Adjust balance

Adjust the balance of a partner either positively or negatively

Get all transactions

Get all transactions for a partner. Filter by Type.

URI Parameters
pagepage number for result
per_page

number of resources to return in a single request. Maximum 250, default 25.

types

comma separated types to filter transactions from. Available - ManualTransaction, OrderCommission, DiscountPayout, PaypalMassPayout, ManualPayout

Orders Collection

Orders referred by your partners.

List all orders

Returns a list of all your orders.

URI Parameters
pagea number used for pagination
searcha phrase used to filter the partner list

Create a new order

Create a new affiliated order.

Request
object
  • order_number
    string, required
  • partner_id

    optional when auto_match_partner is true

    number, required
  • auto_match_partner

    when provided true, we will try to identify the match partner from any email events in last 24h from the pixel installation matching the customer email of the order.

    boolean, optional
  • external_id
    string
  • browser_ip

    platform: (shopify, bigcommerce)

    string
  • cart_token

    platform: (shopify, bigcommerce)

    string
  • checkout_token

    platform: (shopify, bigcommerce)

    string
  • subscription_id

    when provided, the order type will be a "Subscription" else it will be categorized as "Individual Sale".

    string, optional
  • total_price
    string, required
  • subtotal_price
    string
  • customer_id
    string
  • customer_email
    string
  • customer_first_name
    string
  • customer_last_name
    string
  • products
    array

Order

Single order referred by one of your partners.

Get order

Returns a singler order.

URI Parameters
idan order ID

Destroy an order

Destroy an existing affiliated order.

URI Parameters
idan order ID

Reference

Group


Group (program) related APIs

Groups Collection

Premium API

List all groups

Retrieve paginated list of all groups. Returns 25 groups per call.

URI Parameters
page
search

Filter groups by it's name or slug

show_allWhether to skip pagination and return the full list of groups
type

Filter groups by it's type.

Create new Group

Create a new Group.

Request
object
  • name
    string, required
  • type

    Available: Shopify: [affiliate, referral] Standalone, BigCommerce: [affiliate]

    string, required
  • slug
    string
  • cookie_days

    platform: (shopify)

    number
  • auto_approve
    boolean
  • holding_period
    number
  • auto_approve_transactions
    boolean
  • private
    boolean
  • allow_pick_discount_code

    platform: (shopify)

    boolean
  • auto_activated_mlm
    boolean
  • enable_specific_links

    platform: (shopify)

    boolean
  • show_additional_details_input
    boolean
  • display_smart_link_qr_code

    platform: (shopify)

    boolean
  • show_paypal_input
    boolean
  • auto_generate_short_links

    platform: (shopify)

    boolean
  • show_only_discount_codes

    platform: (shopify)

    boolean
  • hide_customer_details
    boolean
  • customer_multiple_orders_strategy

    Available: Shopify: [cookie, first, lifetime] Standalone, BigCommerce: [first, lifetime]

    string
  • hide_orders_list
    boolean
  • show_mlm_tree
    boolean
  • minimum_order_value
    number
  • onboarding_page_url
    string
  • allow_change_discount_code

    platform: (shopify)

    boolean
  • minimal_payable_amount
    number
  • show_partner_details_for_mlm_network
    boolean
  • enable_creating_partner_pages

    platform: (shopify)

    boolean
  • enable_partner_modal

    platform: (shopify)

    boolean
  • show_customer_email
    boolean
  • show_status_url

    platform: (shopify)

    boolean
  • show_customer_phone
    boolean
  • available_payouts
    array
  • additional_fields
    array
  • partner_reward
    object
  • customer_reward
    object
Response
object
  • id
    number
  • name
    string
  • slug
    string
  • cookieDays
    number
  • autoApprove
    boolean
  • partnerReward
    object
  • customerReward
    object
  • holdingPeriod
    number
  • availablePayouts
    array
  • autoApproveTransactions
    boolean
  • default
    boolean
  • defaultReferral
    boolean
  • defaultAffiliate
    boolean
  • partnersCount
    number
  • createdAt
    string
  • updatedAt
    string
  • private
    boolean
  • trackingByDiscountCodeEnabled
    boolean
  • allowPickDiscountCode
    boolean
  • autoActivatedMlm
    boolean
  • additionalFields
    array
  • enableSpecificLinks
    boolean
  • showAdditionalDetailsInput
    boolean
  • displaySmartLinkQrCode
    boolean
  • showPaypalInput
    boolean
  • autoGenerateShortLinks
    boolean
  • showOnlyDiscountCodes
    boolean
  • hideCustomerDetails
    boolean
  • customerMultipleOrdersStrategy
    boolean
  • hideOrdersList
    boolean
  • showMlmTree
    boolean
  • minimumOrderValue
    number
  • onboardingPageUrl
    string
  • allowChangeDiscountCode
    boolean
  • minimalPayableAmount
    number
  • showPartnerDetailsForMlmNetwork
    boolean
  • enableCreatingPartnerPages
    boolean
  • enablePartnerModal
    boolean
  • showCustomerEmail
    boolean
  • showCustomerPhone
    boolean
  • showStatusUrl
    boolean
  • type
    string

Group

Premium API

A single Group object with all attributes.

URI Parameters
id

Numeric id of the Group to interact with.

Retrieve a Group

Response
object
  • id
    number
  • name
    string
  • slug
    string
  • cookieDays
    number
  • autoApprove
    boolean
  • partnerReward
    object
  • customerReward
    object
  • holdingPeriod
    number
  • availablePayouts
    array
  • autoApproveTransactions
    boolean
  • default
    boolean
  • defaultReferral
    boolean
  • defaultAffiliate
    boolean
  • partnersCount
    number
  • createdAt
    string
  • updatedAt
    string
  • private
    boolean
  • trackingByDiscountCodeEnabled
    boolean
  • allowPickDiscountCode
    boolean
  • autoActivatedMlm
    boolean
  • additionalFields
    array
  • enableSpecificLinks
    boolean
  • showAdditionalDetailsInput
    boolean
  • displaySmartLinkQrCode
    boolean
  • showPaypalInput
    boolean
  • autoGenerateShortLinks
    boolean
  • showOnlyDiscountCodes
    boolean
  • hideCustomerDetails
    boolean
  • customerMultipleOrdersStrategy
    boolean
  • hideOrdersList
    boolean
  • showMlmTree
    boolean
  • minimumOrderValue
    number
  • onboardingPageUrl
    string
  • allowChangeDiscountCode
    boolean
  • minimalPayableAmount
    number
  • showPartnerDetailsForMlmNetwork
    boolean
  • enableCreatingPartnerPages
    boolean
  • enablePartnerModal
    boolean
  • showCustomerEmail
    boolean
  • showCustomerPhone
    boolean
  • showStatusUrl
    boolean
  • type
    string

Update a Group

Update Group object

Request
object
  • name
    string, required
  • type

    Available: Shopify: [affiliate, referral] Standalone, BigCommerce: [affiliate]

    string, required
  • slug
    string
  • cookie_days

    platform: (shopify)

    number
  • auto_approve
    boolean
  • holding_period
    number
  • auto_approve_transactions
    boolean
  • private
    boolean
  • allow_pick_discount_code

    platform: (shopify)

    boolean
  • auto_activated_mlm
    boolean
  • enable_specific_links

    platform: (shopify)

    boolean
  • show_additional_details_input
    boolean
  • display_smart_link_qr_code

    platform: (shopify)

    boolean
  • show_paypal_input
    boolean
  • auto_generate_short_links

    platform: (shopify)

    boolean
  • show_only_discount_codes

    platform: (shopify)

    boolean
  • hide_customer_details
    boolean
  • customer_multiple_orders_strategy

    Available: Shopify: [cookie, first, lifetime] Standalone, BigCommerce: [first, lifetime]

    string
  • hide_orders_list
    boolean
  • show_mlm_tree
    boolean
  • minimum_order_value
    number
  • onboarding_page_url
    string
  • allow_change_discount_code

    platform: (shopify)

    boolean
  • minimal_payable_amount
    number
  • show_partner_details_for_mlm_network
    boolean
  • enable_creating_partner_pages

    platform: (shopify)

    boolean
  • enable_partner_modal

    platform: (shopify)

    boolean
  • show_customer_email
    boolean
  • show_status_url

    platform: (shopify)

    boolean
  • show_customer_phone
    boolean
  • available_payouts
    array
  • additional_fields
    array
  • partner_reward
    object
  • customer_reward
    object
Response
object
  • id
    number
  • name
    string
  • slug
    string
  • cookieDays
    number
  • autoApprove
    boolean
  • partnerReward
    object
  • customerReward
    object
  • holdingPeriod
    number
  • availablePayouts
    array
  • autoApproveTransactions
    boolean
  • default
    boolean
  • defaultReferral
    boolean
  • defaultAffiliate
    boolean
  • partnersCount
    number
  • createdAt
    string
  • updatedAt
    string
  • private
    boolean
  • trackingByDiscountCodeEnabled
    boolean
  • allowPickDiscountCode
    boolean
  • autoActivatedMlm
    boolean
  • additionalFields
    array
  • enableSpecificLinks
    boolean
  • showAdditionalDetailsInput
    boolean
  • displaySmartLinkQrCode
    boolean
  • showPaypalInput
    boolean
  • autoGenerateShortLinks
    boolean
  • showOnlyDiscountCodes
    boolean
  • hideCustomerDetails
    boolean
  • customerMultipleOrdersStrategy
    boolean
  • hideOrdersList
    boolean
  • showMlmTree
    boolean
  • minimumOrderValue
    number
  • onboardingPageUrl
    string
  • allowChangeDiscountCode
    boolean
  • minimalPayableAmount
    number
  • showPartnerDetailsForMlmNetwork
    boolean
  • enableCreatingPartnerPages
    boolean
  • enablePartnerModal
    boolean
  • showCustomerEmail
    boolean
  • showCustomerPhone
    boolean
  • showStatusUrl
    boolean
  • type
    string
Request
object
  • name
    string, required
  • type

    Available: Shopify: [affiliate, referral] Standalone, BigCommerce: [affiliate]

    string, required
  • slug
    string
  • cookie_days

    platform: (shopify)

    number
  • auto_approve
    boolean
  • holding_period
    number
  • auto_approve_transactions
    boolean
  • private
    boolean
  • allow_pick_discount_code

    platform: (shopify)

    boolean
  • auto_activated_mlm
    boolean
  • enable_specific_links

    platform: (shopify)

    boolean
  • show_additional_details_input
    boolean
  • display_smart_link_qr_code

    platform: (shopify)

    boolean
  • show_paypal_input
    boolean
  • auto_generate_short_links

    platform: (shopify)

    boolean
  • show_only_discount_codes

    platform: (shopify)

    boolean
  • hide_customer_details
    boolean
  • customer_multiple_orders_strategy

    Available: Shopify: [cookie, first, lifetime] Standalone, BigCommerce: [first, lifetime]

    string
  • hide_orders_list
    boolean
  • show_mlm_tree
    boolean
  • minimum_order_value
    number
  • onboarding_page_url
    string
  • allow_change_discount_code

    platform: (shopify)

    boolean
  • minimal_payable_amount
    number
  • show_partner_details_for_mlm_network
    boolean
  • enable_creating_partner_pages

    platform: (shopify)

    boolean
  • enable_partner_modal

    platform: (shopify)

    boolean
  • show_customer_email
    boolean
  • show_status_url

    platform: (shopify)

    boolean
  • show_customer_phone
    boolean
  • available_payouts
    array
  • additional_fields
    array
  • partner_reward
    object
  • customer_reward
    object
Request
object
  • name
    string, required
  • type

    Available: Shopify: [affiliate, referral] Standalone, BigCommerce: [affiliate]

    string, required
  • slug
    string
  • cookie_days

    platform: (shopify)

    number
  • auto_approve
    boolean
  • holding_period
    number
  • auto_approve_transactions
    boolean
  • private
    boolean
  • allow_pick_discount_code

    platform: (shopify)

    boolean
  • auto_activated_mlm
    boolean
  • enable_specific_links

    platform: (shopify)

    boolean
  • show_additional_details_input
    boolean
  • display_smart_link_qr_code

    platform: (shopify)

    boolean
  • show_paypal_input
    boolean
  • auto_generate_short_links

    platform: (shopify)

    boolean
  • show_only_discount_codes

    platform: (shopify)

    boolean
  • hide_customer_details
    boolean
  • customer_multiple_orders_strategy

    Available: Shopify: [cookie, first, lifetime] Standalone, BigCommerce: [first, lifetime]

    string
  • hide_orders_list
    boolean
  • show_mlm_tree
    boolean
  • minimum_order_value
    number
  • onboarding_page_url
    string
  • allow_change_discount_code

    platform: (shopify)

    boolean
  • minimal_payable_amount
    number
  • show_partner_details_for_mlm_network
    boolean
  • enable_creating_partner_pages

    platform: (shopify)

    boolean
  • enable_partner_modal

    platform: (shopify)

    boolean
  • show_customer_email
    boolean
  • show_status_url

    platform: (shopify)

    boolean
  • show_customer_phone
    boolean
  • available_payouts
    array
  • additional_fields
    array
  • partner_reward
    object
  • customer_reward
    object

Remove a Group

Payout Batch


Payout Batch related apis

Payout Batch Collection

Premium API

List all payout batches

Retrieve paginated list of all payout batches. Returns 25 groups per call.

URI Parameters
page
partner_idFilter payout batches by partner

Generate new Payout batch

Generate a mass payout. Payout will be generated for all eligible partners with eligible balance.

Request
object
  • payment_type
    string, required
  • group_id
    number, optional
Response
object
  • id
    number
  • totalAmount
    number
  • createdAt
    string
  • currency
    string
  • status
    string
  • paymentType
    string
  • transactions
    array

PayoutBatch

Premium API

A single PayoutBatch object with all attributes.

Retrieve a PayoutBatch

URI Parameters
id

Numeric id of the PayoutBatch to interact with.

Response
object
  • id
    number
  • totalAmount
    number
  • createdAt
    string
  • currency
    string
  • status
    string
  • paymentType
    string
  • transactions
    array

Remove a PayoutBatch

URI Parameters
id

Numeric id of the PayoutBatch to interact with.

Mark a payout batch as paid

Mark a payout that is pending as paid

URI Parameters
idpayout batch ID
Response
object
  • id
    number
  • totalAmount
    number
  • createdAt
    string
  • currency
    string
  • status
    string
  • paymentType
    string
  • transactions
    array

Authorize a payout batch

Authorize a payout batch by supplying the paypal password.

URI Parameters
idpayout batch ID

Subscriptions


Create & manage customer Subscriptions.

Subscriptions Collection

List all subscriptions

Retrieve paginated list of all subscriptions. Returns 25 subscriptions per call.

URI Parameters
page
search

Search subscriptions by partner name, customer name, plan name

Create new Subscription

Create a new Subscription.

Request
object
  • external_id
    string, required
  • provider
    string, required
  • plan_name
    string, required
  • price
    number, required
  • status

    options: [active, inactive]

    string, required
  • trial_start_at
    string
  • trial_end_at
    string
  • subscribed_at
    string, required
  • partner_id

    optional when auto_match_partner is true

    number, required
  • auto_match_partner

    when provided true, we will try to identify the match partner from any email events in last 24h from the pixel installation matching the customer email of the subscription.

    boolean, optional
  • customer_id
    string, required
  • customer_email
    string, required
  • customer_name
    string, required
  • customer_phone
    string
Response
object
  • id
    string
  • externalId
    string
  • provider
    string
  • price
    string
  • currency
    string
  • planName
    string
  • trialStartAt
    string
  • trialEndAt
    string
  • subscribedAt
    string
  • status
    string
  • partnerId
    string
  • partnerName
    string
  • groupId
    string
  • groupName
    string
  • customer
    object

Subscription

A single Subscription object with all attributes.

URI Parameters
id

Numeric id of the Subscription to interact with.

Retrieve a Subscription

Response
object
  • id
    string
  • externalId
    string
  • provider
    string
  • price
    string
  • currency
    string
  • planName
    string
  • trialStartAt
    string
  • trialEndAt
    string
  • subscribedAt
    string
  • status
    string
  • partnerId
    string
  • partnerName
    string
  • groupId
    string
  • groupName
    string
  • customer
    object

Update a Subscription

Update Subscription object

Request
object
  • plan_name
    string, required
  • price
    number, required
  • status

    options: [active, inactive]

    string, required
Response
object
  • id
    string
  • externalId
    string
  • provider
    string
  • price
    string
  • currency
    string
  • planName
    string
  • trialStartAt
    string
  • trialEndAt
    string
  • subscribedAt
    string
  • status
    string
  • partnerId
    string
  • partnerName
    string
  • groupId
    string
  • groupName
    string
  • customer
    object
Request
object
  • plan_name
    string, required
  • price
    number, required
  • status

    options: [active, inactive]

    string, required
Request
object
  • plan_name
    string, required
  • price
    number, required
  • status

    options: [active, inactive]

    string, required

Remove a Subscription

Data Structures

Partner Request
object
  • email
    string
  • first_name
    string
  • last_name
    string
  • paypal_email
    string
  • slug
    string
  • password
    string
  • password_confirmation
    string
  • internal
    boolean
  • group_id
    number
  • status
    string
  • redirect_enabled

    platform: (shopify)

    boolean
  • redirect_path

    platform: (shopify)

    string
  • referral_partner_id
    number
  • mlm_redirect_path

    platform: (shopify)

    string
  • discount_code

    platform: (shopify, bigcommerce)

    string
  • tag_matching_enabled

    platform: (shopify)

    boolean
  • matching_tag

    platform: (shopify)

    string
  • mlm_enabled
    boolean
  • shopify_id

    platform: (shopify)

    string
  • additional_discount_codes

    platform: (shopify, bigcommerce)

    array[string]
Order Request
object
  • order_number
    string, required
  • partner_id

    optional when auto_match_partner is true

    number, required
  • auto_match_partner

    when provided true, we will try to identify the match partner from any email events in last 24h from the pixel installation matching the customer email of the order.

    boolean, optional
  • external_id
    string
  • browser_ip

    platform: (shopify, bigcommerce)

    string
  • cart_token

    platform: (shopify, bigcommerce)

    string
  • checkout_token

    platform: (shopify, bigcommerce)

    string
  • subscription_id

    when provided, the order type will be a "Subscription" else it will be categorized as "Individual Sale".

    string, optional
  • total_price
    string, required
  • subtotal_price
    string
  • customer_id
    string
  • customer_email
    string
  • customer_first_name
    string
  • customer_last_name
    string
  • products
    array
Group Request
object
  • name
    string, required
  • type

    Available: Shopify: [affiliate, referral] Standalone, BigCommerce: [affiliate]

    string, required
  • slug
    string
  • cookie_days

    platform: (shopify)

    number
  • auto_approve
    boolean
  • holding_period
    number
  • auto_approve_transactions
    boolean
  • private
    boolean
  • allow_pick_discount_code

    platform: (shopify)

    boolean
  • auto_activated_mlm
    boolean
  • enable_specific_links

    platform: (shopify)

    boolean
  • show_additional_details_input
    boolean
  • display_smart_link_qr_code

    platform: (shopify)

    boolean
  • show_paypal_input
    boolean
  • auto_generate_short_links

    platform: (shopify)

    boolean
  • show_only_discount_codes

    platform: (shopify)

    boolean
  • hide_customer_details
    boolean
  • customer_multiple_orders_strategy

    Available: Shopify: [cookie, first, lifetime] Standalone, BigCommerce: [first, lifetime]

    string
  • hide_orders_list
    boolean
  • show_mlm_tree
    boolean
  • minimum_order_value
    number
  • onboarding_page_url
    string
  • allow_change_discount_code

    platform: (shopify)

    boolean
  • minimal_payable_amount
    number
  • show_partner_details_for_mlm_network
    boolean
  • enable_creating_partner_pages

    platform: (shopify)

    boolean
  • enable_partner_modal

    platform: (shopify)

    boolean
  • show_customer_email
    boolean
  • show_status_url

    platform: (shopify)

    boolean
  • show_customer_phone
    boolean
  • available_payouts
    array
  • additional_fields
    array
  • partner_reward
    object
  • customer_reward
    object
Group Response
object
  • id
    number
  • name
    string
  • slug
    string
  • cookieDays
    number
  • autoApprove
    boolean
  • partnerReward
    object
  • customerReward
    object
  • holdingPeriod
    number
  • availablePayouts
    array
  • autoApproveTransactions
    boolean
  • default
    boolean
  • defaultReferral
    boolean
  • defaultAffiliate
    boolean
  • partnersCount
    number
  • createdAt
    string
  • updatedAt
    string
  • private
    boolean
  • trackingByDiscountCodeEnabled
    boolean
  • allowPickDiscountCode
    boolean
  • autoActivatedMlm
    boolean
  • additionalFields
    array
  • enableSpecificLinks
    boolean
  • showAdditionalDetailsInput
    boolean
  • displaySmartLinkQrCode
    boolean
  • showPaypalInput
    boolean
  • autoGenerateShortLinks
    boolean
  • showOnlyDiscountCodes
    boolean
  • hideCustomerDetails
    boolean
  • customerMultipleOrdersStrategy
    boolean
  • hideOrdersList
    boolean
  • showMlmTree
    boolean
  • minimumOrderValue
    number
  • onboardingPageUrl
    string
  • allowChangeDiscountCode
    boolean
  • minimalPayableAmount
    number
  • showPartnerDetailsForMlmNetwork
    boolean
  • enableCreatingPartnerPages
    boolean
  • enablePartnerModal
    boolean
  • showCustomerEmail
    boolean
  • showCustomerPhone
    boolean
  • showStatusUrl
    boolean
  • type
    string
RewardObject
object
  • type
    string
  • value
    number
AdditionalFieldsObject
object
  • name
    string
  • required
    boolean
PayoutBatch Request
object
  • payment_type
    string, required
  • group_id
    number, optional
PayoutBatch Response
object
  • id
    number
  • totalAmount
    number
  • createdAt
    string
  • currency
    string
  • status
    string
  • paymentType
    string
  • transactions
    array
TransactionObject
object
  • id
    number
  • type
    string
  • amount
    string
  • currency
    string
  • status
    string
  • paymentStatus
    string
  • partnerId
    number
  • invoiceAmount
    number
ProductObject
object
  • name
    string
  • quantity
    number
  • price
    string
  • product_id
    string
SubscriptionCustomerObject
object
  • name
    string
  • id
    string
  • email
    string
  • phone
    string
Subscription Request
object
  • external_id
    string, required
  • provider
    string, required
  • plan_name
    string, required
  • price
    number, required
  • status

    options: [active, inactive]

    string, required
  • trial_start_at
    string
  • trial_end_at
    string
  • subscribed_at
    string, required
  • partner_id

    optional when auto_match_partner is true

    number, required
  • auto_match_partner

    when provided true, we will try to identify the match partner from any email events in last 24h from the pixel installation matching the customer email of the subscription.

    boolean, optional
  • customer_id
    string, required
  • customer_email
    string, required
  • customer_name
    string, required
  • customer_phone
    string
Subscription Update Request
object
  • plan_name
    string, required
  • price
    number, required
  • status

    options: [active, inactive]

    string, required
Subscription Response
object
  • id
    string
  • externalId
    string
  • provider
    string
  • price
    string
  • currency
    string
  • planName
    string
  • trialStartAt
    string
  • trialEndAt
    string
  • subscribedAt
    string
  • status
    string
  • partnerId
    string
  • partnerName
    string
  • groupId
    string
  • groupName
    string
  • customer
    object