How a catalog is published
get_publish_optionsEverything the Publish dialog controls, as it stands: published or draft, the custom URL, what a product click does, auto-sync, the customer lead form, password protection (whether one is set — never the password), search-engine visibility, and the viewer's look and buttons; plus the share link, the embed code and the editor and live-preview links. locked lists what the merchant's plan or store does not allow, each with its reason. For before set_publish_options, and for questions about how the catalog is shared or whether it is live. Reads the catalog and changes nothing.
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": {
"catalogId": "<catalogId>"
},
"name": "get_publish_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalogId | Yes | Catalog id, as returned by list_catalogs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| locked | Yes | Options the plan or store does not allow, each with its reason | |
| status | Yes | ||
| options | Yes | Every Publish dialog option, as set_publish_options takes them | |
| catalogId | Yes | ||
| editorUrl | Yes | ||
| embedCode | Yes | ||
| published | Yes | ||
| shareLink | Yes | ||
| viewerUrl | Yes | ||
| livePreviewUrl | Yes |