ReplenishRadar

v1.3.1
io.github.ReplenishRadar/MCP Checked 1 day ago Published 11 days ago

Shopify and Amazon inventory forecasting, reorder planning and purchase orders (53 tools).

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

rr_list_suggested_purchase_orders

Get AI-suggested purchase orders based on stockout risk, demand, and supplier reliability.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 100, max 500).
statusstringFilter: suggested, approved
store_idstringOnly suggestions for this store.
vendor_idstringFilter by vendor

rr_list_purchase_orders

List purchase orders with status, amounts, and delivery info. supplier_delivery_status is the supplier email outcome: pending (being sent), emailed, partial (some recipients only), queued (will send after the recipient's quiet hours), unknown (could not confirm, check with the supplier before resending), failed, or null (never emailed).

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 50, max 200).
offsetintegerDeprecated: rows to skip. Use cursor; it stays correct while rows change.
searchstringPart of a PO number to match.
statusstringFilter: draft, sent, received, cancelled (comma-separated for multiple)
vendor_idstringFilter by vendor

rr_get_purchase_order

Get detailed info for a specific purchase order. supplier_delivery_status says whether the supplier got the PO email: pending, emailed, partial, queued, unknown (could not confirm, check with the supplier before resending), failed, or null (never emailed). The lines come in pages, oldest first in a stable order: pass next_cursor as cursor until has_more is false; the purchase order's own fields are on every page. Landed costs are allocated over all lines, so each line's landed_cost_per_unit is the whole order's figure; the cost scope that says whether those costs can be relied on is cost_scope…

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 500, max 1000).

rr_get_purchase_order_pdf

Find where to open a purchase order as a PDF. Returns the PO number and the address in ReplenishRadar that renders the PDF, not the file itself.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002.

rr_list_purchase_order_documents

List the documents attached to a purchase order, newest first.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 100, max 500).

rr_list_purchase_order_notes

Get all notes for a purchase order, most recent first.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 1000, max 1000).

rr_list_recommendations

List recommendations: the buying and transfer work ReplenishRadar has prepared that is still waiting, as supplier orders, transfers between locations, or both.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
destination_location_idstringOptional parent or child destination location filter
kindstringOptional kind filter: supplier_po, transfer, combined, no_action
limitintegerActions per page (default 100, max 500).
origin_location_idstringOptional child origin location filter
skustringOptional SKU filter
source_location_idstringOptional parent source location filter
statusstringOptional status filter, comma-separated
store_idstringOptional store ID filter

rr_get_recommendation

Get one recommendation with child item provenance, snapshots, linked execution records, and event history. The products come in pages: pass next_cursor as cursor until has_more is false; the action's own fields are on every page. The action carries its newest events, oldest first, up to 100 (fewer when they are long); events_total is how many it has and events_truncated is true when older ones were left out, which are on the action's page in the app. Long lists of SKUs or locations on the action are capped at 100 with a <name>_total beside them; the product pages are the complete list.

ParameterTypeDescription
action_id *stringRecommendation ID
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 100, max 500).

rr_list_transfer_decisions

Why products were, or were not, moved between the seller's own locations on the last transfer run. Pass a sku for one product's answer; omit it for the whole population with counts by reason. It answers why something was not transferred or restocked from another location, which an empty transfer-suggestions list does not say.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 2000, max 2000).
skustringOne product's answer. Omit for the population. There is deliberately no store filter: the transfer census is org-grain, because transfer generation resolves its locations org-wide.

rr_list_stockout_risks

Get stockout risk assessment for SKUs. Returns risk levels, days to stockout, velocity, and planned_order: the quantity the PO planner suggests ordering (use planned_order.qty, not suggested_qty). A row with planned_order null and a name_review_hold has an order waiting on the supplier name review, which is not the same as no order suggested. Only positions the planner could evaluate are listed: products without enough sales history and products excluded from planning are left out, so absence from this list, or an empty list, is not evidence that stock is healthy.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 100, max 500).
risk_levelstringFilter: critical, high, medium, low
skustringOptional SKU filter
store_idstringOptional store ID filter

rr_get_inventory_position

