Interface: CustomerPortalSettings
Properties
affinity_bundle_contents_expanded_by_default
affinity_bundle_contents_expanded_by_default:
BooleanNumbers
Whether Affinity bundle contents are expanded by default or not.
affinity_manage_upcoming_products_enabled
affinity_manage_upcoming_products_enabled:
BooleanNumbers
Whether Affinity manage upcoming products is enabled or not.
affinity_plans
affinity_plans:
boolean
Whether Affinity plans are enabled or not.
affinity_poll_charge_uncommited_changes
affinity_poll_charge_uncommited_changes:
boolean
Whether Affinity polls for uncommitted charge changes or not.
affinity_sidebar_position
affinity_sidebar_position:
"right"|"left"
The position of the Affinity sidebar.
ai_chat_enabled
ai_chat_enabled:
boolean
Whether AI chat is enabled or not.
ai_chat_preview_enabled
ai_chat_preview_enabled:
boolean
Whether AI chat preview is enabled or not.
always_send_plan_id_for_updates
always_send_plan_id_for_updates:
boolean
Whether to always send plan ID for updates or not.
available_products
available_products:
"all"|"specific_recharge_collections"|"specific_plan_types"|"smart_select"
The filter of products that are available to create new subscriptions.
backup_payment_methods_settings
backup_payment_methods_settings:
object
Settings related to backup payment methods
backup_payment_methods_enabled
backup_payment_methods_enabled:
boolean
default_customer_opt_in_enabled
default_customer_opt_in_enabled:
boolean
can_use_affinity_extensions
can_use_affinity_extensions:
boolean
Whether the store can use Affinity extensions or not.
can_use_plans
can_use_plans:
boolean
Whether the store is using Plans and Products or not.
cancelation_type
cancelation_type:
"Basic"|"Strategy"
The type of cancellation flow used by the store.
collection_ids
collection_ids:
number[]
The Recharge collection IDs in case the products available for purchase are limited to specific Recharge collections.
collection_product_sorting_enabled
collection_product_sorting_enabled:
boolean
Whether the store is using collections with custom sorting or not.
custom_code
custom_code:
object
Custom code snippets for the customer portal.
approved_domains_for_csp
approved_domains_for_csp:
string
Approved domains for Content Security Policy.
backend_portal
backend_portal:
string
Custom code for the backend portal.
credit_cart_update_page
credit_cart_update_page:
string
Custom code for the credit cart update page.
footer
footer:
string
Custom code for the footer section.
header
header:
string
Custom code for the header section.
header_logo_url
header_logo_url:
string
URL for the custom header logo.
customer_payment_fallback_enabled
customer_payment_fallback_enabled:
boolean
Whether customer payment fallback is enabled or not.
disable_referrals_mobile_banner
disable_referrals_mobile_banner:
boolean
Whether referrals mobile banner is disabled or not.
discount_input
discount_input:
boolean
Allow the customer to add discount codes to their subscription.
edit_shipping_address
edit_shipping_address:
BooleanNumbers
Allow the customer to modify the shipping address for an existing subscription.
enable_affinity_use_storefront_api
enable_affinity_use_storefront_api:
boolean
Whether Affinity uses Storefront API or not.
enable_customer_account_full_page_extension
enable_customer_account_full_page_extension:
boolean
Whether the store is using the customer portal extension or not.
enable_enhanced_slots
enable_enhanced_slots:
boolean
Whether enhanced slots are enabled or not.
enable_market_pricing
enable_market_pricing:
boolean
Whether market pricing is enabled or not.
enable_membership_programs
enable_membership_programs:
boolean
Whether membership programs are enabled or not.
enable_paid_memberships_ui
enable_paid_memberships_ui:
boolean
Whether paid memberships UI is enabled or not.
enable_quantity_upsell_ui_affinity
enable_quantity_upsell_ui_affinity:
boolean
Whether quantity upsell UI is enabled in Affinity or not.
enable_scim_migrate_payment_methods
enable_scim_migrate_payment_methods:
boolean
Whether the store is using SCIm migrate payments.
enable_shopify_markets
enable_shopify_markets:
boolean
Whether the store is using Shopify Markets or not.
enable_swap_always_pass_plan
enable_swap_always_pass_plan:
boolean
Whether to always pass plan when swapping or not.
enable_unity_bundles
enable_unity_bundles:
boolean
Whether the store is using Unity integrated bundles or not.
failed_payment_recovery_enabled
failed_payment_recovery_enabled:
boolean
Whether failed payment recovery is enabled or not.
flows_allow_hidden_products_to_be_shown
flows_allow_hidden_products_to_be_shown:
boolean
Whether flows allow hidden products to be shown or not.
flows_enabled
flows_enabled:
boolean
Whether flows are enabled or not.
force_customer_portal_accounts
force_customer_portal_accounts:
BooleanNumbers
Whether customer portal accounts are forced or not.
fpr_affinity_show_errors_payments_page
fpr_affinity_show_errors_payments_page:
boolean
Whether Affinity shows errors on the payments page or not.
gift_skipped_shipment_enabled
gift_skipped_shipment_enabled:
boolean
Whether customers can skip gift shipment or not.
gifting
gifting:
object
Settings related to gifting.
cancel_sub_on_gift_end
cancel_sub_on_gift_end:
boolean
Cancels the subscriptions when gifting finishes.
enabled
enabled:
boolean
Whether gifting is enabled or not.
fulfill_orders_on_redemption
fulfill_orders_on_redemption:
boolean
Fulfill the order when the gift is redeemed.
redemption_ui_platform
redemption_ui_platform:
string
The platform where the gift redemption is happening.
select_onetime
select_onetime:
number
Whether the customer can select onetime products when gifting or not.