# Update the delivery status for a portfolio status summary

Update the delivery status for a portfolio status summary

Endpoint: PATCH /api/portfolios/{portfolioId}/delivery-status-summaries/{statusSummaryId}
Version: 1.13
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `portfolioId` (string, required)
    The unique Salesforce ID of the Delivery Portfolio. This is REQUIRED.

  - `statusSummaryId` (string, required)
    The unique Salesforce ID of the status summary to update. This is REQUIRED.

## Request fields (application/json):

  - `DeliveryStatusId` (string)
    The Salesforce ID of the DeliveryStatus__c record representing the overall delivery status value.

  - `Narrative` (string)
    The narrative text summarising the status for this period.

  - `TemplateId` (string)
    The Salesforce ID of a StatusSummaryTemplate__c to associate with this summary.

  - `Perspectives` (array)
    List of perspective-level delivery status and narrative updates for this status summary.

  - `Perspectives.DeliveryPerspectiveId` (string, required)
    The Salesforce ID of the Delivery Perspective this entry applies to. REQUIRED.

  - `Perspectives.DeliveryStatusId` (string)
    The Salesforce ID of the delivery status value for this perspective. REQUIRED when the template perspective is mandatory.

  - `Perspectives.Narrative` (string)
    The narrative text for this perspective. Overrides the template default. REQUIRED when the template perspective is mandatory and the template defines no default narrative.

## Response 200:

  - `200` (unknown)
    Success

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

## Response 500:

  - `500` (unknown)
    Server Error

## Response 500 fields (application/json):

  - `message` (string, required)

  - `errorCode` (string, required)

  - `details` (object)

