Enabling Agentforce agents to interact with Salesforce Commerce Cloud for product discovery, basket management, order processing, and customer data.
Tool Name | Description | Example Inputs |
---|---|---|
commerce_cloud_search_products | Searches for products based on keywords, category, or other filters. | search_query , category_id (optional) , refinements_map (optional) , sort_rule |
commerce_cloud_get_product_details | Retrieves detailed information for a specific product ID. | product_id , expand_options (e.g., images, prices, availability) |
commerce_cloud_get_product_availability | Checks real-time availability/stock for a product. | product_id , inventory_list_id (optional) |
commerce_cloud_get_product_price | Gets the price(s) for a specific product. | product_id , quantity (optional) |
commerce_cloud_add_item_to_basket | Adds a specified quantity of a product to the current user’s basket. | product_id , quantity , options_map (optional) |
commerce_cloud_get_basket | Retrieves the contents of the current user’s active basket. | basket_id (if known, else uses session) |
commerce_cloud_update_basket_item | Updates the quantity or options of an item in the basket. | basket_id , item_id , quantity (optional) , options_map (optional) |
commerce_cloud_remove_basket_item | Removes an item from the basket. | basket_id , item_id |
commerce_cloud_create_order_from_basket | Converts the current basket into an order (places the order). | basket_id , payment_instrument_id , shipping_address_id |
commerce_cloud_get_customer_orders | Retrieves a list of orders for the authenticated customer. | customer_id , status_filter (optional) , date_range (optional) |
commerce_cloud_get_order_details | Retrieves detailed information for a specific order. | order_no or order_id |
commerce_cloud_get_customer_profile | Retrieves the profile information for the authenticated customer. | customer_id |
commerce_cloud_update_customer_profile | Updates the profile information for the authenticated customer. | customer_id , profile_data_map |
commerce_cloud_get_store_availability | (For BOPIS) Checks product availability at specific store locations. | product_id , store_ids_list or postal_code , radius |
GET /products
, POST /baskets
).https://your-instance.commercecloud.salesforce.com/s/YourSite/dw/shop/vXX_X
), and specifying the authentication mechanism to be used (e.g., Client Credentials Grant, Shopper Login and API Access Service - SLAS).commerce_cloud_search_products
with a common keyword to test if the connection, authentication, and basic API access are functioning.x-dw-client-id
header is being sent correctly.