MB Suite

App · 24 actions

Manage deals, people and companies in MB Suite's CRM and keep them in step with your other tools.

Actions

ActionWhat it does
Create companyAdd a company, or get the existing one with the same name.
Create dealAdd a deal to a stage of a pipeline.
Create personAdd a person, or get the existing one with the same email.
Delete companyDelete a company.
Delete dealDelete a deal.
Delete personDelete a person.
Find personFind the person with an email address or phone number.
Get companyGet one company with its contact details and deal totals.
Get dealGet one deal with its stage, value, contacts and latest activity.
Get my accountGet who the API key acts as, its organization, its permissions and today's usage.
Get personGet one person with their emails, phones, companies and whether they can be contacted.
Get pipelineGet one pipeline with its stages and lost reasons.
List companiesList companies, most recently changed first.
List dealsList deals, filtered by pipeline, status, owner, person or company.
List peopleList people, most recently changed first.
List pipelinesList your sales pipelines in order, each with its stages and lost reasons.
Mark deal lostMark a deal as lost, with a reason.
Mark deal wonMark a deal as won.
Move dealMove a deal to another stage, or to a stage of another pipeline.
Reopen dealReopen a won or lost deal in a stage of its pipeline.
Search recordsSearch deals, people, companies and prospects by name, email, phone or title.
Update companyChange a company's details.
Update dealChange a deal's details.
Update personChange a person's details.

Create company

Add a company, or get the existing one with the same name.

Inputs

NamenametextRequired
The company's name.
Domaindomaintext
Its web domain, such as acme.com.
Industryindustrytext
Its industry, in words.
Sizesizetext
How many people work there.One of: solo (Just one person), 2-10 (2 to 10), 11-50 (11 to 50), 51-200 (51 to 200), 201-1000 (201 to 1,000), 1000+ (More than 1,000).
Websitewebsitetext
Its website address.
LinkedIn pagelinked_intext
Its LinkedIn page address.
Countrycountrytext
Its two-letter country code, such as US. Phones without a country code are read with it.
Phonephonetext
Its main phone, with the country code.
Emailemailtext
Its main email address.
Owner IDowner_idtext
The user ID of the team member who owns it. Leave empty to leave it unowned.
Label IDslabel_idslist
Company label IDs to add.
Reuse by domaindedupe_by_domaintrue/false
Reuse a company with the same domain instead of adding another one.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "company_id": "cmp_acme",
    "created": true,
    "matched_by": "name"
  }
}

Create deal

Add a deal to a stage of a pipeline.

Inputs

TitletitletextRequired
The deal's name, as the board shows it.
Pipelinepipeline_idtextRequired
The pipeline to add it to.
Stage IDstage_idtextRequired
A stage of that pipeline, from Get pipeline.
Valuevaluenumber
The deal amount. 0 if left empty.At least 0.
Currencycurrencytext
A three-letter currency code, such as USD. The pipeline's currency if left empty.
Owner IDowner_idtext
The user ID of the team member who owns it. You if left empty.
Company IDcompany_idtext
The company, from List companies.
Main contact IDprimary_person_idtext
The deal's main contact, from List people.
People IDsperson_idslist
The IDs of the people on the deal.
Probabilityprobabilitynumber
Win probability from 0 to 100. The stage's if left empty.From 0 to 100.
Expected close dateexpected_close_datedate
When you expect to close it.
Label IDslabel_idslist
Deal label IDs to add.
Sourcesource_channeltext
Where the deal came from, such as web or manual.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "deal_id": "deal_8f2k1"
  }
}

Create person

Add a person, or get the existing one with the same email.

Inputs

First namefirst_nametextRequired
Their first name.
Last namelast_nametext
Their last name.
Emailemailtext
Their main email address.
Phonephonetext
Their main phone, with the country code, such as +1 415 555 0100.
Job titlejob_titletext
Their job title.
Company IDcompany_idtext
The company they work for, from List companies. It becomes their main company.
Countrycountrytext
Their two-letter country code, such as US. Phones without a country code are read with it.
LinkedIn profilelinked_in_urltext
Their LinkedIn profile address.
Websitewebsitetext
Their personal website address.
Owner IDowner_idtext
The user ID of the team member who owns them.
Label IDslabel_idslist
Person label IDs to add.
Do not contactdo_not_contacttrue/false
Mark them Do not contact from the start.
Skip automationsskip_automationstrue/false
Don't start the sequences that begin when a contact is added.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "created": true,
    "matched_by": "email",
    "person_id": "per_juan"
  }
}

