Cratejoy MCP by usefulapi
v1.25.1Read Cratejoy subscriptions, customers, orders and shipments; skip or cancel subscriptions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cratejoy_get_store_metadata Get store metadata
The store-level metadata record (id, store_id, created_at, updated_at, data: free-form JSON attached to the store). GET /v1/metadata/.
cratejoy_list_customers List customers
List customers (id, name, email, country, location, num_orders, num_subscriptions, subscription_status, total_revenue). Filter by email or name, or with `filters` (e.g. { 'addresses.city': 'Austin' }). Relationships: addresses, logs, carts, notes, orders, shipments, subscriptions. GET /v1/customers/.
| Parameter | Type | Description |
|---|---|---|
email | string | Exact customer email. |
filters | object | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status col… |
limit | integer | Results per page, 1-100 (default 25). |
name | string | Customer name contains this text (case-insensitive). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_get_customer Get customer
One customer by id, optionally with relationships (addresses, subscriptions, orders, shipments, notes...). GET /v1/customers/{customer_id}/.
| Parameter | Type | Description |
|---|---|---|
customer_id * | integer | Cratejoy customer id. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_list_subscriptions List subscriptions
List subscriptions (id, status, autorenew, billing_name, start_date, end_date, skipped_date, is_test, product_billing_id). Filter by status and end-date range, or with `filters` (e.g. { 'customer.email__like': '%@example.com' }). Relationships: customer, billing, term, product, address, orders, shipments, logs. GET /v1/subscriptions/.
| Parameter | Type | Description |
|---|---|---|
ends_after | string | Only subscriptions whose end_date is on or after this date/date-time. |
ends_before | string | Only subscriptions whose end_date is on or before this date/date-time. |
filters | object | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status col… |
limit | integer | Results per page, 1-100 (default 10). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
status | string | Subscription status (unpaid, suspended and others are deprecated by Cratejoy). |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_get_subscription Get subscription
One subscription by id, optionally with relationships (customer, billing, term, product, address, orders, shipments, logs). GET /v1/subscriptions/{sub_id}/.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | Cratejoy subscription id. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_list_subscription_coupons List subscription coupons
Coupons applied to a subscription's next renewal (coupon_id, code_used, enabled, num_renewals). GET /v1/subscriptions/{sub_id}/coupons/.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | integer | Cratejoy subscription id. |
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
cratejoy_list_orders List orders
List orders (id, customer_id, placed_at, status, financial_status, fulfillment_status, is_renewal, is_gift, sub_total, total, total_shipping, total_tax). Amounts are in cents. Filter by payment status and placed-at range, or with `filters`. Relationships: customer, products, coupons, bill_address, ship_address, fulfillments, transactions, subscriptions. GET /v1/orders/.
| Parameter | Type | Description |
|---|---|---|
filters | object | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status col… |
financial_status | string | Payment status of the order. |
limit | integer | Results per page, 1-100 (default 10). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
placed_after | string | Only orders placed on or after this date/date-time. |
placed_before | string | Only orders placed on or before this date/date-time. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_get_order Get order
One order by id, optionally with relationships (customer, products, coupons, addresses, fulfillments, transactions). GET /v1/orders/{order_id}/.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Cratejoy order id. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_list_shipments List shipments
List shipments (id, customer_id, status, created_at, target_at, shipped_at, tracking_number, is_gift). Filter by status and creation range, or with `filters`. Relationships: customer, fulfillments, labels, ship_address, subscriptions. GET /v1/shipments/.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Only shipments created on or after this date/date-time. |
created_before | string | Only shipments created on or before this date/date-time. |
filters | object | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status col… |
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
status | string | Shipment status. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_get_shipment Get shipment
One shipment by id, optionally with relationships (customer, fulfillments, labels, ship_address, subscriptions). GET /v1/shipments/{ship_id}/.
| Parameter | Type | Description |
|---|---|---|
shipment_id * | integer | Cratejoy shipment id. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_list_products List products
List products (id, name, sku, slug, description, visible, listed, giftable, ship_option, ship_weight, has_subscribers). Filter by type or with `filters` (e.g. { 'visible': true }). Relationships: billing, instances, variants, subscription_types. GET /v1/products/.
| Parameter | Type | Description |
|---|---|---|
filters | object | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status col… |
limit | integer | Results per page, 1-100 (default 10). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
product_type | string | Product type. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_get_product Get product
One product by id, optionally with relationships. GET /v1/products/{prod_id}/.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | Cratejoy product id. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_list_transactions List transactions
List payment transactions (id, created_at, result: authorized/captured/failed/refunded, total in cents, is_test, order). Filter by result and creation range, or with `filters`. GET /v1/transactions/.
| Parameter | Type | Description |
|---|---|---|
created_after | string | Only transactions created on or after this date/date-time. |
created_before | string | Only transactions created on or before this date/date-time. |
filters | object | Extra Cratejoy filters as { '[relation.]property[__comparison]': value }. Comparisons: eq (default), ne, lt, le, gt, ge, like, ilike (% is the wildcard), in, nin (comma-separated), is_null. Status col… |
limit | integer | Results per page, 1-100 (default 25). |
page | integer | Page number, counting from 0 (default 0). Pass the previous reply's next_page. |
result | string | Transaction result. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_get_transaction Get transaction
One payment transaction by id. GET /v1/transactions/{trans_id}/.
| Parameter | Type | Description |
|---|---|---|
transaction_id * | integer | Cratejoy transaction id. |
with | string | Relationships to embed: comma-separated names (e.g. 'customer,orders'), 'all', or an empty string for none. Omit it for the vendor default. |
cratejoy_skip_subscription_renewal Skip or unskip next renewal
WRITE: skip a subscriber's next renewal (action 'skip') or undo the skip (action 'unskip'). Requires confirm=true. Repeating the same action changes nothing more. This changes a merchant customer's subscription in Cratejoy; it is not this server's own billing. PUT /v1/subscriptions/{sub_id}/skip/.
| Parameter | Type | Description |
|---|---|---|
action * | string | 'skip' skips the next renewal; 'unskip' restores it. |
confirm * | boolean | Must be true: confirms the customer's renewal schedule should change. |
subscription_id * | integer | Cratejoy subscription id. |
cratejoy_cancel_customer_subscription Cancel a customer's subscription
WRITE: cancel a subscriber's subscription in Cratejoy (the customer stops receiving boxes and renewals). This cancels the merchant's customer subscription, NOT this server's Pro plan (use the *_cancel_subscription tool for that). Requires confirm=true. A cancelled subscription can be restored with cratejoy_reactivate_subscription. PUT /v1/subscriptions/{sub_id}/cancel/.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: confirms the customer's subscription should be cancelled. |
subscription_id * | integer | Cratejoy subscription id. |
log_note | string | Optional note recorded in the subscription's log. |
cratejoy_reactivate_subscription Reactivate a customer's subscription
WRITE: reactivate a cancelled subscription so it renews and charges the customer again. Requires confirm=true. Reactivating an active subscription changes nothing more. PUT /v1/subscriptions/{sub_id}/reactivate/.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: confirms the subscription should renew (and be charged) again. |
subscription_id * | integer | Cratejoy subscription id. |
log_note | string | Optional note recorded in the subscription's log. |
cratejoy_retry_subscription_renewal Retry a failed renewal
WRITE: retry the renewal of a PAST-DUE subscription whose renewal failed within the last 30 days. This charges the customer's saved payment method. Requires confirm=true. PUT /v1/subscriptions/{sub_id}/renew/.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true: confirms the customer's payment method should be charged. |
subscription_id * | integer | Cratejoy subscription id (status past_due). |
log_note | string | Optional note recorded in the subscription's log. |