Joy Loyalty MCP by usefulapi

v1.2.1
io.usefulapi/joy-loyalty Checked 3 days ago Published 1 day ago

Read customers, points, rewards, VIP tiers and referrals; award or deduct points in Joy Loyalty.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

joyloyalty_whoami Get shop info

Return safe information about the connected Shopify shop (name, plan, currency, timezone). A good first call. GET /rest_api/v2/whoami.

joyloyalty_get_shop_settings Get shop settings

Return the loyalty shop settings (program switches and widget options). GET /rest_api/v2/shop/settings.

joyloyalty_list_customers List customers

List loyalty customers with points, tier and order counts. Paginate with after/before. GET /rest_api/v2/customers.

ParameterTypeDescription
afterstringCursor: the id of the last item on the previous page.
beforestringCursor: the id of the first item on the current page, to go back.
created_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
created_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
hasCountbooleanInclude total counts (may slow the response).
limitintegerPage size (endpoint default 10 or 20, max 1000).
orderstringSort order, for example createdAt_desc, createdAt_asc, updatedAt_desc.
updated_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
updated_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.

joyloyalty_get_customer Get customer

Get one loyalty customer by Joy customer id: points, tier and activity. GET /rest_api/v2/customers/{customerId}.

ParameterTypeDescription
customerId *stringJoy customer id.

joyloyalty_get_customer_by_shopify_id Get customer by Shopify id

Get one loyalty customer by their Shopify customer id. GET /rest_api/v2/customers/external/{shopifyCustomerId}.

ParameterTypeDescription
shopifyCustomerId *stringShopify customer id (numeric string), for example "8720295559390".

joyloyalty_get_customer_points_earned Get customer earned points

Return the points one customer has earned in total. GET /rest_api/v2/customers/{customerId}/points/earned.

ParameterTypeDescription
customerId *stringJoy customer id.

joyloyalty_list_transactions List points transactions

List points transactions (earn, spend, manual adjustments) newest first by default. Paginate with after/before. GET /rest_api/v2/transactions.

ParameterTypeDescription
afterstringCursor: the id of the last item on the previous page.
beforestringCursor: the id of the first item on the current page, to go back.
created_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
created_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
hasCountbooleanInclude total counts (may slow the response).
limitintegerPage size (endpoint default 10 or 20, max 1000).
orderstringSort order, for example createdAt_desc, createdAt_asc, updatedAt_desc.
updated_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
updated_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.

joyloyalty_get_transaction Get points transaction

Get one points transaction by id. GET /rest_api/v2/transactions/{transactionId}.

ParameterTypeDescription
transactionId *stringTransaction id.

joyloyalty_award_points Award points

WRITE: add points to a customer's balance (manual award). Changes live loyalty data and is not safe to repeat. POST /rest_api/v2/transactions/points/award.

ParameterTypeDescription
point *integerPoints to award (whole number).
shopifyCustomerId *stringShopify customer id (numeric string), for example "8720295559390".
adminNotestringInternal note for the shop team.
reasonstringReason code, for example manual_adjustment.
userNotestringNote shown to the customer.

joyloyalty_deduct_points Deduct points

WRITE: remove points from a customer's balance. Changes live loyalty data and is not safe to repeat. POST /rest_api/v2/transactions/points/deduct.

ParameterTypeDescription
point *integerPoints to deduct (whole number).
shopifyCustomerId *stringShopify customer id (numeric string), for example "8720295559390".
adminNotestringInternal note for the shop team.
reasonstringReason code, for example policy_adjustment.
userNotestringNote shown to the customer.

joyloyalty_list_earning_programs List earning programs

List earning programs (how customers earn points), with status and rules. GET /rest_api/v2/programs/earning.

ParameterTypeDescription
afterstringCursor: the id of the last item on the previous page.
beforestringCursor: the id of the first item on the current page, to go back.
created_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
created_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
hasCountbooleanInclude total counts (may slow the response).
limitintegerPage size (endpoint default 10 or 20, max 1000).
orderstringSort order, for example createdAt_desc, createdAt_asc, updatedAt_desc.
updated_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
updated_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.

joyloyalty_get_program Get program

Get one earning or redemption program by id. GET /rest_api/v2/programs/{programId}.

ParameterTypeDescription
programId *stringProgram id.

joyloyalty_list_redemption_programs List redemption programs

List redemption programs (how customers spend points on rewards). GET /rest_api/v2/programs/redemption.

ParameterTypeDescription
afterstringCursor: the id of the last item on the previous page.
beforestringCursor: the id of the first item on the current page, to go back.
created_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
created_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
hasCountbooleanInclude total counts (may slow the response).
limitintegerPage size (endpoint default 10 or 20, max 1000).
orderstringSort order, for example createdAt_desc, createdAt_asc, updatedAt_desc.
updated_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
updated_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.

joyloyalty_list_rewards List rewards

List customer rewards and their coupon codes, with status. Paginate with after/before. GET /rest_api/v2/rewards.

ParameterTypeDescription
afterstringCursor: the id of the last item on the previous page.
beforestringCursor: the id of the first item on the current page, to go back.
created_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
created_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
hasCountbooleanInclude total counts (may slow the response).
limitintegerPage size (endpoint default 10 or 20, max 1000).
orderstringSort order, for example createdAt_desc, createdAt_asc, updatedAt_desc.
updated_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
updated_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.

joyloyalty_get_reward Get reward

Get one customer reward (coupon) by id. GET /rest_api/v2/rewards/{rewardId}.

ParameterTypeDescription
rewardId *stringReward id.

joyloyalty_refund_coupon Refund coupon

WRITE: refund a redeemed reward coupon so the customer gets their points back. Changes live loyalty data. POST /rest_api/v2/rewards/coupons/refund.

ParameterTypeDescription
discountCode *stringThe coupon or discount code to refund, for example JOY-XXXX.
shopifyCustomerId *stringShopify customer id who owns the coupon.
reasonstringReason for the refund, shown in the shop's records.

joyloyalty_list_tiers List VIP tiers

List VIP tiers with point targets and member counts. GET /rest_api/v2/tiers.

ParameterTypeDescription
afterstringCursor: the id of the last item on the previous page.
beforestringCursor: the id of the first item on the current page, to go back.
created_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
created_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
hasCountbooleanInclude total counts (may slow the response).
limitintegerPage size (endpoint default 10 or 20, max 1000).
orderstringSort order, for example createdAt_desc, createdAt_asc, updatedAt_desc.
updated_at_maxstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.
updated_at_minstringISO 8601 timestamp, for example 2026-01-01T00:00:00Z.

joyloyalty_get_tier Get VIP tier

Get one VIP tier by id, with its rewards. GET /rest_api/v2/tiers/{tierId}.

ParameterTypeDescription
tierId *stringVIP tier id.

joyloyalty_get_referral_analytics Get referral analytics

Return referral program totals for the shop. GET /rest_api/v2/referrals/analytics.

joyloyalty_get_customer_referral_summary Get customer referral summary

Return one customer's referral totals (referrals made and rewards earned). GET /rest_api/v2/referrals/customers/{customerId}/summary.

ParameterTypeDescription
customerId *stringJoy customer id.