Commerce

unpublishAllExcept

Unpublish All Except

Keep ONLY the named products live and send every other live product back to draft: the inverse of publishAllProducts, and the verb behind "deactivate everything that is not on the forever menu, but…

writeconsent

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "unpublish everything except these", and it calls unpublishAllExcept.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "appId": "<appId>",
    "keepProductIds": [
      "<keepProductIds>"
    ]
  },
  "name": "unpublishAllExcept"
}

Arguments

Returns

Bounded per call: if the catalog holds more live products than one call can draft it returns hasMore:true, so call again with the same keep list.

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

Connect

One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.