Update a document pack

PUT /api/v1/document-pack/document-pack/{uuid}

Path parameters

  • uuid string Required
application/json

Body Required

  • name string Required

    Name of the document pack.

  • description string Required

    Short description of the document pack.

  • is_template boolean

    Denotes whether document pack is a template or not.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string
      • created_at string
      • updated_at string
      • name string
      • policy_number string
      • latest_valuation object
        Hide latest_valuation attributes Show latest_valuation attributes object
        • uuid string
        • created_at string
        • updated_at string
        • valued_at string
        • value object
          Hide value attributes Show value attributes object
          • amount object
            Hide amount attributes Show amount attributes object
            • example string
            • description string
          • formatted object
            Hide formatted attributes Show formatted attributes object
            • example string
            • description string
          • currency object
            Hide currency attributes Show currency attributes object
            • example string
            • description string
        • sub_account string
      • is_main_account boolean
      • active_portfolio object
        Hide active_portfolio attributes Show active_portfolio attributes object
        • uuid string
        • created_at string
        • updated_at string
        • is_proposed boolean
        • proposed_at string
        • name string
      • statistics object
        Hide statistics attribute Show statistics attribute object
        • recent_growth integer
PUT /api/v1/document-pack/document-pack/{uuid}
curl \
 --request PUT 'https://api.plannrcrm.com/api/v1/document-pack/document-pack/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"Terms and Conditions","description":"Terms and Conditions for our services","is_template":true}'
Request examples
{
  "name": "Terms and Conditions",
  "description": "Terms and Conditions for our services",
  "is_template": true
}
Response examples (200)
{
  "data": [
    {
      "name": "John's ISA",
      "uuid": "2e4d087f-e77c-4227-84bc-2877643e4868",
      "created_at": "2025-06-25T15:10:45+01:00",
      "statistics": {
        "recent_growth": 100
      },
      "updated_at": "2025-06-25T15:10:45+01:00",
      "policy_number": "AVI-4837",
      "is_main_account": false,
      "active_portfolio": {
        "name": "Risky Portfolio",
        "uuid": "280cd9eb-8b28-4ac3-867f-095d238fb9a1",
        "created_at": "2025-06-25T15:10:45+01:00",
        "updated_at": "2025-06-25T15:10:45+01:00",
        "is_proposed": true,
        "proposed_at": "2025-06-25T00:00:00+01:00"
      },
      "latest_valuation": {
        "uuid": "3e046dca-aa2a-441a-81c1-e1e2b43e30a1",
        "value": {
          "amount": {
            "example": "4000",
            "description": "Money amount at their lowest denominator (for example: pennies)"
          },
          "currency": {
            "example": "GBP",
            "description": "Currency of the money"
          },
          "formatted": {
            "example": "£40.00",
            "description": "Money amount formatted with currency"
          }
        },
        "valued_at": "2025-06-25T15:10:45+01:00",
        "created_at": "2025-06-25T15:10:45+01:00",
        "updated_at": "2025-06-25T15:10:45+01:00",
        "sub_account": "App\\Http\\Resources\\Plans\\SubAccountResource"
      }
    }
  ]
}