Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.89 KB

File metadata and controls

45 lines (36 loc) · 2.89 KB

Effect

Properties

Name Type Description Notes
experiment_id int The ID of the experiment that campaign belongs to. [optional]
campaign_id int The ID of the campaign that triggered this effect.
ruleset_id int The ID of the ruleset that was active in the campaign when this effect was triggered.
rule_index int The position of the rule that triggered this effect within the ruleset.
rule_name str The name of the rule that triggered this effect.
effect_type str The type of effect that was triggered. See API effects.
triggered_by_coupon int The ID of the coupon that was being evaluated when this effect was triggered. [optional]
triggered_for_catalog_item int The ID of the catalog item that was being evaluated when this effect was triggered. [optional]
condition_index int The index of the condition that was triggered. [optional]
evaluation_group_id int The ID of the evaluation group. For more information, see Managing campaign evaluation. [optional]
evaluation_group_mode str The evaluation mode of the evaluation group. For more information, see Managing campaign evaluation. [optional]
campaign_revision_id int The revision ID of the campaign that was used when triggering the effect. [optional]
campaign_revision_version_id int The revision version ID of the campaign that was used when triggering the effect. [optional]
selected_price_type str The selected price type for the SKU targeted by this effect. [optional]
selected_price float The value of the selected price type to apply to the SKU targeted by this effect, before any discounts are applied. [optional]
adjustment_reference_id UUID The reference identifier of the selected price adjustment for this SKU. This is only returned if the `selectedPrice` resulted from a price adjustment. [optional]
props object

Example

from talon_one.models.effect import Effect

# TODO update the JSON string below
json = "{}"
# create an instance of Effect from a JSON string
effect_instance = Effect.from_json(json)
# print the JSON string representation of the object
print(Effect.to_json())

# convert the object into a dict
effect_dict = effect_instance.to_dict()
# create an instance of Effect from a dict
effect_from_dict = Effect.from_dict(effect_dict)

[Back to Model list] [Back to API list] [Back to README]