> ## Documentation Index
> Fetch the complete documentation index at: https://developer.eka.care/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Rate Plan Inclusion

> 
### Overview

This API updates an existing **rate plan inclusion** of your workspace. It is a partial update: only the fields sent in the request body are changed, and fields that are omitted keep their current value. Send `plan` to move the inclusion to another rate plan.

Returns `400` with `Rate plan inclusion not found` when the `inclusion_id` does not exist or belongs to another workspace.



## OpenAPI

````yaml post /ipd/v1/service/rateplans/inclusions/{inclusion_id}
openapi: 3.0.0
info:
  title: Ekacare API & Webhook Documentation
  contact: {}
  version: '1.0'
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /ipd/v1/service/rateplans/inclusions/{inclusion_id}:
    post:
      tags:
        - IPD API
      summary: Update Rate Plan Inclusion
      description: >-

        ### Overview


        This API updates an existing **rate plan inclusion** of your workspace.
        It is a partial update: only the fields sent in the request body are
        changed, and fields that are omitted keep their current value. Send
        `plan` to move the inclusion to another rate plan.


        Returns `400` with `Rate plan inclusion not found` when the
        `inclusion_id` does not exist or belongs to another workspace.
      operationId: UpdateIpdRatePlanInclusion
      parameters:
        - name: auth
          in: header
          required: true
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
        - name: inclusion_id
          in: path
          description: Id of the inclusion to update.
          required: true
          style: simple
          schema:
            type: string
          example: 66f1c7a1e4b0a1b2c3d4ea05
      requestBody:
        description: >-
          The inclusion fields to change. Send only the fields you want to
          update.
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                  description: New display name of the inclusion.
                rate:
                  type: number
                  description: New rate (amount) of the inclusion.
                plan:
                  type: string
                  description: Id of the rate plan to move the inclusion to.
            example:
              rate: 2800
      responses:
        '200':
          description: OK — the updated inclusion.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdRatePlanInclusionResponse'
              example:
                success: true
                data:
                  id: 66f1c7a1e4b0a1b2c3d4ea05
                  plan: 66f1c6f0e4b0a1b2c3d4e904
                  name: Bed charges
                  rate: 2800
                  updatedAt: '2026-10-07T10:35:00.000Z'
        '400':
          description: >-
            Bad Request — the request body failed validation (for example `rate`
            is not a number or an unknown field was sent), the `inclusion_id` or
            `plan` is not a valid id, or the inclusion was not found.
            Schema-validation errors currently return an empty `message`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
              example:
                message: Rate plan inclusion not found
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
      deprecated: false
components:
  schemas:
    IpdRatePlanInclusionResponse:
      title: IpdRatePlanInclusionResponse
      type: object
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/IpdRatePlanInclusion'
    IpdServiceError:
      title: IpdServiceError
      type: object
      properties:
        message:
          type: string
          description: Human-readable error message.
    IpdRatePlanInclusion:
      title: IpdRatePlanInclusion
      type: object
      properties:
        id:
          type: string
          description: Inclusion id.
        plan:
          type: string
          description: Id of the rate plan the inclusion belongs to.
        name:
          type: string
          description: Display name of the inclusion.
        rate:
          type: number
          description: Rate (amount) of the inclusion.
        updatedAt:
          type: string
          description: Last-updated date-time as an ISO-8601 string.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.