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

# Update a prescription product

> Partial update — send only the fields to change. `PUT` is also accepted with identical merge semantics for backward compatibility.




## OpenAPI

````yaml /openapi-public.yml patch /api/v1/products/prescription/{product_id}
openapi: 3.0.3
info:
  title: Blend API
  version: 1.0.0
  description: API for Blend
servers:
  - url: https://api.byblend.com
    description: Blend production server
security:
  - bearerAuth: []
tags:
  - name: Orders
    description: Order management endpoints
  - name: Patients
    description: Patient management endpoints
  - name: Reports
    description: Reporting endpoints
  - name: Products and Materials
    description: Product catalog and inventory endpoints
  - name: Electronic Prescriptions
    description: Electronic prescription management endpoints
  - name: Prescriptions
    description: Prescription management endpoints
  - name: Authentication
    description: Authentication endpoints
  - name: Notifications
    description: User management endpoints
  - name: Prescribers
paths:
  /api/v1/products/prescription/{product_id}:
    patch:
      tags:
        - Products and Materials
      summary: Update a prescription product
      description: >
        Partial update — send only the fields to change. `PUT` is also accepted
        with identical merge semantics for backward compatibility.
      parameters:
        - name: prescription product ID
          in: path
          required: true
          description: Unique (UUID) identifier for the prescription product
          schema:
            type: string
            format: uuid
            example: 98cae3a3-996c-4bf5-9143-0ab6d98bc1d0
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductPrescriptionEdit'
      responses:
        '200':
          description: Prescription product updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductPrescriptionFull'
components:
  schemas:
    ProductPrescriptionEdit:
      type: object
      properties:
        name:
          type: string
          example: Mupirocin
          description: Name of the product
        sku:
          type: string
          example: MY-SKU_1234567890
          description: External SKU of the product; can be referenced in orders
        description:
          type: string
          example: A topical cream that is used to treat skin infections.
          description: Description of the product
        product_code:
          type: string
          example: SUPERSPRAY15
          description: >-
            Customer code for the product (for use in electronic prescription
            references).
    ProductPrescriptionFull:
      allOf:
        - $ref: '#/components/schemas/ProductBase'
        - $ref: '#/components/schemas/ProductPrescription'
    ProductBase:
      allOf:
        - $ref: '#/components/schemas/ID'
        - $ref: '#/components/schemas/Timestamps'
        - type: object
          properties:
            sku:
              type: string
              example: '1234567890'
              description: Unique inventory identifier for the product
    ProductPrescription:
      type: object
      properties:
        name:
          type: string
          example: Mupirocin
        description:
          type: string
          example: A topical cream that is used to treat skin infections.
        product_code:
          type: string
          example: SUPERSPRAY15
          description: >-
            Customer reference for the product for use in electronic
            prescriptions.
        form:
          type: string
          example: cream
          description: Optional form of the product for customer use, if desired.
        is_active:
          type: boolean
          example: true
          description: Whether the product is currently active for purchase or prescription
        label_orientation:
          type: string
          example: portrait
          description: >-
            Orientation of the printed product label, either `portrait` or
            `landscape`.
        strength:
          type: string
          example: 1%
          description: Optional strength of the product for customer use, if desired.
    ID:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier
          example: 0227d1e5-ba9a-42b5-8fe2-38882aa65708
    Timestamps:
      type: object
      properties:
        created_at:
          type: string
          format: date-time
          description: Date and time of creation
          example: '2025-03-15T12:00:00Z'
        updated_at:
          type: string
          format: date-time
          description: Date and time of last update
          example: '2025-03-15T12:00:00Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````