Delete company

Delete a company. It stays in the trash for 30 days.

Inputs

Company IDcompany_idtextRequired
The company's ID, from List companies.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "ok": true,
    "trash_expires_at": 1767182400000,
    "trash_item_id": "trash_123"
  }
}

Delete deal

Delete a deal. It stays in the trash for 30 days.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "ok": true,
    "trash_expires_at": 1767182400000,
    "trash_item_id": "trash_123"
  }
}

Delete person

Delete a person. They stay in the trash for 30 days.

Inputs

Person IDperson_idtextRequired
The person's ID, from List people or Find person.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "ok": true,
    "trash_expires_at": 1767182400000,
    "trash_item_id": "trash_123"
  }
}

Find person

Find the person with an email address or phone number.

Inputs

Emailemailtext
An email address to look for.
Phonephonetext
A phone number to look for, with its country code.
Countrycountrytext
A two-letter country code, to read a phone written without its country code.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "matches": [
      {
        "id": "per_juan",
        "matched_by": "email"
      }
    ],
    "person": {
      "company_ids": [
        "cmp_acme"
      ],
      "company_name": "Acme",
      "country": "AR",
      "created_at": 1764500000000,
      "do_not_contact": false,
      "email": "juan@acme.com",
      "emails": [
        "juan@acme.com"
      ],
      "first_name": "Juan",
      "full_name": "Juan Perez",
      "id": "per_juan",
      "is_archived": false,
      "job_title": "Head of Marketing",
      "label_ids": [
        "lbl_vip"
      ],
      "last_activity_at": 1764590000000,
      "last_name": "Perez",
      "linked_in_url": "https://www.linkedin.com/in/juanperez",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "phone": "+5491140000002",
      "phones": [
        "+5491140000002"
      ],
      "primary_company_id": "cmp_acme",
      "source_channel": "web",
      "updated_at": 1764590000000,
      "website": "https://juanperez.com"
    }
  }
}

Get company

Get one company with its contact details and deal totals.

Inputs

Company IDcompany_idtextRequired
The company's ID, from List companies.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "country": "AR",
    "created_at": 1764500000000,
    "domain": "acme.com",
    "email": "hello@acme.com",
    "id": "cmp_acme",
    "industry": "Software",
    "is_archived": false,
    "label_ids": [
      "lbl_key"
    ],
    "linked_in": "https://www.linkedin.com/company/acme",
    "name": "Acme",
    "open_deal_count": 1,
    "owner_id": "usr_ana",
    "owner_name": "Ana Ruiz",
    "person_count": 3,
    "phone": "+541140000000",
    "size": "11-50",
    "total_won_currency": "USD",
    "total_won_value": 9600,
    "updated_at": 1764590000000,
    "website": "https://acme.com",
    "won_deal_count": 2
  }
}

Get deal

Get one deal with its stage, value, contacts and latest activity.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "action_state": "waiting_them",
    "company_id": "cmp_acme",
    "company_name": "Acme",
    "created_at": 1764500000000,
    "currency": "USD",
    "expected_close_date": 1767225600000,
    "id": "deal_8f2k1",
    "is_archived": false,
    "label_ids": [
      "lbl_hot"
    ],
    "last_activity_at": 1764590000000,
    "lost_at": 1767225600000,
    "lost_reason_id": "lr_price",
    "lost_reason_note": "Chose a cheaper option",
    "owner_id": "usr_ana",
    "owner_name": "Ana Ruiz",
    "person_ids": [
      "per_juan"
    ],
    "pipeline_id": "pip_sales",
    "primary_person_email": "juan@acme.com",
    "primary_person_id": "per_juan",
    "primary_person_name": "Juan Perez",
    "primary_person_phone": "+5491140000002",
    "probability": 40,
    "source_channel": "web",
    "stage_id": "stg_proposal",
    "status": "open",
    "title": "Annual plan - Acme",
    "updated_at": 1764590000000,
    "value": 4800,
    "won_at": 1767225600000
  }
}

Get my account

Get who the API key acts as, its organization, its permissions and today's usage.

Inputs

