> ## 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 prices for a service pricing group

> This endpoint is available to Group API Keys only.

Updates the prices for one or more services within a specific service pricing group.



## OpenAPI

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


        Updates the prices for one or more services within a specific service
        pricing group.
      operationId: service_pricing_group_pricing_update
      parameters:
        - description: The ID of the service pricing group to update
          in: path
          name: service_pricing_group_id
          required: true
          schema:
            description: The ID of the service pricing group to update
            title: Service Pricing Group Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServicePricingGroupPricingUpdateSchema'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalPricingGroupPricingDetailSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ServicePricingGroupPricingUpdateSchema:
      properties:
        prices:
          items:
            $ref: >-
              #/components/schemas/IndividualServicePricingGroupPricingUpdateSchema
          maxItems: 10
          title: Prices
          type: array
      required:
        - prices
      title: ServicePricingGroupPricingUpdateSchema
      type: object
    ExternalPricingGroupPricingDetailSchema:
      properties:
        group_services_with_prices:
          description: A list of group-defined services with their associated prices.
          items:
            $ref: '#/components/schemas/ExternalGroupServiceWithPricingSchema'
          title: Group Services With Prices
          type: array
        service_pricing_group_id:
          description: The unique ID of the service pricing group these prices are for.
          title: Service Pricing Group Id
          type: integer
      required:
        - service_pricing_group_id
        - group_services_with_prices
      title: ExternalPricingGroupPricingDetailSchema
      type: object
    IndividualServicePricingGroupPricingUpdateSchema:
      properties:
        group_service_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The unique ID of the group service to set a price for. Exactly one
            of `service_code` and `group_service_id` must be set.
          title: Group Service Id
        service_code:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The service code of the group service to set a price for. Exactly
            one of `service_code` and `group_service_id` must be set.
          title: Service Code
        strategy_kind:
          $ref: '#/components/schemas/ServicePriceStrategyKind'
          description: The pricing strategy used for this service.
        strategy_value:
          anyOf:
            - $ref: '#/components/schemas/FixedPricingStrategyRule'
            - type: 'null'
          description: >-
            The values used to calculate price, based on the pricing strategy.
            Only necessary when using a FIXED_PRICING strategy.
      required:
        - strategy_kind
      title: IndividualServicePricingGroupPricingUpdateSchema
      type: object
    ExternalGroupServiceWithPricingSchema:
      properties:
        code:
          description: The unique service code for this service.
          title: Code
          type: string
        created_at:
          description: The date and time the service was created.
          format: date-time
          title: Created At
          type: string
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The display name of the service. Defaults to the service's name if
            not defined.
          title: Display Name
        id:
          description: The unique identifier for the service.
          title: Id
          type: integer
        is_enabled:
          description: Whether the service is enabled.
          title: Is Enabled
          type: boolean
        is_removable:
          description: >-
            Whether this service is removable once added to the medical record.
            Only relevant for linked services.
          title: Is Removable
          type: boolean
        is_searchable_for_line_items:
          description: >-
            Whether this service is searchable in medical records, invoices, and
            estimates, to be added as a line item.
          title: Is Searchable For Line Items
          type: boolean
        kind:
          anyOf:
            - $ref: '#/components/schemas/ServiceKind'
            - const: ''
              type: string
          description: The type of the service.
          title: Kind
        min_price:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: >-
            The minimum price for this service, below which it cannot be
            discounted.
          title: Min Price
        name:
          description: The name of this service.
          title: Name
          type: string
        revenue_category_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: The ID of the revenue category for this service.
          title: Revenue Category Id
        service_price:
          $ref: '#/components/schemas/ExternalServicePrice'
          description: The service price for this service.
        service_pricing_category_id:
          description: The ID of the pricing category for this service.
          title: Service Pricing Category Id
          type: integer
        tax_category_id:
          description: The ID of the tax category for this service.
          title: Tax Category Id
          type: integer
        unit_of_measure:
          anyOf:
            - $ref: '#/components/schemas/InventoryUnitOfMeasure'
            - const: ''
              type: string
          description: >-
            The unit of measurement. This service is sold in increments of this
            unit.
          title: Unit Of Measure
      required:
        - id
        - code
        - name
        - kind
        - service_pricing_category_id
        - is_enabled
        - created_at
        - min_price
        - is_removable
        - unit_of_measure
        - tax_category_id
        - revenue_category_id
        - is_searchable_for_line_items
        - service_price
      title: ExternalGroupServiceWithPricingSchema
      type: object
    ServicePriceStrategyKind:
      enum:
        - FIXED_PRICING
        - STANDARD_PRICING
        - EXTERNAL_LAB_PRICING
      title: ServicePriceStrategyKind
      type: string
    FixedPricingStrategyRule:
      properties:
        price_input:
          description: The fixed price to set for this service, in cents.
          title: Price Input
          type: integer
      required:
        - price_input
      title: FixedPricingStrategyRule
      type: object
    ServiceKind:
      enum:
        - PROCEDURE
        - PRODUCT
        - MEDICATION
        - VACCINE
        - LAB
        - FEE
        - SERVICE
        - UNKNOWN
        - CARE_PLAN
      title: ServiceKind
      type: string
    ExternalServicePrice:
      properties:
        current_price:
          anyOf:
            - type: integer
            - type: 'null'
          description: The current price for this service.
          title: Current Price
        id:
          anyOf:
            - type: integer
            - type: 'null'
          description: The unique identifier for the service price.
          title: Id
        service_pricing_group_id:
          description: The unique ID of the service pricing group these prices are for.
          title: Service Pricing Group Id
          type: integer
        strategy_kind:
          anyOf:
            - $ref: '#/components/schemas/ServicePriceStrategyKind'
            - const: ''
              type: string
          description: The pricing strategy used for this service.
          title: Strategy Kind
        strategy_value:
          description: The values used to calculate price, based on the pricing strategy.
          title: Strategy Value
          type: object
      required:
        - id
        - service_pricing_group_id
        - strategy_kind
        - strategy_value
      title: ExternalServicePrice
      type: object
    InventoryUnitOfMeasure:
      enum:
        - APPLICATOR
        - BAG
        - BOTTLE
        - BOX
        - BUCKET
        - CAN
        - CAPLET
        - CAPSULE
        - CASE
        - CATHETER
        - CHEW
        - COLLAR
        - DOSE
        - EACH
        - GRAM
        - GALLON
        - JAR
        - KIT
        - POUND
        - LITER
        - MILLILITER
        - NEEDLE
        - OUNCE
        - PACKET
        - PAIR
        - PIPETTE
        - PURCHASING_UNIT
        - QUART
        - ROLL
        - SUTURE
        - SYRINGE
        - TABLET
        - TEST
        - TRAY
        - TUB
        - TUBE
        - VIAL
        - YARD
      title: InventoryUnitOfMeasure
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````