Manage your LitCommerce data with AI and API tools
After connecting an AI assistant through MCP or an application through the LitCommerce API, you can use LitCommerce tools to retrieve data, monitor operations, and perform supported actions.
If you have not connected your tools yet, see Set up AI and API connections in LitCommerce.
MCP and API provide access to the same LitCommerce toolset. MCP lets you interact through natural-language requests, while the API lets your own code call the tools directly.
This guide explains how these tools work and how to use them to manage your LitCommerce data.
How AI & API tools work with your data
AI and API tools can perform two main types of actions in LitCommerce:
- Read data: Retrieve information about your account, stores, products, listings, channels, orders, and ongoing operations.
- Make changes: Perform supported actions such as updating inventory or prices, creating products or drafts, and adding order tracking.
For actions that modify data, LitCommerce follows the process below:
- **Preview: **You review what will change, including the current and new values and any items that will be skipped.
- Confirm: You approve the proposed changes before they are applied.
- Apply: LitCommerce performs the action based on the confirmed preview.
[!INFO]
- If the source data changes before the action is applied, you may need to confirm a new preview. Applied changes cannot be undone, so review the preview carefully before proceeding.
- AI only has access to the Main Store(s) you authorize. It cannot see other Main Stores, channel credentials, or buyer information in orders.
What you can manage
[!INFO]
- The available actions depend on the type of Main Store you use.
- Each Main Store has rate limits for individual actions based on your plan and listing allowance. To stay within these limits, split larger tasks into smaller requests and wait for the relevant limit to reset before retrying. Avoid repeating the same prompt while an operation is still running, as this may create duplicate actions or data.
Below shows what you can manage when working with LitCommerce through an AI assistant or your API tool.
Account & store information
| Action | Description | Available for | Example |
| **List authorized stores ** list_my_stores | Shows which LitCommerce stores the current connection is authorized to access. Appears when multiple stores have been granted. | All Main Stores | “Which stores have I granted access to?” |
| Check account status get_account_status | Checks the account status, including Main Store type, trial status, and number of connected channels. | All Main Stores | “Which Main Store am I using, and is my account still on trial?” |
| View connected channels get_stores | Lists connected channels with their type, name, connection status, sync settings, and listing counts. | All Main Stores | “List my connected channels and the number of listings on each.” |
Products, listings & channel monitoring
| Action | Description | Available for | Example |
| **Find products ** find_products | Searches Main Store products and filters them by status, inventory, SKU, name, category, or tag. Returns up to 50 products per page. | All Main Stores | “Which products are out of stock but still active?” |
| **Find listings ** find_listings | Searches listings on a sales channel and shows their status, linking status, sync errors, and error details. | All Main Stores
| “Which eBay listings have sync errors?” |
| **Find Image Library images ** find_library_images | Searches the Image Library by file name to locate existing images for reusing when creating products. | LitCommerce Main Store | “Find images with ‘shirt’ in the file name.” |
| Check channel condition get_channel_health | Checks a channel’s connection status, sync settings, latest import/refresh, and any running or failed operations. | All Main Stores | “Is my TikTok Shop channel connected normally? When was the last sync?” |
| **Check import or sync status ** get_import_status | Shows the progress of a channel import or sync, including processed items, errors, start and end times, and current status. | All Main Stores | “Has the product import finished for this channel?” |
| **Check background operations ** get_operation | Tracks a background task started through AI or API, such as creating multiple products, and shows whether it is queued, running, completed, or failed. | All Main Stores | “Has the task to create 40 products finished?” |
Product management
| Action | Description | Available for | Example |
| **Create products ** create_products | Creates up to 50 simple products without variants, video, or category in the LitCommerce All Products section. Each product requires a title, description, price, and main image from the Image Library. | LitCommerce Main Store | “Create a product called ‘Black Mug’, priced at $12.50, using mug-1.jpg.” |
| **Create channel drafts ** create_channel_drafts | Creates unpublished channel drafts from the existing Main Store products for up to 50 listings. Products already on the channel are skipped. You must still complete and publish the Draft listings in LitCommerce. | All Main Stores | “Create eBay drafts for these 10 products.” |
| **Update inventory ** update_inventory | Sets inventory for products or variants in the LitCommerce All Products section. Up to 100 items can be updated per request. | LitCommerce Main Store | “Set inventory for SKU ABC-1 to 50 and ABC-2 to 0.” |
| **Adjust prices ** adjust_price | Changes product or variant prices in the LitCommerce All Products section. Up to 100 items can be updated per request, with each change limited to ±50% of the current price. | LitCommerce Main Store
| “Increase prices by 10% for products tagged Summer sale.” |
| Update product content update_product_content | Updates supported product information such as title, description, brand, or SKU in the LitCommerce All Products section. Up to 50 products can be updated per request. Changes are automatically updated to active channel listings. Category and product status cannot be modified. | LitCommerce Main Store | “Rename product X to ‘Custom ceramic cup’.” |
| **Upload product images ** upload_product_images | Uploads 1–5 JPG, PNG, or WEBP images from public HTTPS URLs to the Image Library. Each file can be up to 10 MB. | LitCommerce Main Store | “Upload these three images to my Image Library.” |
| **Generate product content ** generate_product_content | Generates product titles, descriptions, tags, and attributes from 1 - 4 product images. It returns suggested text only and does not automatically update the product. Costs 5 AI credits per product. AI credits are the currency consumed when generating content with AI in LitCommerce. Each LitCommerce store receives 100 free credits, and you can top up your balance at any time. | LitCommerce Main Store | “Generate a title and description from this product image.” |
| **Refresh products from Main Store ** trigger_mainstore_refresh | Refreshes up to 50 linked products from the Main Store, replacing LitCommerce data with the latest Main Store data. Products deleted from the Main Store are removed from LitCommerce. | Shopping Cart Main Store (Shopify, WooCommerce…) | “Refresh these 20 products from Shopify.” |
| **Import products from Main Store ** import_from_mainstore | Imports products from the Main Store into LitCommerce, either all products, published products only, or products matching selected filters. Products already existing in the LitCommerce All Products section are skipped. | Shopify Main Store | “Import all published products from Shopify.” |
Orders & fulfillment
| Action | Description | Available for | Example |
| **Find orders ** get_orders | Retrieves orders sorted by newest first. Results can be filtered by UTC date, month, status, or channel. Buyer information is excluded. | All Main Stores | “Which orders were placed on October 22, 2026?” |
| **View order details ** get_order | Shows details for a specific order, including status, line items, tracking, Main Store status, and whether tracking has been sent to the channel. | All Main Stores | “Does order #1234 have tracking, and has it been sent to the channel?” |
| **Add order tracking ** add_order_tracking | Adds tracking details to an order and pushes them to the sales channel. Supports full and partial fulfillment for eligible orders; completed and canceled orders are excluded. | LitCommerce Main Store | “Add USPS tracking 9400… to order #1234 and fulfill the whole order.” |
[!INFO] AI and API tools cannot perform the following actions:
- **Delete data: **Deleting Main Store products, channel listings, or orders is disabled to prevent accidental, irreversible data loss.
- **Publish listings directly: **Channel-specific required fields must be completed and reviewed manually from the Draft tab in LitCommerce before going live.
- **Edit unsupported fields: **Channel SKUs, product tags, channel policies, and certain restricted attributes cannot be modified through AI or API tools.
- Overwrite Shopping Cart Main Stores: Platforms like Shopify or WooCommerce serve as your primary source of truth; LitCommerce only syncs data from them without making direct changes.
FAQs
Only the stores you authorize during connection are available to that AI.
To grant access to additional stores, revoke the current connection and add a new one with all stores you want to authorize selected.
This process will not affect the data in LitCommerce and the connected stores.
API tokens cannot be viewed again after they are generated.
If you lose a token, generate a new one and revoke the old token.
Yes. Each AI Assistant has its own connection and can be added or revoked separately under the Connections tab in the API/MCP section.
However, usage limits are shared across all AI and API connections for the same store.
Changes are not applied without confirmation. LitCommerce shows a preview first so you can review the proposed changes before approving them.
No. Applied changes cannot be undone. Review the preview carefully before confirming any update.
If you have any questions, let us know via the Chat Box in the bottom-right corner of our Help Center.