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

# Update service pricing groups assigned to a clinic

> This endpoint is available to Group API Keys only.

Replaces the full list of service pricing groups assigned to a clinic. This determines which pricing tier the clinic uses for each service pricing category.



## OpenAPI

````yaml put /ext/v2/clinics/{clinic_id}/assigned-service-pricing-groups/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/clinics/{clinic_id}/assigned-service-pricing-groups/:
    put:
      tags:
        - Service Pricing
      summary: Update service pricing groups assigned to a clinic
      description: >-
        This endpoint is available to Group API Keys only.


        Replaces the full list of service pricing groups assigned to a clinic.
        This determines which pricing tier the clinic uses for each service
        pricing category.
      operationId: clinic_assigned_pricing_groups_update
      parameters:
        - description: The ID of the clinic to update mappings for
          in: path
          name: clinic_id
          required: true
          schema:
            description: The ID of the clinic to update mappings for
            title: Clinic Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceClinicUpdateSchema'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalClinicAssignedPricingGroupsSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ServiceClinicUpdateSchema:
      properties:
        assigned_service_pricing_group_ids:
          description: The IDs of the service pricing groups assigned to this clinic.
          items:
            type: integer
          title: Assigned Service Pricing Group Ids
          type: array
      required:
        - assigned_service_pricing_group_ids
      title: ServiceClinicUpdateSchema
      type: object
    ExternalClinicAssignedPricingGroupsSchema:
      properties:
        assigned_service_pricing_group_ids:
          description: The IDs of the service pricing groups assigned to this clinic.
          items:
            type: integer
          title: Assigned Service Pricing Group Ids
          type: array
      required:
        - assigned_service_pricing_group_ids
      title: ExternalClinicAssignedPricingGroupsSchema
      type: object
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````