Skip to content

Update an existing Cost Milestone

Request

Update an existing Cost Milestone

Security
bearerAuth
Path
milestoneIdstringrequired

The unique ID (Salesforce Id) of the cost milestone to be updated. This is REQUIRED.

Bodyapplication/jsonrequired
Namestring

Updated name for the milestone. If provided, it must not be blank — do not send an empty or whitespace-only string.

MilestoneDatestring

Updated milestone date. Must be in YYYY-MM-DD format.

MilestonePercentagenumber

Type 1 (Percentage-based): Updated percentage of contract cost (0-100). Use when the delivery element uses DeliveryElement forecast mode.

SupplierInvoicingCurrencyCostnumber

Type 2 (Fixed value): Updated supplier invoicing currency cost value. Only applicable when the delivery element is not unit-generated. Use the SupplierInvoicingCurrencyCode returned on the delivery element to determine the currency.

Unitsnumber

Type 3 (Unit-based): Updated number of units. Only applicable together with SupplierInvoicingCurrencyUnitValue when the delivery element is unit-generated.

SupplierInvoicingCurrencyUnitValuenumber

Type 3 (Unit-based): Updated supplier invoicing currency value per unit. Only applicable together with Units when the delivery element is unit-generated. Use the SupplierInvoicingCurrencyCode returned on the delivery element to determine the currency.

Notesstring

Updated notes for the milestone.

MilestoneStatusstring

New status for the milestone. Accepted values: Open (revert to draft), CompletedUnapproved (submit for completion approval), Obsolete.

CustomFieldsMapArray of objects

A map of custom field API name to value to be saved on the milestone. Use this to set org-specific custom fields added to Milestone__c.

{ "Name": "string", "MilestoneDate": "string", "MilestonePercentage": 0, "SupplierInvoicingCurrencyCost": 0, "Units": 0, "SupplierInvoicingCurrencyUnitValue": 0, "Notes": "string", "MilestoneStatus": "string", "CustomFieldsMap": [ { "Key": "string", "Value": "string" } ] }

Responses

Success

Response
No content