ConversionTrigger
A coupon code, email, or sku, that triggers a conversion for an affiliate.
Fields
| Field | Type | Availability | Notes |
|---|---|---|---|
id | Int! | The record's Refersion id. | |
created | String | Unix timestamp in seconds, not an ISO 8601 date. | |
updated | String | Unix timestamp in seconds, not an ISO 8601 date. | |
status | String | Only ACTIVE triggers are ever returned, so filtering on any other status yields nothing. | |
type | String | What kind of value trigger holds. | |
trigger | String | The value that fires the trigger — the coupon code, customer email, or SKU. | |
affiliate_id | Int | The affiliate the record belongs to. | |
affiliate | Affiliate | ||
shop | Shop |
Sorting
sort accepts id, created, updated, status, trigger on this type, and sorts descending.
Any other value is ignored without an error.
Referenced by
Related
- Queries — the root fields that reach this type.
- Filtering and Sorting — how arguments behave.