Smile.io MCP by usefulapi
v1.41.1Look up loyalty customers, points history, rewards and VIP tiers, and add points or activities.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
smile_list_customers List customers
List loyalty-program customers, newest first, with their points balance, state and VIP tier id. Look a customer up by exact email, or filter by state or last-updated time. Cursor-paginated (metadata.next_cursor). Smile: GET /customers.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous response's metadata.next_cursor (or previous_cursor). Omit for the first page. |
email | string | Exact email address to look up. |
include_vip_status | boolean | Include each customer's vip_status object (include=vip_status). |
limit | integer | Maximum number of results, 1-250 (Smile default 50). |
state | string | candidate = not yet joined, member = in the program, disabled = excluded. |
updated_at_min | string | Only records updated at/after this ISO 8601 date-time, e.g. 2026-01-01T00:00:00Z. |
smile_get_customer Get a customer
Fetch one customer by Smile customer ID: name, email, state, points_balance, referral_url, vip_tier_id, and optionally their VIP status with current and next tier. Smile: GET /customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | Smile customer ID. |
include | array | Related objects to include, e.g. ["vip_status.vip_tier", "vip_status.next_vip_tier"]. |
smile_list_points_transactions List points transactions
List points transactions (every earn, spend and manual adjustment), newest first — e.g. a customer's full points history. Each has points_change (+/-), a customer-visible description and a merchant internal_note. Cursor-paginated. Smile: GET /points_transactions.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous response's metadata.next_cursor (or previous_cursor). Omit for the first page. |
customer_id | integer | Only this customer's transactions. |
limit | integer | Maximum number of results, 1-250 (Smile default 50). |
updated_at_min | string | Only records updated at/after this ISO 8601 date-time, e.g. 2026-01-01T00:00:00Z. |
smile_get_points_transaction Get a points transaction
Fetch one points transaction by ID. Smile: GET /points_transactions/{id}.
| Parameter | Type | Description |
|---|---|---|
points_transaction_id * | integer | Smile points transaction ID. |
smile_list_points_products List points products (ways to redeem)
List points products — the rewards customers can buy with points. 'fixed' products cost points_price; 'variable' products trade variable_points_step points for variable_points_step_reward_value, between variable_points_min and variable_points_max. Each embeds its reward. Page-numbered (page, page_size); a page shorter than page_size is the last. Smile: GET /points_products.
| Parameter | Type | Description |
|---|---|---|
exchange_type | string | Only fixed- or variable-price products. |
page | integer | Page number, starting at 1. |
page_size | integer | Results per page, 1-250 (default 50). |
smile_get_points_product Get a points product
Fetch one points product (a way to redeem points) by ID, including its reward. Smile: GET /points_products/{id}.
| Parameter | Type | Description |
|---|---|---|
points_product_id * | integer | Smile points product ID. |
smile_list_reward_fulfillments List reward fulfillments
List rewards that have been issued to customers — usually discount codes — with code, fulfillment_status (pending/issued/cancelled/failed), usage_status (used/unused/untracked), used_at and expires_at. Use customer_id to answer 'what codes does this customer have?'. Cursor-paginated. Smile: GET /reward_fulfillments.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous response's metadata.next_cursor (or previous_cursor). Omit for the first page. |
customer_id | integer | Only this customer's rewards. |
fulfillment_status | string | |
limit | integer | Maximum number of results, 1-250 (Smile default 50). |
updated_at_min | string | Only records updated at/after this ISO 8601 date-time, e.g. 2026-01-01T00:00:00Z. |
usage_status | string |
smile_list_earning_rules List earning rules (ways to earn)
List the enabled earning rules — the ways customers earn points or rewards (placing an order, signing up, birthdays, custom activities), with reward, reward_value, earning_limit and any VIP-tier restriction. Cursor-paginated. Smile: GET /earning_rules.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Cursor from the previous response's metadata.next_cursor (or previous_cursor). Omit for the first page. |
limit | integer | Maximum number of results, 1-250 (Smile default 50). |
smile_list_vip_tiers List VIP tiers
List the VIP program's tiers, sorted by milestone (the threshold to reach each tier), optionally with each tier's perks and entry rewards. Smile: GET /vip_tiers.
| Parameter | Type | Description |
|---|---|---|
include | array | Nested objects to include, e.g. ["perks", "entry_rewards"]. |
smile_get_points_settings Get points settings
Fetch the points program's configuration, e.g. the points currency label ("Points", "Stars"). Smile: GET /points_settings.
smile_get_referral_settings Get referral settings
Fetch the referral program's configuration: whether it is active, and the sender (advocate) and receiver (friend) rewards. Smile: GET /referral_settings.
smile_create_points_transaction Adjust a customer's points balance
WRITE: add or deduct points from a customer's balance (a manual adjustment, e.g. a goodwill credit or a correction). points_change > 0 adds, < 0 deducts; Smile rejects a deduction that would make the balance negative. Undo by creating an opposite adjustment. `description` is shown to the customer; `internal_note` is merchant-only. To reward a customer for completing an action, prefer smile_create_activity. Requires the points_transaction:write scope. Smile: POST /points_transactions.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | Smile customer ID. |
points_change * | integer | Points to add (positive) or deduct (negative). |
description | string | Customer-visible reason, e.g. "Points correction". |
internal_note | string | Merchant-only note, never shown to the customer. |
smile_create_activity Record a customer activity
WRITE: record that a customer performed an action (identified by an activity type token configured in Smile Admin, e.g. a custom 'newsletter signup' activity). Smile then asynchronously applies the store's earning rules and may issue points or rewards. Identify the customer by customer_id OR customer_email (exactly one). Pass distinct_id (e.g. an order number) to make it idempotent — a second activity with the same token + distinct_id is rejected. Custom activity types need Smile's Plus/Enterprise plan. Requires the activity:write scope. Smile: POST /activities.
| Parameter | Type | Description |
|---|---|---|
token * | string | Activity type token, e.g. activity_f57a9b5a8d0ac5. |
created_on_origin_at | string | ISO 8601 date-time the action actually happened, if earlier than now. |
customer_email | string | Customer email (or give customer_id). |
customer_id | integer | Smile customer ID (or give customer_email). |
distinct_id | string | Unique id for this activity in your system; prevents duplicates for the same token. |
smile_purchase_points_product Redeem a customer's points for a reward
WRITE — SPENDS THE CUSTOMER'S POINTS: redeem points on the customer's behalf by purchasing a points product; Smile deducts the points and issues the reward (the response's points_purchase.reward_fulfillment usually holds a discount code). Only do this when the customer asked for it. For a 'variable' product pass points_to_spend; leave it out for 'fixed' products. There is no API to cancel a redemption — a mistaken one can only be compensated with smile_create_points_transaction. Requires the points_purchase:write scope. Smile: POST /points_products/{id}/purchase.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | Smile customer ID. |
points_product_id * | integer | Smile points product ID. |
points_to_spend | integer | Points to spend — variable-price products only. |