get-publications
Lists a store's sales channels (publications) with their IDs so you can publish or unpublish products using the correct channel name or ID.
Instructions
List the store's sales channels (publications), e.g. Online Store and Point of Sale, with their IDs. Use the names or IDs with publish-product / unpublish-product.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-publications"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||