Get current inventory positions (on-hand, in-transit, sellable) for a SKU. sellable_qty is what each location can sell now (Amazon FBA: on_hand, Amazon's fulfillable units). available_qty is the channel's own figure, null where the channel reports none (Amazon); null means not reported, not zero. SKU is required.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
item_idstringThe product's item id. Give this or sku.
limitintegerRows per page (default 1000, max 1000).
skustringSKU to look up. Give this or item_id.

rr_get_demand_forecast

Get demand forecast for a SKU including predicted demand, seasonal factors, and the item's forecast track record: whether its forecast has historically beaten a naive same-as-last-week baseline, or whether there is too little scored history to judge. seasonal_profile on the first page gives the 12-month seasonal curve behind the forecast's seasonal_index, which level supplied it (item, family, supplier or store), how it is graded, and the coverage window with the dates the index averages over. SKU is required.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
item_idstringThe product's item id. Give this or sku.
limitintegerRows per page (default 100, max 500).
skustringSKU to forecast. Give this or item_id.
store_idstringOptional store ID filter
window_daysintegerForecast horizon in days (default 30)

rr_list_products

List inventory items with optional filters. For an exact SKU identity question, provide the exact value in search and set include_listing_identity=true to resolve Amazon seller SKUs and return source listing identifiers such as ASIN and FNSKU.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
include_listing_identitybooleanSet true only with an exact search value for a SKU identity question. Resolves an exact Amazon seller SKU even when it differs from the canonical SKU and returns listing source, ASIN, and FNSKU eviden…
limitintegerItems per page (default 100, max 500).
needs_reviewbooleantrue: only items flagged for review; false: only items not flagged.
offsetintegerDeprecated: rows to skip. Use cursor; it stays correct while rows change.
searchstringSearch by name or SKU
vendor_idstringOnly items whose primary supplier is this supplier id (from rr_list_suppliers).

rr_list_suppliers

List suppliers with performance metrics.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
include_skusbooleanAlso list each supplier's SKUs. Default false.
limitintegerRows per page (default 1000, max 1000).

rr_list_sales_history

Get sales history rows, newest first, over a time period. total is the exact number of rows in the window; count is the rows in this page. When has_more is true, pass next_cursor as cursor to get the next page. Totals and rankings come from total or rr_list_top_sellers; a partial walk of the rows says nothing about the whole window.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
daysintegerLookback days (default 30, max 90)
granularitystringday (default) returns daily rows for up to 90 days. month returns one row per calendar month for up to 36 months, for one SKU or, with no SKU, the store's totals.
limitintegerRows per page (default 1000, max 5000).
monthsintegerMonths of history when granularity is month (default 12, max 36). Net demand units; the newest month may be partial.
skustringFilter by SKU
store_idstringOnly sales from this store.

rr_list_top_sellers

Get top-selling products ranked by units sold over the whole window, one row per product however many SKU labels its sales carry. total_skus is how many products have sales rows in the window (the name is historical); truncated_to_top_n is true when that is more than the page returned (this ranking has no next page).

ParameterTypeDescription
daysintegerLookback days (default 30, max 90)
limitintegerNumber of results (default 20, max 100)
monthsintegerRank over this many calendar months instead of days (max 36), on net demand units, for a window longer than 90 days.
store_idstringOnly sales from this store.

rr_list_slow_movers

Overstock / dead-stock / slow movers: SKUs you are HOLDING (on-hand > 0) that aren't selling - capital tied up. Returns on_hand, units sold in the window, and a dead_stock flag: held with no sale in the last 12 months, whatever the window (null, with dead_stock_message saying why, while the sales history is too short to decide). dead_stock_summary is the seller's total dead-stock count across every store, whatever store_id asks for, and its value at cost when costs may be shown. Inventory-first, so never-sold dead stock is surfaced too. total is how many held SKUs there are; has_more is true w…

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
daysintegerLookback window in days (default 30, max 90)
limitintegerNumber of slow movers per page (default 20, max 500).
store_idstringOnly sales from this store.

rr_get_inventory_value

Get total inventory value (units and value across all active locations).

ParameterTypeDescription
store_idstringOnly stock at this store's locations.

rr_get_inventory_health

Store-wide inventory health summary: stockout-risk counts by level and active alert counts by type.

rr_list_lost_sales

Get estimated lost sales due to stockouts.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
daysintegerLookback days (default 30)
limitintegerRows per page (default 50, max 500).

rr_get_product_expiry_risk

Expiry risk for one product marked as expiring: at each location holding it, the recorded lots estimated to be still on hand (lot code, expiry date, and the date the lot becomes unusable), whether each is expected to sell before that date, and the units and cost at risk. These are estimates: Amazon does not report which lot it sold, so the lots on hand are inferred from arrival order (oldest first at Amazon FBA, earliest expiry first at the seller's own locations) and projected against the product's sales rate. A lot becomes unusable a set number of days before it expires: Amazon's removal win…

ParameterTypeDescription
item_idstringThe product's item id. Give this or sku; item_id wins if both are given.
skustringThe product's SKU, used when item_id is not given.

rr_list_expiring_lots

List the lots across the whole catalog that are estimated to be left unsold when they become unusable (status at_risk), or that have already reached that date with units left (past_cutoff), earliest unusable date first, at Amazon FBA and at the seller's own locations. Each row names the product, the location, the lot code, the expiry and unusable dates, the units remaining and the units at risk. These are estimates: Amazon does not report which lot it sold, so the lots on hand are inferred from arrival order and projected against each product's sales rate. An empty list does not mean nothing w…

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 100, max 500).
statusstringOnly lots with this status. Omit for both.

rr_get_sync_status

Get sync status for connected stores. Pass the sync_event_id returned by rr_trigger_sync to get that request's own receipt (sync_event) and its attempts (sync_event_attempts) alongside recent runs.

ParameterTypeDescription
connector_typestringOptional filter for the recent-runs list.
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRecent runs per page (default 10, max 100).
store_idstringOptional store UUID filter for the recent-runs list.
sync_event_idstringOptional sync-event UUID from rr_trigger_sync. Adds that request's receipt and attempt history to the response.

rr_get_store_health

Diagnose each connected store's health. Returns per-store connection status, hours since last sync, and a diagnosis enum (disconnected / error / pending_setup / sync_paused / stale / healthy), plus a summary with primary_diagnosis. It answers sync-failure, missing-inventory and 'why isn't X working' questions at their source: a disconnected store is upstream of every sync error it has.

ParameterTypeDescription
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 50, max 200).

