Change a product listing
updateListingWrites a new title, description, search title and description, or image alt text to the product on your store. What it replaces is kept, so it can be put back.
Only for a workspace with a store connected: listWorkspaces says which are stores.
This changes something outside Kooga, so the person confirms it first. Where the app can show the question, it does. Otherwise the first call changes nothing and answers with a question to put to the person word for word, and a confirmToken: call again with the same arguments and that confirmToken only after they said yes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| reason | No | Why this listing should change, citing what readListings showed (an agent gives one) | |
| imageAlts | No | Alt text per image, by the image's id in the store | |
| metaTitle | No | The title search engines show | |
| productId | Yes | The product, by its id in Kooga | |
| description | No | ||
| productName | No | What the product is called now (its current title), so the card can name it | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. | |
| confirmToken | No | Only after the person said yes: the confirmToken this tool answered with when it asked. Never invent one, and never send one the person did not confirm. | |
| metaDescription | No | The description search engines show |