page_title | subcategory | description |
---|---|---|
epilot-product_coupon Data Source - terraform-provider-epilot-product |
Coupon DataSource |
Coupon DataSource
data "epilot-product_coupon" "my_coupon" {
hydrate = true
strict = false
}
hydrate
(Boolean) Hydrates entities in relations when passed truestrict
(Boolean) When passed true, the response will contain only fields that match the schema, with non-matching fields included in__additional
acl
(Attributes) Access control list (ACL) for an entity. Defines sharing access to external orgs or users. (see below for nested schema)active
(Boolean)additional
(Map of String) Additional fields that are not part of the schemacashback_period
(String) The cashback period, for now it's limited to either 0 months or 12 monthscategory
(String)created_at
(String)description
(String)files
(Attributes) (see below for nested schema)fixed_value
(Number) Use if type is set to fixed. The fixed amount in cents to be discounted, represented as a whole integer.fixed_value_currency
(String) Use if type is set to fixed. Three-letter ISO currency code, in lowercase.fixed_value_decimal
(String) Use if type is set to fixed. The unit amount in cents to be discounted, represented as a decimal string with at most 12 decimal places.id
(String) The ID of this resource.manifest
(List of String) Manifest ID used to create/update the entityname
(String)org
(String) Organization Id the entity belongs toowners
(Attributes List) (see below for nested schema)percentage_value
(String) Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.prices
(Attributes) (see below for nested schema)promo_code_usage
(String) Map of ids of promo codes with their usage count. Parsed as JSON.promo_codes
(Attributes List) (see below for nested schema)requires_promo_code
(Boolean) Whether the coupon requires a promo code to be appliedschema
(String)tags
(List of String)title
(String)type
(String)updated_at
(String)
Read-Only:
delete
(List of String)edit
(List of String)view
(List of String)
Read-Only:
dollar_relation
(Attributes List) (see below for nested schema)
Read-Only:
entity_id
(String)tags
(List of String)
Read-Only:
org_id
(String)user_id
(String)
Read-Only:
dollar_relation
(Attributes List) (see below for nested schema)
Read-Only:
entity_id
(String)tags
(List of String)
Read-Only:
code
(String) The code of the promo codehas_usage_limit
(Boolean) Whether the promo code has a usage limitid
(String) The id of the promo codeusage_limit
(Number) The usage limit of the promo code