rr_get_data_freshness

Get per-dimension freshness status (sync, positions, demand, risk, recommendations) with staleness thresholds and a primary_concern summary. It answers whether the numbers are up to date and explains a figure that looks stale.

rr_get_setup_status

Check onboarding milestones and compute the next setup step. Returns counts (connected_stores, suppliers, items), activation milestones, and a next_step enum (connect_store, wait_for_sync, add_supplier, run_first_forecast, review_first_suggested_po, done). It answers onboarding questions; next_step connect_store means no store is connected now, so the store's figures are not being refreshed and may not exist yet.

rr_get_recent_activity

Summarize the last N days of org activity (default 7, max 30). Returns counts only - alerts created/resolved, POs created/received, sync runs total/failed, and a one-word headline (sync_health_degraded / alert_storm / receiving_active / normal / quiet_week). No monetary fields. It answers 'what should I focus on today?' and 'what happened this week?' in one call.

ParameterTypeDescription
daysintegerWindow in days (1-30, default 7)

rr_list_alerts

Get active alerts (stockout warnings, sync failures, anomalies).

ParameterTypeDescription
alert_typestringAlert type filter
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
limitintegerRows per page (default 50, max 500).
offsetintegerDeprecated: rows to skip. Use cursor; it stays correct while rows change.
severitystringOnly alerts of this severity.
skustringOnly alerts for this product, under any SKU it has had.
statusstringFilter: active, acknowledged
store_idstringOnly alerts for this store.

rr_get_memory_entry

Read one saved memory entry by namespace and key. Expired entries are not returned. The namespace must have been granted to this API key by an admin.

ParameterTypeDescription
key *stringThe entry's key within the namespace, up to 200 characters.
namespace *stringA context namespace this key has been granted, for example supplier_rules.

rr_list_memory_entries

