Clover
Connect to Clover to manage merchant details, inventory items, categories, and orders.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "CLOVER_CATEGORY_CREATE_CATEGORY", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("CLOVER_CATEGORY_CREATE_CATEGORY", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute CLOVER_CATEGORY_CREATE_CATEGORY --data '{ }'Tool 目录
可用 Tools
16 个可调用操作
Create an item categoryCLOVER_CATEGORY_CREATE_CATEGORYCreate an item category需要连接
Create an item category
认证
需要 Connected AccountTags
Delete a single item categoryCLOVER_CATEGORY_DELETE_CATEGORYDelete a single item category需要连接
Delete a single item category
认证
需要 Connected AccountTags
Get all categoriesCLOVER_CATEGORY_GET_CATEGORIESRetrieves all categories. Items display on the Register app within categories in the order in which they are added to a category. Items may be associated with one or more categories or may not be associated with any category. Categories display in the Register app based on the sort order value for each category.需要连接
Retrieves all categories. Items display on the Register app within categories in the order in which they are added to a category. Items may be associated with one or more categories or may not be associated with any category. Categories display in the Register app based on the sort order value for each category.
认证
需要 Connected AccountTags
Get a categoryCLOVER_CATEGORY_GET_CATEGORYGet a category需要连接
Get a category
认证
需要 Connected AccountTags
Update a categoryCLOVER_CATEGORY_UPDATE_CATEGORYUpdate a category需要连接
Update a category
认证
需要 Connected AccountTags
Create an inventory itemCLOVER_INVENTORY_CREATE_ITEMCreates an inventory item.需要连接
Creates an inventory item.
认证
需要 Connected AccountTags
Delete an inventory itemCLOVER_INVENTORY_DELETE_ITEMDelete an inventory item需要连接
Delete an inventory item
认证
需要 Connected AccountTags
Get a single inventory itemCLOVER_INVENTORY_GET_ITEMRetrieves an existing inventory item.需要连接
Retrieves an existing inventory item.
认证
需要 Connected AccountTags
Get all inventory itemsCLOVER_INVENTORY_GET_ITEMSDisplays line items for each category in the inventory for an order.需要连接
Displays line items for each category in the inventory for an order.
认证
需要 Connected AccountTags
Update an existing inventory itemCLOVER_INVENTORY_UPDATE_ITEMUpdates an existing inventory item. Use the POST HTTP method to create an inventory item.<br><br><b>Note:</b> This endpoint cannot be used to update an item's stock quantity. To create or update stock for an item, you must use the <a href='https://docs.clover.com/dev/reference/inventoryupdateitemstock'>Update item stock</a> endpoint.需要连接
Updates an existing inventory item. Use the POST HTTP method to create an inventory item.<br><br><b>Note:</b> This endpoint cannot be used to update an item's stock quantity. To create or update stock for an item, you must use the <a href='https://docs.clover.com/dev/reference/inventoryupdateitemstock'>Update item stock</a> endpoint.
认证
需要 Connected AccountTags
Get a single merchantCLOVER_MERCHANT_GET_MERCHANTGet a single merchant需要连接
Get a single merchant
认证
需要 Connected AccountTags
Create custom ordersCLOVER_ORDER_CREATE_ORDER**Description:** Creates or updates orders with a non-Clover inventory and dynamically calculates taxes. Valid fields are: taxRemoved, note, title, state, testMode, manualTransaction, groupLineItems, and orderType. Use separate API calls to add line items. <br> **Tip:** Use the [create an atomic order](https://docs.clover.com/dev/reference/ordercreateatomicorder) endpoint to create orders using Clover inventory and leverage the real-time totals and tax calculation features using a single API call. <br> **Tutorial:** [Create custom orders](https://docs.clover.com/dev/docs/creating-custom-orders).需要连接
**Description:** Creates or updates orders with a non-Clover inventory and dynamically calculates taxes. Valid fields are: taxRemoved, note, title, state, testMode, manualTransaction, groupLineItems, and orderType. Use separate API calls to add line items. <br> **Tip:** Use the [create an atomic order](https://docs.clover.com/dev/reference/ordercreateatomicorder) endpoint to create orders using Clover inventory and leverage the real-time totals and tax calculation features using a single API call. <br> **Tutorial:** [Create custom orders](https://docs.clover.com/dev/docs/creating-custom-orders).
认证
需要 Connected AccountTags
Delete an orderCLOVER_ORDER_DELETE_ORDERDeletes a single order. See https://docs.clover.com/build/working-with-orders/ for more details.需要连接
Deletes a single order. See https://docs.clover.com/build/working-with-orders/ for more details.
认证
需要 Connected AccountTags
Get a single orderCLOVER_ORDER_GET_ORDERReturns a single order. See https://docs.clover.com/build/working-with-orders/ for more details.需要连接
Returns a single order. See https://docs.clover.com/build/working-with-orders/ for more details.
认证
需要 Connected AccountTags
Gets a list of ordersCLOVER_ORDER_GET_ORDERSDisplays a list of orders. See [Manage orders data](https://docs.clover.com/build/working-with-orders/) for more details.需要连接
Displays a list of orders. See [Manage orders data](https://docs.clover.com/build/working-with-orders/) for more details.
认证
需要 Connected AccountTags
Update an orderCLOVER_ORDER_UPDATE_ORDERUpdates a single order. See [working-with-orders](https://docs.clover.com/build/working-with-orders/) for more details.需要连接
Updates a single order. See [working-with-orders](https://docs.clover.com/build/working-with-orders/) for more details.
认证
需要 Connected AccountTags