companies

Make company primary

Declare an account flagged duplicate the primary of its group: the flag and the pointer swap, this row goes back to ok, the row it duplicated becomes the duplicate pointing here. Nothing moves (merge_companies is the separate act). Reversible: call it on the other row. A row not flagged answers already_primary true. When NOT: moving the leads onto the real account (merge_companies); asking which is primary (duplicate_of_sid on get_company).

Contract:

  • MCP tool make_company_primary, registry package mcp.playtables/companies, mount playtables.people.
  • Operation action, response envelope action.
  • Flags: none.
post/api/companies/{sid}/make-primary

Request

  • Base URL
    https://beta.getsales.io/playtables/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

The flagged duplicate that is the real account.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

No recorded changes to this operation across all 1 revision of this API.