ghl_product_store_set_inclusion
Includes or excludes specified products from a store's storefront listing via API, enabling control over product visibility in the store.
Instructions
Includes or excludes a product from the given store's storefront listing. Action to include/exclude the product in store API to update the status of products in a particular store Endpoint: POST /products/store/{storeId} (Version header: v3; source: v3/products-v3.json) Requires a Sub-Account (location) token. OAuth scopes: products.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"storeId": "<storeId>",
"body": "<body>"
},
"name": "ghl_product_store_set_inclusion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| storeId | Yes | Products related to the store |