Rivo MCP by usefulapi
v1.2.1Read customers, points, rewards and referrals; adjust points, rewards and favorites in Rivo.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rivo_get_shop Get shop details
Return the store's details (name, domain, currency and loyalty settings). Merchant API: GET /v1/shop.
rivo_list_customers List customers
List the store's customers with their loyalty status, VIP tier and points balance. Filter by status or points range. Returns data and links.next_since_id. Merchant API: GET /v1/customers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 250 (default 25). |
points_max | number | Only customers with at most this many points (inclusive). |
points_min | number | Only customers with at least this many points (inclusive). |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
sort_by | string | Sort field. |
sort_direction | string | Sort direction. |
status | string | Loyalty status filter. |
vip_tier | string | Only customers in this VIP tier (name). |
rivo_get_customer Get a customer
Return one customer by Shopify customer ID or e-mail: loyalty status, VIP tier and points. Optional extra fields: next_vip_tier, lifetime_earnings_tally, completed_earning_rule_ids, points_breakdown. Merchant API: GET /v1/customers/{customer_identifier}.
| Parameter | Type | Description |
|---|---|---|
customer * | string | Shopify customer ID or e-mail address of the customer. |
fields | array | Extra fields to include in the reply. |
rivo_list_points_events List points events
List points events (points earned or spent, adjustments, expiries). Filter by customer and applied date. Returns data and links.next_since_id. Merchant API: GET /v1/points_events.
| Parameter | Type | Description |
|---|---|---|
applied_before | string | Only events applied before this date-time. |
applied_from | string | Only events applied on or after this date-time. |
customer | string | Only events for this customer (Shopify ID or e-mail). |
limit | integer | Records per page, 1 to 250 (default 25). |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
sort_direction | string | Sort direction. |
rivo_list_points_redemptions List points redemptions
List points redemptions (a customer spends points on a reward and gets a discount code). Filter by customer, reward or discount code. Returns data and links.next_since_id. Merchant API: GET /v1/points_redemptions.
| Parameter | Type | Description |
|---|---|---|
applied_before | string | Only redemptions applied before this date-time. |
applied_from | string | Only redemptions applied on or after this date-time. |
code | string | Only the redemption with this discount code. |
customer | string | Only redemptions by this customer (Shopify ID or e-mail). |
limit | integer | Records per page, 1 to 250 (default 25). |
reward_id | string | Only redemptions of this reward. |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
sort_direction | string | Sort direction. |
used | boolean | true = discount code used, false = not used yet. |
rivo_get_points_redemption Get a points redemption
Return one points redemption by id: customer, reward, points spent and discount code. Merchant API: GET /v1/points_redemptions/{id}.
| Parameter | Type | Description |
|---|---|---|
redemption_id * | string | Rivo id (from a list tool). |
rivo_list_rewards List rewards
List the store's loyalty rewards (points cost, value, enabled state, redemption count). Returns data and links.next_since_id. Merchant API: GET /v1/rewards.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 250 (default 25). |
purchase_type | string | Only rewards for this purchase type. |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
sort_by | string | Sort field. |
sort_direction | string | Sort direction. |
rivo_get_reward Get a reward
Return one loyalty reward by id. Merchant API: GET /v1/rewards/{id}.
| Parameter | Type | Description |
|---|---|---|
reward_id * | string | Rivo id (from a list tool). |
rivo_list_vip_tiers List VIP tiers
List the store's VIP tiers (name, threshold and perks). Merchant API: GET /v1/vip_tiers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 250 (default 25). |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
sort_by | string | Sort field. |
sort_direction | string | Sort direction. |
rivo_list_referrals List referrals
List referrals (a referrer invites a friend; the referral completes or is blocked). Filter by status, customers or date. Returns data and links.next_since_id. Merchant API: GET /v1/referrals.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Records per page, 1 to 250 (default 25). |
referred_customer_id | string | Only referrals of this referred customer (customer ID). |
referrer_customer_id | string | Only referrals by this referrer (customer ID). |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
status | string | Referral status filter. |
updated_before | string | Only referrals updated before this date-time. |
updated_from | string | Only referrals updated on or after this date-time. |
rivo_list_favorite_products List a customer's favourite products
List the products one customer saved as favourites. Merchant API: GET /v1/favorite_products (customer_id is a required query parameter).
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Shopify customer ID. |
data_source | string | Where the product data comes from (default db). |
limit | integer | Records per page, 1 to 250 (default 25). |
since_id | string | Only records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply. |
rivo_adjust_customer_points Add or remove customer points
WRITE: add or subtract points (and store credits) for one customer, as a manual points event. Positive numbers add, negative numbers subtract. The internal note is for the merchant; the external note is shown to the customer. Merchant API: POST /v1/points_events.
| Parameter | Type | Description |
|---|---|---|
customer * | string | Shopify customer ID or e-mail address of the customer. |
points * | integer | Points to add (positive) or remove (negative). Required for a manual event. |
credits | number | Store credits to add (positive) or remove (negative). |
external_note | string | Note shown to the customer. |
internal_note | string | Note for the merchant only (not shown to the customer). |
skip_email | boolean | true = do not send the points e-mail to the customer. |
rivo_set_reward_enabled Enable or disable a reward
WRITE: turn one loyalty reward on or off for customers. Other reward settings stay as they are. Merchant API: PUT /v1/rewards/{id}.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | true = customers can redeem it; false = hidden and not redeemable. |
reward_id * | string | Rivo id (from a list tool). |
rivo_add_favorite_product Add a favourite product
WRITE: save a product (optionally a variant) to one customer's favourites. Merchant API: POST /v1/favorite_products.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Shopify customer ID. |
product_id * | string | Product ID. |
data_source | string | Where the product data comes from. |
variant_id | string | Variant ID (optional). |
rivo_remove_favorite_product Remove a favourite product
WRITE: remove a product from one customer's favourites. Merchant API: DELETE /v1/favorite_products/{product_id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Shopify customer ID. |
product_id * | string | Product ID to remove. |
data_source | string | Where the product data comes from. |