List the entries stored under a memory namespace, most recently updated first.

ParameterTypeDescription
namespace *stringNamespace to list
cursorstringnext_cursor from the previous page. Pass it with the same other inputs until has_more is false.
key_prefixstringOnly keys starting with this prefix
limitintegerRows per page (default 50, max 200).

rr_search_knowledge

Search the ReplenishRadar knowledge base for product features, best practices, and inventory management concepts: the answers the seller's live data does not hold.

ParameterTypeDescription
query *stringNatural-language search query
top_kintegerNumber of results to return (default 5, max 10)

rr_evaluate_fit

Check whether ReplenishRadar fits a seller from a few facts about their business, and get a fit verdict. Reads no store data and needs none. Answers can be sent as fields or nested under answers; pass the returned attribution_token on a follow-up call to continue.

ParameterTypeDescription
answersobjectThe same answers as one object, instead of the fields above. Any other question from the public agent-intake survey may be included.
attribution_tokenstringThe token a previous call returned, to continue the same evaluation.
autonomy_intentstringHow much the agent will do: read only, prepare drafts, or act.
channelsarrayWhere the seller sells.
primary_painstringThe inventory problem they most want solved.
sku_count_bandstringRoughly how many products they stock.
store_countintegerHow many stores they run.
tierstringWhich question set these answers complete. Default A.

rr_submit_feedback

Sends feedback the user has agreed to pass on to the ReplenishRadar product team, on the user's behalf. The report says what the user wanted and what happened, with no names, contact details, credentials, or store data beyond what the report needs. Sending the same message twice returns the first report and files no second one.

ParameterTypeDescription
message *stringWhat the user was trying to do, what happened, and what they expected.
type *stringbug: something is broken or wrong. suggestion: something the user wishes ReplenishRadar did. support: the user needs help. other: anything else.
impactstringOptional: how much this is holding the user back.
related_toolstringOptional: the ReplenishRadar tool the feedback is about, by name.
subjectstringOptional one-line summary.

rr_create_purchase_order

Create a draft purchase order for a supplier. The order is always a draft: an agent cannot create an approved or sent order. Approval is requested with rr_request_purchase_order_approval, and an order must be approved before it can be sent. Given action_id, the new order is linked to that recommendation unless it is already linked to an order that is not cancelled or dismissed. Returns the new order and its items_added count.

ParameterTypeDescription
destination_location_id *stringThe id of the location the goods will arrive at.
items *arrayRequired line items: [{sku, quantity, unit_cost}, ...]. The server validates quantities, constraints, and trusted cost fallbacks.
vendor_id *stringThe supplier's id, from rr_list_suppliers.
action_idstringOptional recommendation UUID to link to the draft PO.
expected_delivery_datestringOptional expected delivery date in YYYY-MM-DD format.
notesstringOptional free-text notes to attach to the draft PO.

rr_import_purchase_orders

Import open and historical purchase orders from a CSV export (the way in for a seller moving from another inventory tool). One row per line item, grouped by po_number; column names from common inventory tools' exports are recognized automatically. Records received quantities as a snapshot only - it NEVER moves stock. Idempotent on po_number (re-running the same file is safe). preview defaults to true: it validates and returns what would import without writing; pass preview=false to actually import. Returns per-PO counts, warnings, and errors.

ParameterTypeDescription
csv_content *stringRaw CSV text. Required columns: po_number, vendor_name, sku, quantity. One row per line item; up to 500 POs / 5000 lines.
create_missing_vendorsbooleanDefault false. When true, suppliers not yet in the org are created as name-only stubs instead of erroring those POs.
default_lead_time_daysintegerOptional. Lead time in days (0-3650) pre-filled on any supplier stub this import creates, so the imported catalog isn't left with missing-lead-time gaps. Omit to set lead times later.
default_location_idstringDestination location UUID for PO rows without a warehouse column, when the org has more than one warehouse.
import_cancelledbooleanDefault false. When true, cancelled/void POs in the file are imported under their cancelled status instead of being skipped.
previewbooleanDefault true. When true, validates and returns what would import without writing. Pass false to commit the import.

rr_update_purchase_order