None.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "actor": {
      "uid": "usr_ana"
    },
    "api_version": "2026-11-01",
    "limits": {},
    "operations": [
      {
        "group_count": 50,
        "module": "crm",
        "name": "CRM",
        "operation_count": 334
      }
    ],
    "org": {
      "id": "org_123",
      "name": "Acme Agency"
    }
  }
}

Get person

Get one person with their emails, phones, companies and whether they can be contacted.

Inputs

Person IDperson_idtextRequired
The person's ID, from List people or Find person.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "company_ids": [
      "cmp_acme"
    ],
    "company_name": "Acme",
    "country": "AR",
    "created_at": 1764500000000,
    "do_not_contact": false,
    "email": "juan@acme.com",
    "emails": [
      "juan@acme.com"
    ],
    "first_name": "Juan",
    "full_name": "Juan Perez",
    "id": "per_juan",
    "is_archived": false,
    "job_title": "Head of Marketing",
    "label_ids": [
      "lbl_vip"
    ],
    "last_activity_at": 1764590000000,
    "last_name": "Perez",
    "linked_in_url": "https://www.linkedin.com/in/juanperez",
    "owner_id": "usr_ana",
    "owner_name": "Ana Ruiz",
    "phone": "+5491140000002",
    "phones": [
      "+5491140000002"
    ],
    "primary_company_id": "cmp_acme",
    "source_channel": "web",
    "updated_at": 1764590000000,
    "website": "https://juanperez.com"
  }
}

Get pipeline

Get one pipeline with its stages and lost reasons.

Inputs

Pipelinepipeline_idtextRequired
The pipeline to get.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "currency": "USD",
    "description": "New business",
    "id": "pip_sales",
    "is_archived": false,
    "is_default": true,
    "lost_reasons": [
      {
        "id": "lr_price",
        "name": "Price"
      }
    ],
    "name": "Sales",
    "require_lost_reason": false,
    "stages": [
      {
        "id": "stg_new",
        "name": "New",
        "probability": 10
      }
    ]
  }
}

List companies

List companies, most recently changed first.

Inputs

Domaindomaintext
Only companies with this web domain, such as acme.com.
Changed sinceupdated_sincedate and time
Only companies created or changed at or after this time, newest change first.
Include archivedinclude_archivedtrue/false
Also return archived records.
Page sizelimitnumber
How many to return, from 1 to 200.From 1 to 200.
Next pagecursortext
The next_cursor from the page before, to read the page after it.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "data": [
      {
        "country": "AR",
        "created_at": 1764500000000,
        "domain": "acme.com",
        "email": "hello@acme.com",
        "id": "cmp_acme",
        "industry": "Software",
        "is_archived": false,
        "label_ids": [
          "lbl_key"
        ],
        "linked_in": "https://www.linkedin.com/company/acme",
        "name": "Acme",
        "open_deal_count": 1,
        "owner_id": "usr_ana",
        "owner_name": "Ana Ruiz",
        "person_count": 3,
        "phone": "+541140000000",
        "size": "11-50",
        "total_won_currency": "USD",
        "total_won_value": 9600,
        "updated_at": 1764590000000,
        "website": "https://acme.com",
        "won_deal_count": 2
      }
    ],
    "has_more": false,
    "next_cursor": "c_2"
  }
}

List deals

List deals, filtered by pipeline, status, owner, person or company.

Inputs

Pipelinepipeline_idtext
Only deals in this pipeline.
Statusstatustext
Which deals to list. Open if left empty.One of: open, won, lost, all.
Owner IDowner_idtext
Only deals of this owner's user ID.
Person IDperson_idtext
Only deals of this person.
Company IDcompany_idtext
Only deals of this company.
Changed sinceupdated_sincedate and time
Only deals created or changed at or after this time, newest change first.
Include archivedinclude_archivedtrue/false
Also return archived records.
Page sizelimitnumber
How many to return, from 1 to 200.From 1 to 200.
Next pagecursortext
The next_cursor from the page before, to read the page after it.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "data": [
      {
        "action_state": "waiting_them",
        "company_id": "cmp_acme",
        "company_name": "Acme",
        "created_at": 1764500000000,
        "currency": "USD",
        "expected_close_date": 1767225600000,
        "id": "deal_8f2k1",
        "is_archived": false,
        "label_ids": [
          "lbl_hot"
        ],
        "last_activity_at": 1764590000000,
        "lost_at": 1767225600000,
        "lost_reason_id": "lr_price",
        "lost_reason_note": "Chose a cheaper option",
        "owner_id": "usr_ana",
        "owner_name": "Ana Ruiz",
        "person_ids": [
          "per_juan"
        ],
        "pipeline_id": "pip_sales",
        "primary_person_email": "juan@acme.com",
        "primary_person_id": "per_juan",
        "primary_person_name": "Juan Perez",
        "primary_person_phone": "+5491140000002",
        "probability": 40,
        "source_channel": "web",
        "stage_id": "stg_proposal",
        "status": "open",
        "title": "Annual plan - Acme",
        "updated_at": 1764590000000,
        "value": 4800,
        "won_at": 1767225600000
      }
    ],
    "has_more": false,
    "next_cursor": "c_2"
  }
}

List people

List people, most recently changed first.

Inputs

Company IDcompany_idtext
Only people linked to this company.
Changed sinceupdated_sincedate and time
Only people created or changed at or after this time, newest change first.
Include archivedinclude_archivedtrue/false
Also return archived records.
Page sizelimitnumber
How many to return, from 1 to 200.From 1 to 200.
Next pagecursortext
The next_cursor from the page before, to read the page after it.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "data": [
      {
        "company_ids": [
          "cmp_acme"
        ],
        "company_name": "Acme",
        "country": "AR",
        "created_at": 1764500000000,
        "do_not_contact": false,
        "email": "juan@acme.com",
        "emails": [
          "juan@acme.com"
        ],
        "first_name": "Juan",
        "full_name": "Juan Perez",
        "id": "per_juan",
        "is_archived": false,
        "job_title": "Head of Marketing",
        "label_ids": [
          "lbl_vip"
        ],
        "last_activity_at": 1764590000000,
        "last_name": "Perez",
        "linked_in_url": "https://www.linkedin.com/in/juanperez",
        "owner_id": "usr_ana",
        "owner_name": "Ana Ruiz",
        "phone": "+5491140000002",
        "phones": [
          "+5491140000002"
        ],
        "primary_company_id": "cmp_acme",
        "source_channel": "web",
        "updated_at": 1764590000000,
        "website": "https://juanperez.com"
      }
    ],
    "has_more": false,
    "next_cursor": "c_2"
  }
}

List pipelines

List your sales pipelines in order, each with its stages and lost reasons.

Inputs

None.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "data": [
      {
        "currency": "USD",
        "description": "New business",
        "id": "pip_sales",
        "is_archived": false,
        "is_default": true,
        "lost_reasons": [
          {
            "id": "lr_price",
            "name": "Price"
          }
        ],
        "name": "Sales",
        "require_lost_reason": false,
        "stages": [
          {
            "id": "stg_new",
            "name": "New",
            "probability": 10
          }
        ]
      }
    ]
  }
}

Mark deal lost

Mark a deal as lost, with a reason.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.
Lost reason IDlost_reason_idtext
One of the pipeline's lost reasons, from Get pipeline. Needed when the pipeline asks for one.
Notelost_reason_notetext
Why, in your words (up to 1,000 characters).

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "deal": {
      "action_state": "waiting_them",
      "company_id": "cmp_acme",
      "company_name": "Acme",
      "created_at": 1764500000000,
      "currency": "USD",
      "expected_close_date": 1767225600000,
      "id": "deal_8f2k1",
      "is_archived": false,
      "label_ids": [
        "lbl_hot"
      ],
      "last_activity_at": 1764590000000,
      "lost_at": 1767225600000,
      "lost_reason_id": "lr_price",
      "lost_reason_note": "Chose a cheaper option",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "person_ids": [
        "per_juan"
      ],
      "pipeline_id": "pip_sales",
      "primary_person_email": "juan@acme.com",
      "primary_person_id": "per_juan",
      "primary_person_name": "Juan Perez",
      "primary_person_phone": "+5491140000002",
      "probability": 40,
      "source_channel": "web",
      "stage_id": "stg_proposal",
      "status": "open",
      "title": "Annual plan - Acme",
      "updated_at": 1764590000000,
      "value": 4800,
      "won_at": 1767225600000
    }
  }
}

Mark deal won

