opportunities

Update One opportunity

patch/opportunities/{id}

Request

  • Base URL: https://twenty.mardu.systems/rest
  • URL: https://twenty.mardu.systems/rest/opportunities/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Object id.

Query parameters

depth0 | 1

Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations

Request body

namestring

The opportunity name

closeDatestring date-time

Opportunity close date

stage'NEW' | 'SCREENING' | 'MEETING' | 'PROPOSAL' | 'CUSTOMER'

Opportunity stage

positionnumber

Opportunity record position

pointOfContactIdstring uuid
companyIdstring uuid
ownerIdstring uuid

Example request

{
  "name": "Opportunity name",
  "amount": {
    "amountMicros": "770000000",
    "currencyCode": "EUR"
  },
  "stage": "NEW"
}

Response

Successful operation

Changes

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