Update a draft or suggested PO. Allowed fields: notes, expected_delivery_date, vendor_id. Edits are recorded in the PO's revision history. Status changes are NOT supported here - use rr_send_purchase_order or rr_cancel_purchase_order. Only draft/suggested POs are editable; approved/sent/received/cancelled POs are not.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002 (required).
expected_delivery_datestringOptional expected delivery date in YYYY-MM-DD format.
notesstringOptional replacement notes for the PO.
vendor_idstringOptional vendor UUID to reassign the PO to.

rr_add_purchase_order_note

Add a note to a purchase order: context the seller wants kept on the order record (e.g., 'supplier confirmed lead time').

ParameterTypeDescription
content *stringThe note text.
po_id *stringThe purchase order id or its PO number, for example REV-PO-002 (required).

rr_request_purchase_order_approval

Ask a manager to approve a draft/review PO. The request expires in 15 minutes and is approved in ReplenishRadar after signing in, not by a link. Use BEFORE rr_send_purchase_order - sending without approval will fail. Supersedes any prior pending request.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002 (required).
messagestringOptional context for the approver.

rr_send_purchase_order

Send an approved PO: marks it sent (status='sent', sent_at=now) and emails the supplier the PO packet at the supplier's contact on file. Will fail if status is not 'approved' - use rr_request_purchase_order_approval first. The response's delivery and supplier_delivery_status say what happened to the email, one of six values: pending (being sent), emailed, partial (some recipients only), queued (will send after the recipient's quiet hours), unknown (could not confirm, check with the supplier before resending) or failed. Calling it again on a sent PO sends nothing. To email an already-sent PO's…

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002 (required).
action_idstringOptional recommendation UUID to record the send event on.
confirm_possible_duplicatebooleanWith resend: true, send even though the supplier may already have this order (delivery emailed, partial or unknown). Only after the user has confirmed it.
resendbooleanEmail the supplier again for a PO already sent (sent, confirmed, pi_received or in_transit). Does not send the PO again.

rr_cancel_purchase_order

Cancel a PO (status='cancelled'). Cannot cancel POs already in cancelled/received/closed status.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002 (required).

rr_record_proforma_invoice

Record a supplier's proforma invoice (PI) on a purchase order: its number, date, total and payment terms. A sent or confirmed order moves to pi_received; one already at pi_received has its PI details updated; any other status is refused. Send only the fields the seller gave you.

ParameterTypeDescription
po_id *stringThe purchase order id or its PO number, for example REV-PO-002.
pi_datestringThe invoice date, ISO 8601, for example 2026-10-18.
pi_numberstringThe proforma invoice number.
pi_termsobjectThe payment terms as a JSON object under 4 KB, for example {"deposit_pct": 30, "balance": "on shipment"}.
pi_totalnumberThe invoice total.

rr_add_recommendation_note

Add a note to a recommendation: context the seller wants kept on the recommendation itself rather than on a purchase order.

ParameterTypeDescription
action_id *stringRecommendation id (required).
note *stringNote body (required).

rr_dismiss_recommendation

Dismiss a recommendation when the seller decides no buyer work is needed. Records an action event and removes it from active action queues.

ParameterTypeDescription
action_id *stringRecommendation id (required).
reasonstringOptional dismissal reason.

rr_preview_recommendation

Preview a recommendation before acting on it: its kind, status, products, supplier and locations, and its current updated_at. Pass that updated_at as expected_updated_at to rr_create_draft_from_recommendation, rr_retry_recommendation_draft or rr_close_recommendation. Changes nothing; refused for an action that is already finished.

ParameterTypeDescription
action_id *stringThe recommendation id, from rr_list_recommendations.

rr_create_draft_from_recommendation

Turn a recommendation into its draft purchase order or draft transfer, for a person to review. Nothing is sent to a supplier and no stock moves. It needs the action's updated_at as last read; if the user has not given it, read it with rr_preview_recommendation.

ParameterTypeDescription
action_id *stringThe recommendation id, from rr_list_recommendations.
expected_updated_at *stringThe action's updated_at as last read (rr_preview_recommendation or rr_get_recommendation). The call is refused if the action changed since, so it can be read again.
idempotency_key *stringA value you choose for this attempt. Repeating a call with the same value and the same arguments returns the first result and does nothing again.

rr_close_recommendation

Close a recommendation with a reason when no purchase order or transfer is needed, for example because the stock was bought another way. Removes it from the open lists and creates nothing.

ParameterTypeDescription
action_id *stringThe recommendation id, from rr_list_recommendations.
expected_updated_at *stringThe action's updated_at as last read (rr_preview_recommendation or rr_get_recommendation). The call is refused if the action changed since, so it can be read again.
idempotency_key *stringA value you choose for this attempt. Repeating a call with the same value and the same arguments returns the first result and does nothing again.
reason *stringWhy no purchase order or transfer is needed.

rr_retry_recommendation_draft

Try again to turn a recommendation into its draft purchase order or draft transfer after an earlier attempt was blocked or failed. Same effects as rr_create_draft_from_recommendation: drafts only, nothing sent and no stock moved.

ParameterTypeDescription
action_id *stringThe recommendation id, from rr_list_recommendations.
expected_updated_at *stringThe action's updated_at as last read (rr_preview_recommendation or rr_get_recommendation). The call is refused if the action changed since, so it can be read again.
idempotency_key *stringA value you choose for this attempt. Repeating a call with the same value and the same arguments returns the first result and does nothing again.

rr_create_location

Create a manual stocking location: a warehouse, 3PL, FBA, WFS, in-transit or inbound location, with an optional address. Refused when an active location already has the name. It adds the location only; set its stock with rr_set_stock_at_location.

ParameterTypeDescription
name *stringThe location's name, unique among active locations.
type *stringThe kind of location.
address_line1stringStreet address.
citystringCity.
countrystringCountry.
is_defaultbooleanMake this the default manual location. Default false.
postal_codestringPostal code.
statestringState or province.

rr_set_stock_at_location

Set the on-hand quantity of one SKU at one manual location to an absolute number, replacing the stored count. Read the current position first and confirm the number with the user: a sale recorded since the last count is overwritten. System and inactive locations are refused, and so is stock a live collection holds.

ParameterTypeDescription
quantity *integerThe new on-hand quantity, 0 or more.
sku *stringThe product's SKU.
location_idstringThe manual location's id. Give this or location_name.
location_namestringThe manual location's name, used when location_id is not given.

rr_acknowledge_alert

Acknowledge an open alert. Sets status='acknowledged', stamps acknowledged_at + acknowledged_by, and writes an alert_audit row. For an alert the seller has read and accepted.

ParameterTypeDescription
alert_id *stringAlert UUID (required).
notestringOptional note to store with the acknowledgement.

rr_trigger_sync

Trigger an inventory sync for a connected Shopify or Amazon store. Skipped if a sync ran in the last 5 minutes for this connector type. Returns {status: 'queued'|'skipped', sync_event_id, requested_store_id, blocking_sync_event_id, message}. Pass sync_event_id to rr_get_sync_status to follow the request; sync_run_id is not known at queue time and is always null here. skipped: 'fba_inventory_not_applicable' is permanent for that store (Amazon gives it no FBA inventory access), so a repeat request returns the same answer.

ParameterTypeDescription
connector_type *stringWhich platform to sync (required).
store_idstringOptional store id. If omitted, picks the first connected store of the given platform.

rr_save_memory_entry

Save a small JSON object under a namespace and key, for an agent to read back later. It is not for secrets or personal data; values with obvious secret or contact-detail shapes are refused. The namespace must have been granted to this API key.

ParameterTypeDescription
key *stringThe entry's key within the namespace, up to 200 characters.
namespace *stringA context namespace this key has been granted, for example supplier_rules.
value *objectThe JSON object to save, up to 16 KiB.
scope_refstringOptional label for what the entry is about, up to 200 characters. Not secret.
ttl_secondsintegerOptional lifetime in seconds, up to 90 days.

rr_delete_memory_entry

Delete one saved memory entry by namespace and key. The namespace must have been granted to this API key.

ParameterTypeDescription
key *stringThe entry's key within the namespace, up to 200 characters.
namespace *stringA context namespace this key has been granted, for example supplier_rules.