Mark a deal as won.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.
Won stage IDwon_stage_idtext
The pipeline's won stage. If left empty, the deal moves to it when there is one.
Won onwon_atdate and time
When it was really closed, if not now. It can't be in the future.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "deal": {
      "action_state": "waiting_them",
      "company_id": "cmp_acme",
      "company_name": "Acme",
      "created_at": 1764500000000,
      "currency": "USD",
      "expected_close_date": 1767225600000,
      "id": "deal_8f2k1",
      "is_archived": false,
      "label_ids": [
        "lbl_hot"
      ],
      "last_activity_at": 1764590000000,
      "lost_at": 1767225600000,
      "lost_reason_id": "lr_price",
      "lost_reason_note": "Chose a cheaper option",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "person_ids": [
        "per_juan"
      ],
      "pipeline_id": "pip_sales",
      "primary_person_email": "juan@acme.com",
      "primary_person_id": "per_juan",
      "primary_person_name": "Juan Perez",
      "primary_person_phone": "+5491140000002",
      "probability": 40,
      "source_channel": "web",
      "stage_id": "stg_proposal",
      "status": "open",
      "title": "Annual plan - Acme",
      "updated_at": 1764590000000,
      "value": 4800,
      "won_at": 1767225600000
    }
  }
}

Move deal

Move a deal to another stage, or to a stage of another pipeline.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.
Stage IDstage_idtextRequired
The stage to move it to, from Get pipeline.
Pipelinepipeline_idtext
Another pipeline to move it to. The stage must be one of its stages.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "changed": true,
    "deal": {
      "action_state": "waiting_them",
      "company_id": "cmp_acme",
      "company_name": "Acme",
      "created_at": 1764500000000,
      "currency": "USD",
      "expected_close_date": 1767225600000,
      "id": "deal_8f2k1",
      "is_archived": false,
      "label_ids": [
        "lbl_hot"
      ],
      "last_activity_at": 1764590000000,
      "lost_at": 1767225600000,
      "lost_reason_id": "lr_price",
      "lost_reason_note": "Chose a cheaper option",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "person_ids": [
        "per_juan"
      ],
      "pipeline_id": "pip_sales",
      "primary_person_email": "juan@acme.com",
      "primary_person_id": "per_juan",
      "primary_person_name": "Juan Perez",
      "primary_person_phone": "+5491140000002",
      "probability": 40,
      "source_channel": "web",
      "stage_id": "stg_proposal",
      "status": "open",
      "title": "Annual plan - Acme",
      "updated_at": 1764590000000,
      "value": 4800,
      "won_at": 1767225600000
    }
  }
}

Reopen deal

Reopen a won or lost deal in a stage of its pipeline.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.
Stage IDstage_idtextRequired
The stage it reopens in, from Get pipeline.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "deal": {
      "action_state": "waiting_them",
      "company_id": "cmp_acme",
      "company_name": "Acme",
      "created_at": 1764500000000,
      "currency": "USD",
      "expected_close_date": 1767225600000,
      "id": "deal_8f2k1",
      "is_archived": false,
      "label_ids": [
        "lbl_hot"
      ],
      "last_activity_at": 1764590000000,
      "lost_at": 1767225600000,
      "lost_reason_id": "lr_price",
      "lost_reason_note": "Chose a cheaper option",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "person_ids": [
        "per_juan"
      ],
      "pipeline_id": "pip_sales",
      "primary_person_email": "juan@acme.com",
      "primary_person_id": "per_juan",
      "primary_person_name": "Juan Perez",
      "primary_person_phone": "+5491140000002",
      "probability": 40,
      "source_channel": "web",
      "stage_id": "stg_proposal",
      "status": "open",
      "title": "Annual plan - Acme",
      "updated_at": 1764590000000,
      "value": 4800,
      "won_at": 1767225600000
    }
  }
}

Search records

Search deals, people, companies and prospects by name, email, phone or title.

Inputs

Search forquerytextRequired
A name, email, phone, domain or deal title (2 to 200 characters).
Kindskindslist
Only these kinds of record. All four if left empty.One or more of: deal (Deals), person (People), company (Companies), prospect (Prospects).
Limitlimitnumber
How many results at most, up to 40.From 1 to 40.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "has_more": false,
    "results": [
      {
        "id": "deal_8f2k1",
        "is_archived": false,
        "kind": "deal"
      }
    ]
  }
}

Update company

Change a company's details. Only the fields you fill in change.

Inputs

