Attributes
| Field | Type | Description |
|---|---|---|
name | string | Rule display name |
description | string | null | Optional description |
action | string | The action type (e.g. place_order, follow_on_instagram, signup) |
category | string | Rule category: purchase, social, engagement, birthday, anniversary, signup, referral |
is_active | boolean | Whether the rule is currently active |
points_to_give | integer | Base points awarded when the rule is completed |
customer_facing_label | string | null | Label shown to customers (e.g. “Earn 10 points per £1 spent”) |
call_to_action_url | string | null | URL for the action (e.g. Instagram profile link) |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |