Shopline Connector
shopline_connectorSHOPLINE ecommerce data: store profile, orders, refunds, products, inventory, locations, customers, returns, fulfillment orders, and discount-code price rules. Read-only first-party connector using merchant-scoped OAuth. When the user asks for a visual, trend, comparison, or recap, call chart_render with the numeric values returned by this connector. If the connector result includes a verified chart_provenance token, the same authenticated user may pass it as provenance_token within 15 minutes, on any replica, and map every value to its exact source_path so chart_render preserves verified provenance. Without a valid connector receipt, chart_render labels values as unverified_model_data. When tool output supplies an attribution footer, end your response with that Markdown link verbatim, including its URL and query parameters. Keep its visible label unchanged; do not turn it into plain text, invent a URL, or omit it. Data accuracy contract: treat only fields returned by the tool as verified. Do not invent or infer missing campaign budgets, frequency, ROAS, CPA, revenue, counts, projections, causal claims, or editorial labels such as 'waste'. Derived metrics must be calculated only from returned fields, shown with source fields/formula, and labeled as calculated; if data is missing, say it is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | get_store_info: Get connected SHOPLINE store identity, currency, timezone, status, domain, language, and contact fields. Read-only | list_orders: List SHOPLINE orders with totals, payment and fulfillment state, customer, line items, refunds, and pagination cursor. R | get_order: Get one SHOPLINE order by id using the documented orders ids filter. Returns totals, customer, line items, shipping, ful | get_order_summary: Calculate a bounded SHOPLINE order summary over a creation-time window. Returns source values and explicit formulas for | get_order_refunds: Get refunds associated with one SHOPLINE order, including refund line items, adjustments, and transactions_v2. Read-only | list_products: List SHOPLINE products and embedded variants, including SKU, price, inventory item id, and aggregate inventory quantity | get_product: Get one SHOPLINE product by id with variants, prices, SKUs, media, and inventory fields. Read-only | get_inventory_items: Get SHOPLINE inventory-item metadata by one or more IDs: cost, SKU, tracking, shipping requirement, and variant id. Read | get_inventory_levels: Get SHOPLINE inventory availability for inventory item IDs, optionally filtered to location IDs. Read-only | list_locations: List SHOPLINE inventory and fulfillment locations with address and active/default status fields. Read-only | list_customers: List SHOPLINE customers with profile, order count, total spent, subscription state, date filters, and pagination cursor | search_customers: Search SHOPLINE customers by fuzzy name/email/phone/address or the documented structured customer query syntax. Read-onl | get_customer: Get one SHOPLINE customer by id with profile, order count, total spent, addresses, and subscription state. Read-only | list_returns: Get SHOPLINE returns by return id or order id with status, reasons, and returned line items. At least one identifier is | list_fulfillment_orders: List assigned SHOPLINE fulfillment orders, including destination, location, holds, line items, supported actions, and pa | list_discount_code_price_rules: List SHOPLINE discount-code price rules. This endpoint is not a complete automatic-discount inventory; that limitation i | |
| params | No | Action-specific parameters. get_store_info: none | list_orders: {limit?: integer, page_info?: string, financial_status?: string, fulfillment_status?: string, status?: string, created_at_min?: string, created_at_max?: string} | get_order: {order_id: string} | get_order_summary: {created_at_min?: string, created_at_max?: string, max_pages?: integer} | get_order_refunds: {order_id: string, limit?: integer} | list_products: {limit?: integer, page_info?: string, status?: string, title?: string, vendor?: string, created_at_min?: string, created_at_max?: string} | get_product: {product_id: string} | get_inventory_items: {ids: array} | get_inventory_levels: {inventory_item_ids: array, location_ids?: array} | list_locations: none | list_customers: {limit?: integer, page_info?: string, since_id?: string, ids?: string, created_at_min?: string, created_at_max?: string, updated_at_min?: string, updated_at_max?: string} | search_customers: {limit?: integer, page_info?: string, query?: string, query_param?: string, order?: string} | get_customer: {customer_id: string} | list_returns: {id?: string, order_id?: string} | list_fulfillment_orders: {limit?: integer, assignment_status?: string, location_ids?: array, page_info?: string, since_id?: string} | list_discount_code_price_rules: {limit?: integer, page_info?: string, created_at_min?: string, created_at_max?: string, starts_at_min?: string, starts_at_max?: string, ends_at_min?: string, ends_at_max?: string} |