Company IDcompany_idtextRequired
The company's ID, from List companies.
Namenametext
The company's new name.
Domaindomaintext
Its web domain, such as acme.com.
Industryindustrytext
Its industry, in words.
Sizesizetext
How many people work there.One of: solo (Just one person), 2-10 (2 to 10), 11-50 (11 to 50), 51-200 (51 to 200), 201-1000 (201 to 1,000), 1000+ (More than 1,000).
Websitewebsitetext
Its website address.
Phonephonetext
Its main phone, with the country code.
Emailemailtext
Its main email address.
Owner IDowner_idtext
The user ID of the team member who owns it.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "company": {
      "country": "AR",
      "created_at": 1764500000000,
      "domain": "acme.com",
      "email": "hello@acme.com",
      "id": "cmp_acme",
      "industry": "Software",
      "is_archived": false,
      "label_ids": [
        "lbl_key"
      ],
      "linked_in": "https://www.linkedin.com/company/acme",
      "name": "Acme",
      "open_deal_count": 1,
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "person_count": 3,
      "phone": "+541140000000",
      "size": "11-50",
      "total_won_currency": "USD",
      "total_won_value": 9600,
      "updated_at": 1764590000000,
      "website": "https://acme.com",
      "won_deal_count": 2
    }
  }
}

Update deal

Change a deal's details. Only the fields you fill in change.

Inputs

Deal IDdeal_idtextRequired
The deal's ID, from List deals or Search records.
Titletitletext
The deal's new name.
Valuevaluenumber
The deal amount.At least 0.
Currencycurrencytext
A three-letter currency code, such as USD.
Probabilityprobabilitynumber
Win probability from 0 to 100.From 0 to 100.
Expected close dateexpected_close_datedate
When you expect to close it.
Owner IDowner_idtext
The user ID of the team member who owns it.
Company IDcompany_idtext
The deal's company.
Main contact IDprimary_person_idtext
The deal's main contact.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "changed": true,
    "deal": {
      "action_state": "waiting_them",
      "company_id": "cmp_acme",
      "company_name": "Acme",
      "created_at": 1764500000000,
      "currency": "USD",
      "expected_close_date": 1767225600000,
      "id": "deal_8f2k1",
      "is_archived": false,
      "label_ids": [
        "lbl_hot"
      ],
      "last_activity_at": 1764590000000,
      "lost_at": 1767225600000,
      "lost_reason_id": "lr_price",
      "lost_reason_note": "Chose a cheaper option",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "person_ids": [
        "per_juan"
      ],
      "pipeline_id": "pip_sales",
      "primary_person_email": "juan@acme.com",
      "primary_person_id": "per_juan",
      "primary_person_name": "Juan Perez",
      "primary_person_phone": "+5491140000002",
      "probability": 40,
      "source_channel": "web",
      "stage_id": "stg_proposal",
      "status": "open",
      "title": "Annual plan - Acme",
      "updated_at": 1764590000000,
      "value": 4800,
      "won_at": 1767225600000
    }
  }
}

Update person

Change a person's details. Only the fields you fill in change.

Inputs

Person IDperson_idtextRequired
The person's ID, from List people or Find person.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Emailemailtext
An email to add as their main one.
Phonephonetext
A phone to add as their main one, with the country code.
Job titlejob_titletext
Their job title.
Owner IDowner_idtext
The user ID of the team member who owns them.
Do not contactdo_not_contacttrue/false
Whether they are marked Do not contact.

Outputs

dataobject
The response from MB Suite.
Example output
{
  "data": {
    "person": {
      "company_ids": [
        "cmp_acme"
      ],
      "company_name": "Acme",
      "country": "AR",
      "created_at": 1764500000000,
      "do_not_contact": false,
      "email": "juan@acme.com",
      "emails": [
        "juan@acme.com"
      ],
      "first_name": "Juan",
      "full_name": "Juan Perez",
      "id": "per_juan",
      "is_archived": false,
      "job_title": "Head of Marketing",
      "label_ids": [
        "lbl_vip"
      ],
      "last_activity_at": 1764590000000,
      "last_name": "Perez",
      "linked_in_url": "https://www.linkedin.com/in/juanperez",
      "owner_id": "usr_ana",
      "owner_name": "Ana Ruiz",
      "phone": "+5491140000002",
      "phones": [
        "+5491140000002"
      ],
      "primary_company_id": "cmp_acme",
      "source_channel": "web",
      "updated_at": 1764590000000,
      "website": "https://juanperez.com"
    }
  }
}

On this page