Rivo MCP by usefulapi

v1.2.1
io.usefulapi/rivo Checked 2 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
limitintegerRecords per page, 1 to 250 (default 25).
points_maxnumberOnly customers with at most this many points (inclusive).
points_minnumberOnly customers with at least this many points (inclusive).
since_idstringOnly records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply.
sort_bystringSort field.
sort_directionstringSort direction.
statusstringLoyalty status filter.
vip_tierstringOnly 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}.

ParameterTypeDescription
customer *stringShopify customer ID or e-mail address of the customer.
fieldsarrayExtra 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.

ParameterTypeDescription
applied_beforestringOnly events applied before this date-time.
applied_fromstringOnly events applied on or after this date-time.
customerstringOnly events for this customer (Shopify ID or e-mail).
limitintegerRecords per page, 1 to 250 (default 25).
since_idstringOnly records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply.
sort_directionstringSort 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.

ParameterTypeDescription
applied_beforestringOnly redemptions applied before this date-time.
applied_fromstringOnly redemptions applied on or after this date-time.
codestringOnly the redemption with this discount code.
customerstringOnly redemptions by this customer (Shopify ID or e-mail).
limitintegerRecords per page, 1 to 250 (default 25).
reward_idstringOnly redemptions of this reward.
since_idstringOnly records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply.
sort_directionstringSort direction.
usedbooleantrue = 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}.

ParameterTypeDescription
redemption_id *stringRivo 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.

ParameterTypeDescription
limitintegerRecords per page, 1 to 250 (default 25).
purchase_typestringOnly rewards for this purchase type.
since_idstringOnly records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply.
sort_bystringSort field.
sort_directionstringSort direction.

rivo_get_reward Get a reward

Return one loyalty reward by id. Merchant API: GET /v1/rewards/{id}.

ParameterTypeDescription
reward_id *stringRivo 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.

ParameterTypeDescription
limitintegerRecords per page, 1 to 250 (default 25).
since_idstringOnly records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply.
sort_bystringSort field.
sort_directionstringSort 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.

ParameterTypeDescription
limitintegerRecords per page, 1 to 250 (default 25).
referred_customer_idstringOnly referrals of this referred customer (customer ID).
referrer_customer_idstringOnly referrals by this referrer (customer ID).
since_idstringOnly records with an id greater than this. Start with 0; then pass links.next_since_id from the last reply.
statusstringReferral status filter.
updated_beforestringOnly referrals updated before this date-time.
updated_fromstringOnly 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).

ParameterTypeDescription
customer_id *stringShopify customer ID.
data_sourcestringWhere the product data comes from (default db).
limitintegerRecords per page, 1 to 250 (default 25).
since_idstringOnly 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.

ParameterTypeDescription
customer *stringShopify customer ID or e-mail address of the customer.
points *integerPoints to add (positive) or remove (negative). Required for a manual event.
creditsnumberStore credits to add (positive) or remove (negative).
external_notestringNote shown to the customer.
internal_notestringNote for the merchant only (not shown to the customer).
skip_emailbooleantrue = 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}.

ParameterTypeDescription
enabled *booleantrue = customers can redeem it; false = hidden and not redeemable.
reward_id *stringRivo 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.

ParameterTypeDescription
customer_id *stringShopify customer ID.
product_id *stringProduct ID.
data_sourcestringWhere the product data comes from.
variant_idstringVariant 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}.

ParameterTypeDescription
customer_id *stringShopify customer ID.
product_id *stringProduct ID to remove.
data_sourcestringWhere the product data comes from.