PurchaseFollowUpStoreConfigurationDto
Represents the store-level configuration for abandoned checkout settings.
commandsPurchaseFollowUpStoreConfigurationCommandDto[]RequiredThe commands you want to execute when the email is sent.
commandstringRequired
The command to execute.
idFlakeIdRequired
online_onlybooleanRequired
Indicates if the command should be executed if the player is online.
store_idFlakeIdRequired
coupon_configurationMarketingCouponConfigurationDtoRequiredRepresents the configuration settings for a coupon applied to marketing features.
customer_redeem_limitintegerRequired
Gets or sets the maximum number of times a single customer can redeem the coupon.
customer_redeem_limit_enabledbooleanRequired
Gets or sets a value indicating whether a customer-specific redeem limit is enabled.
discount_amountintegerRequired
Gets or sets the discount amount.
discount_apply_before_salesbooleanRequired
Gets or sets a value indicating whether the discount is applied before any existing sales or discounts.
discount_only_required_tags_or_productsbooleanRequired
Gets or sets a value indicating whether the discount only applies to specific tags or products.
discount_typeenumRequired
Specifies the type of discount applied by a coupon.
Possible enum values
unspecifiedNo discount type specified. This value is typically used as a default or uninitialized state.
percentA percentage-based discount (e.g., 10% off).
amountA fixed amount discount (e.g., $5 off).
durationenumRequired
Defines the duration for which a coupon remains valid.
Possible enum values
onceThe coupon can be used only once.
foreverThe coupon remains valid indefinitely (no expiration).
repeatingThe coupon is valid for a repeating period, typically specified in months.
minimum_order_valueintegerRequired
Gets or sets the minimum order value required for the discount to be applied.
required_product_idsFlakeId[]Required
Gets or sets the list of product IDs required for the discount to apply.
required_tag_idsFlakeId[]Required
Gets or sets the list of tag IDs required for the discount to apply.
usable_on_one_time_purchasesbooleanRequired
Gets or sets a value indicating whether the coupon can be used on one-time purchases.
usable_on_subscriptionsbooleanRequired
Gets or sets a value indicating whether the coupon can be used on subscription purchases.
duration_in_intervalsintegerOptional
Gets or sets the duration of the coupon in intervals, applicable only for repeating coupons.
expires_afterPeriodOptional
ISO 8601 duration format
enabledbooleanRequired
A value indicating whether the abandoned checkout feature is enabled for the store.
invalidbooleanRequired
A value indicating whether the abandoned checkout configuration for the store is invalid.
minimum_order_valueintegerRequired
The minimum order value required to trigger an abandoned checkout email.
store_idFlakeIdRequired
trigger_afterPeriodRequired
ISO 8601 duration format
updated_atstringRequired
The date and time when the configuration was last updated.
updated_byActorDtoRequired
typeenumRequired
Possible enum values
anonymoususerapi_keycustomergame_serverinternaladminplatformglobal_customer
idFlakeIdOptional
max_coupons_global_amountintegerOptional
The optional maximum coupons limit store wide beyond which an abandoned checkout email will not be sent.
max_coupons_global_periodPeriodOptional
ISO 8601 duration format
max_coupons_per_customer_amountintegerOptional
The optional maximum coupons limit per customer beyond which an abandoned checkout email will not be sent.
max_coupons_per_customer_periodPeriodOptional
ISO 8601 duration format
maximum_order_valueintegerOptional
The optional maximum order value beyond which an abandoned checkout email will not be sent.
Example
{
"commands": [
{
"command": "string",
"id": "411486491630370816",
"online_only": true,
"store_id": "411486491630370816"
}
],
"coupon_configuration": {
"customer_redeem_limit": 0,
"customer_redeem_limit_enabled": true,
"discount_amount": 0,
"discount_apply_before_sales": true,
"discount_only_required_tags_or_products": true,
"discount_type": "unspecified",
"duration": "once",
"minimum_order_value": 0,
"required_product_ids": [
"411486491630370816"
],
"required_tag_ids": [
"411486491630370816"
],
"usable_on_one_time_purchases": true,
"usable_on_subscriptions": true,
"duration_in_intervals": 0,
"expires_after": "P1Y2M3DT4H5M6S"
},
"enabled": true,
"invalid": true,
"minimum_order_value": 0,
"store_id": "411486491630370816",
"trigger_after": "P1Y2M3DT4H5M6S",
"updated_at": "2024-01-01T00:00:00Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"maximum_order_value": 0,
"max_coupons_per_customer_amount": 0,
"max_coupons_per_customer_period": "P1Y2M3DT4H5M6S",
"max_coupons_global_amount": 0,
"max_coupons_global_period": "P1Y2M3DT4H5M6S"
}