Shoprocket MCP by usefulapi
v1.12.1MCP server for Shoprocket — orders, products, customers, store stats and discount codes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
shoprocket_get_store Get store
The Shoprocket store this key belongs to: name, address, environment (test or live), paused state, currencies and languages, setup status. The store's API keys are never returned. GET /v1/store/details.
shoprocket_get_store_stats Get store stats
Sales statistics for a date range, compared with the previous period: orders, revenue, visitors, abandoned carts, conversion rate, average order value, a daily sales graph, regions, sources and popular products. GET /v1/store/stats.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd. |
shoprocket_list_orders List orders
List or search orders with totals, customer, addresses, payment and fulfillment status, discounts, line items and shipping. Filter by payment status, fulfillment status, payment method, customer ids, amount range, sale/discount use or free text. GET /v1/orders.
| Parameter | Type | Description |
|---|---|---|
customer | string | Comma-separated customer ids (cus_...): only their orders. |
fulfillment_status | string | Fulfillment status of the order. |
has_automatic_discount | boolean | true: only orders where an automatic discount applied. |
has_discount_code | boolean | true: only orders where a discount code applied. |
has_sale | boolean | true: only orders where a sale promotion applied. |
limit | integer | Results per page, 1-100 (default 25). |
order_amount_from | number | Only orders of at least this amount. |
order_amount_to | number | Only orders of at most this amount. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
payment_method | string | Only orders paid with this method. |
search | string | Free-text search: order number, total amount, customer email or name, dates, statuses. |
status | string | Payment status of the order. |
shoprocket_get_order Get order
One order by id (ord_..., not the #number shown in the dashboard): totals, customer, billing and shipping address, payment and fulfillment status, discounts, line items and tracking. GET /v1/orders/{id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Shoprocket order id, e.g. ord_646e1f65ebcad629610675. Find it with shoprocket_list_orders. |
shoprocket_update_order_status Update order status
WRITE: change an order's payment status and/or fulfillment status (for example mark it shipped or paid). Shoprocket needs both values, so a value you leave out is read from the order first and kept. With send_email true Shoprocket EMAILS THE CUSTOMER an order update (optionally with custom_text); the default is no email. Cancelling can return the items to stock (release_stock). POST /v1/orders/{id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Shoprocket order id (ord_...). |
custom_text | string | Extra text for the customer email. Only used when send_email is true. |
fulfillment_status | string | New fulfillment status. Omit to keep the current one. |
payment_status | string | New payment status. Omit to keep the current one. |
release_stock | boolean | true = put the order's items back into stock. Only applies when fulfillment_status is cancelled. |
send_email | boolean | true = email the customer about this update. Default false: no email is sent. |
shoprocket_list_products List products
List products with price, SKU, stock quantity, categories, images, variants (skus) and status. Search by text, filter by category slugs, product ids or slugs, and sort. GET /v1/products.
| Parameter | Type | Description |
|---|---|---|
ids | string | Comma-separated product ids (prod_...). |
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
product_category | string | Comma-separated category slugs. |
search | string | Search text. |
slugs | string | Comma-separated product slugs. |
sort | string | product_order = store order (default), created = newest first. |
shoprocket_get_product Get product
One product by id (prod_...): description, price, SKU, stock, dimensions, categories, media, variants (skus), add-ons. GET /v1/products/{id}.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | Shoprocket product id, e.g. prod_646e0498ec090321649753. |
shoprocket_create_product Create product
WRITE: create a product in the store (visible to shoppers unless status is 0). A name and at least one category (name or slug) are required. Does not create duplicates by itself: calling twice creates two products. Variants and add-ons are not set by this tool. PUT /v1/products.
| Parameter | Type | Description |
|---|---|---|
categories * | string | Comma-separated categories the product belongs to (as Shoprocket's API takes them; see shoprocket_list_categories). |
name * | string | Product name. |
description | string | Product description (HTML allowed). |
max_order_quantity | integer | Maximum quantity per order. |
min_order_quantity | integer | Minimum quantity per order. |
price | integer | Price as an integer in the smallest currency unit (cents: 1999 = 19.99), as Shoprocket's API takes it. Check the reply. |
quantity | integer | Stock quantity. |
sku | string | SKU. |
status | 1 = active (Shoprocket returns status "1" for live products), 0 = inactive. | |
summary | string | Short summary. |
weight | number | Weight, in the store's weight unit. |
shoprocket_update_product Update product
WRITE: change a product's fields (price, stock quantity, description, status...). Shoprocket requires the name on every update, so pass the current name to keep it. Only the fields you pass are sent. POST /v1/products/{id}.
| Parameter | Type | Description |
|---|---|---|
name * | string | Product name (required by Shoprocket on every update; pass the current one to keep it). |
product_id * | string | Shoprocket product id (prod_...). |
categories | string | Comma-separated categories for the product, in the same form as shoprocket_create_product. Shoprocket lists it as required but leaves it out of its update example: pass it if Shoprocket answers that c… |
description | string | Product description (HTML allowed). |
max_order_quantity | integer | Maximum quantity per order. |
min_order_quantity | integer | Minimum quantity per order. |
price | integer | Price as an integer in the smallest currency unit (cents: 1999 = 19.99), as Shoprocket's API takes it. Check the reply. |
quantity | integer | Stock quantity. |
sku | string | SKU. |
status | 1 = active (Shoprocket returns status "1" for live products), 0 = inactive. | |
summary | string | Short summary. |
weight | number | Weight, in the store's weight unit. |
shoprocket_list_categories List categories
List product categories with id, name and slug. GET /v1/categories.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_get_category Get category
One category by id (cat_...); with expand_products also the products in it. GET /v1/categories/{id}.
| Parameter | Type | Description |
|---|---|---|
category_id * | string | Shoprocket category id, e.g. cat_646de66683dc4922710922. |
expand_products | boolean | true = include the category's products. |
shoprocket_create_category Create category
WRITE: create a product category (optionally assigning existing products). Calling twice with the same name may create a duplicate or be refused by Shoprocket. PUT /v1/categories.
| Parameter | Type | Description |
|---|---|---|
name * | string | Category name. |
products | string | Comma-separated product ids (prod_...) to put in the category. |
slug | string | Unique slug. Default: the name, lowercase and hyphenated. |
shoprocket_update_category Update category
WRITE: rename a category, change its slug, or set the products in it. Only the fields you pass are sent. POST /v1/categories/{id}.
| Parameter | Type | Description |
|---|---|---|
category_id * | string | Shoprocket category id (cat_...). |
name | string | New name. |
products | string | Comma-separated product ids (prod_...) assigned to the category. |
slug | string | New slug. |
shoprocket_list_customers List customers
List customers with name, email, phone, company, tax number, country and marketing opt-in. GET /v1/customers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_get_customer Get customer
One customer by id (cus_...). GET /v1/customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Shoprocket customer id, e.g. cus_646dec8c0e3a4390458285. |
shoprocket_create_customer Create customer
WRITE: add a customer record (it does not email the customer). marketing_subscribed records newsletter consent: set it to true only if the customer actually opted in. PUT /v1/customers.
| Parameter | Type | Description |
|---|---|---|
customer_email * | string | Customer email address. |
company_name | string | Company name. |
customer_contact | string | Phone number. |
customer_name | string | Full name. |
marketing_subscribed | boolean | true only if the customer opted in to the newsletter. |
tax_number | string | Tax number. |
shoprocket_update_customer Update customer
WRITE: change a customer's email, name, phone, company, tax number or newsletter consent. Only the fields you pass are sent. Set marketing_subscribed true only if the customer actually opted in. POST /v1/customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Shoprocket customer id (cus_...). |
company_name | string | Company name. |
contact | string | Phone number. |
email | string | New email address. |
marketing_subscribed | boolean | true only if the customer opted in to the newsletter. |
name | string | Full name. |
tax_number | string | Tax number. |
shoprocket_list_discount_codes List discount codes
List discount codes with type, value, what they apply to, usage limit and count, minimum order, dates and status. GET /v1/discount-codes.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_get_discount_code Get discount code
One discount code by id (ofr_...). GET /v1/discount-codes/{id}.
| Parameter | Type | Description |
|---|---|---|
discount_code_id * | string | Shoprocket discount code id, e.g. ofr_646dfea0b2880691674525. |
shoprocket_create_discount_code Create discount code
WRITE: create a live discount code that shoppers can use at checkout and that reduces the store's revenue. Type fixed or percentage needs coupon_value; free_shipping does not. Use usage_limit and dates to bound it. Calling twice creates two codes. PUT /v1/discount-codes.
| Parameter | Type | Description |
|---|---|---|
coupon_applies_to * | string | What it applies to. free_shipping allows only all_orders and all_orders_over. |
coupon_type * | string | fixed = amount off, percentage = percent off, free_shipping. |
description * | string | What the code is for (shown in the dashboard). |
coupon_applies_to_value | string | Required for multiple_products (comma-separated product ids) and categories (comma-separated category slugs). |
coupon_code | string | The code shoppers type. Default: Shoprocket generates a random one. |
coupon_value | integer | Required for fixed and percentage. Shoprocket documents 'a positive integer in cents': for fixed 500 = 5.00; for percentage send the whole percent (10 = 10%) and check the reply. |
expire_date | string | Last valid day, yyyy-mm-dd. Required together with start_date. |
limit_per_user | 1 = one use per customer. | |
minimum_order_value | integer | Minimum order value in cents (as Shoprocket takes it); used with all_orders_over. |
start_date | string | First valid day, yyyy-mm-dd. Required together with expire_date. |
usage_limit | integer | Maximum number of uses in total. |
shoprocket_list_automatic_discounts List automatic discounts
List automatic discounts (applied at checkout without a code) with type, value, conditions, dates and status. GET /v1/automatic-discounts.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_list_sales List sale promotions
List sale promotions (price reductions on products) with type, value, what they apply to, dates and status. GET /v1/sale-promotions.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_list_shipping_methods List shipping methods
List the store's shipping methods and rates. GET /v1/shippings.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_list_taxes List taxes
List the store's tax rules. GET /v1/taxes.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_list_zones List shipping zones
List the store's shipping zones (the regions it ships to). GET /v1/zones.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
shoprocket_list_payment_methods List payment methods
List the store's payment gateways (Stripe, PayPal, manual...) and whether they are enabled. Gateway credentials are never returned. GET /v1/payment-methods.