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

# Retrieve changes

> Retrieve a list of changes associated with a specific contract in your HubSpot account. This endpoint is useful for tracking modifications made to a contract over time, allowing you to audit changes and understand the history of a contract's amendments.

export const ScopesList = ({scopes = [], description = "This API requires one of the following scopes:"}) => {
  if (!scopes || scopes.length === 0) {
    return null;
  }
  const sortedScopes = scopes.sort((a, b) => a.localeCompare(b));
  return <div>
      <div className="text-sm mb-2">{description}</div>
      <div>
        {sortedScopes.map((scope, index) => <div key={index}>
            <code>
              <span className="text-xs">{scope}</span>
            </code>
          </div>)}
      </div>
    </div>;
};

export const SupportedProducts = ({marketing, sales, service, cms, data, commerce, crm, marketingLevel, salesLevel, serviceLevel, cmsLevel, dataLevel, commerceLevel, crmLevel}) => {
  const translations = {
    description: "Requires one of the following products or higher.",
    productNames: {
      marketing: "Marketing Hub",
      sales: "Sales Hub",
      service: "Service Hub",
      cms: "Content Hub",
      data: "Data Hub",
      commerce: "Revenue Hub",
      crm: "Smart CRM"
    },
    tiers: {
      free: "Free",
      starter: "Starter",
      professional: "Professional",
      enterprise: "Enterprise"
    }
  };
  const translateTier = tier => {
    if (!tier) return '';
    const lowerTier = tier.toLowerCase();
    return translations.tiers[lowerTier] || tier;
  };
  const products = [{
    name: marketing ? translations.productNames.marketing : '',
    level: translateTier(marketingLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/MarketingHub.svg",
    alt: "Marketing Hub"
  }, {
    name: sales ? translations.productNames.sales : '',
    level: translateTier(salesLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/SalesHub.svg",
    alt: "Sales Hub"
  }, {
    name: service ? translations.productNames.service : '',
    level: translateTier(serviceLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/ServiceHub.svg",
    alt: "Service Hub"
  }, {
    name: cms ? translations.productNames.cms : '',
    level: translateTier(cmsLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/ContentHub.svg",
    alt: "Content Hub"
  }, {
    name: data ? translations.productNames.data : '',
    level: translateTier(dataLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/DataHub.svg",
    alt: "Data Hub"
  }, {
    name: commerce ? translations.productNames.commerce : '',
    level: translateTier(commerceLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base/subscription_key_icons/commerce_icon.svg",
    alt: "Revenue Hub"
  }, {
    name: crm ? translations.productNames.crm : '',
    level: translateTier(crmLevel),
    icon: "https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/SmartCRM.svg",
    alt: "Smart CRM"
  }].filter(product => product.name && product.level);
  if (products.length === 0) return null;
  return <div>
      <div className="text-sm mb-2">{translations.description}</div>
      <div className={`grid ${products.length === 1 ? 'grid-cols-1' : 'grid-cols-2'} gap-1.5`}>
        {products.map((product, index) => <div key={index} style={{
    display: 'flex',
    alignItems: 'center'
  }}>
            <img src={product.icon} alt={product.alt} className="w-3.5 h-3.5 mr-1.5 mt-2.5 mb-2.5 flex-shrink-0 align-middle" />
            <span className="font-medium mr-1 text-sm">{product.name} -</span>
            <span className="text-sm">{product.level}</span>
          </div>)}
      </div>
    </div>;
};

<AccordionGroup>
  <Accordion title="Supported products" defaultOpen="true" icon="cubes">
    <SupportedProducts marketing={true} sales={true} service={true} cms={true} marketingLevel="FREE" salesLevel="FREE" serviceLevel="FREE" cmsLevel="FREE" />
  </Accordion>

  <Accordion title="Required Scopes" icon="key">
    <ScopesList
      scopes={[
  'contracts-read'
]}
    />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml specs/2027-03-beta/commerce-contracts-v2027-03-beta.json GET /commerce/contracts/2027-03-beta/contracts/{contractId}/changes
openapi: 3.0.1
info:
  title: Commerce Contracts
  description: Basepom for all HubSpot Projects
  version: 2027-03-beta
  x-hubspot-product-tier-requirements:
    marketing: FREE
    sales: FREE
    service: FREE
    cms: FREE
    commerce: FREE
    crmHub: FREE
    dataHub: FREE
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Advanced
  - name: Basic
  - name: Changes
paths:
  /commerce/contracts/2027-03-beta/contracts/{contractId}/changes:
    get:
      tags:
        - Changes
      summary: Retrieve changes
      description: >-
        Retrieve a list of changes associated with a specific contract in your
        HubSpot account. This endpoint is useful for tracking modifications made
        to a contract over time, allowing you to audit changes and understand
        the history of a contract's amendments.
      operationId: get-/commerce/contracts/2027-03-beta/contracts/{contractId}/changes
      parameters:
        - name: contractId
          in: path
          description: ''
          required: true
          style: simple
          explode: false
          schema:
            type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractChangesResponse'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - contracts-read
components:
  schemas:
    ContractChangesResponse:
      required:
        - changes
      type: object
      properties:
        changes:
          type: array
          description: >-
            An array of contract change objects, each representing a specific
            change made to the contract. Each item in the array is a
            ContractChangeResponse object.
          items:
            $ref: '#/components/schemas/ContractChangeSummaryResponse'
    ContractChangeSummaryResponse:
      required:
        - contractId
        - id
        - lineItemChanges
        - prorating
        - status
        - type
      type: object
      properties:
        contractId:
          type: string
        createdAt:
          type: string
          format: date-time
        effectiveDate:
          type: string
          format: date
        id:
          type: string
        lineItemChanges:
          type: array
          items:
            $ref: '#/components/schemas/LineItemChangeResponse'
        name:
          type: string
        prorating:
          type: boolean
        quoteId:
          type: string
        status:
          type: string
          enum:
            - ACCEPTED
            - CANCELED
            - DRAFT
            - EXPIRED
            - FAILED
            - PROPOSED
        type:
          type: string
          enum:
            - DIRECT
            - QUOTE
        updatedAt:
          type: string
          format: date-time
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: The error category
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Context about the error condition
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            A unique identifier for the request. Include this value with any
            error reports or support tickets
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: further information about the error
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            A map of link names to associated URIs containing documentation
            about the error or recommended remediation steps
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate
          example: An error occurred
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error
      description: >-
        Represents an error response returned by the API when an operation
        fails. This component is used in various endpoints to provide detailed
        information about the error encountered.
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    LineItemChangeResponse:
      required:
        - action
        - rampKey
      type: object
      properties:
        action:
          type: string
          description: >-
            The type of action performed on the line item. Valid values include
            'ADD', 'UPDATE', and 'REMOVE'.
          enum:
            - ADD
            - REMOVE
            - UPDATE
        lineItemAdd:
          oneOf:
            - $ref: '#/components/schemas/LineItemCustomCreateRequest'
            - $ref: '#/components/schemas/LineItemFromProductCreateRequest'
            - $ref: '#/components/schemas/LineItemCloneCreateRequest'
        lineItemUpdate:
          $ref: '#/components/schemas/LineItemChangeUpdate'
        rampKey:
          type: string
          description: >-
            A unique identifier for the ramp associated with the line item
            change, formatted as a UUID.
          format: uuid
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: The status code associated with the error detail
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Context about the error condition
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: The name of the field or parameter in which the error was found.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error
      description: >-
        Represents detailed information about an error that occurred in the API.
        This component is used to provide additional context and specifics about
        errors, typically as part of an error response.
    LineItemCustomCreateRequest:
      title: CUSTOM
      required:
        - mode
        - name
        - pricing
        - quantity
      type: object
      properties:
        allowBuyerSelectedQuantity:
          type: boolean
          description: >-
            A boolean specifying if the buyer can select the quantity of the
            line item.
        billingCycleAnchorDate:
          type: string
          description: >-
            A string in date format representing the anchor date for the billing
            cycle.
          format: date
        billingStartDelayDays:
          type: integer
          description: >-
            An integer indicating the number of days to delay the start of
            billing.
          format: int32
        billingStartDelayMonths:
          type: integer
          description: >-
            An integer specifying the number of months to delay the start of
            billing.
          format: int32
        buyerSelectedQuantityMax:
          type: number
          description: A number representing the maximum quantity the buyer can select.
        buyerSelectedQuantityMin:
          type: number
          description: A number representing the minimum quantity the buyer can select.
        description:
          type: string
          description: A string providing a description of the line item.
        discount:
          type: number
          description: A number representing the discount applied to the line item.
        discountPercentage:
          type: number
          description: >-
            A number indicating the percentage discount applied to the line
            item.
        externalId:
          type: string
          description: A string containing an external identifier for the line item.
        images:
          type: string
          description: >-
            A string containing URLs or references to images associated with the
            line item.
        isEditablePrice:
          type: boolean
          description: A boolean indicating if the price of the line item is editable.
        isOptional:
          type: boolean
          description: A boolean indicating whether the line item is optional.
        lineItemCurrencyCode:
          type: string
          description: A string representing the currency code for the line item.
        mode:
          type: string
          description: >-
            A string indicating the mode of the line item, with a default value
            of 'CUSTOM'.
          default: CUSTOM
          enum:
            - CUSTOM
        name:
          type: string
          description: A string representing the name of the line item.
        positionOnQuote:
          type: integer
          description: An integer indicating the position of the line item on a quote.
          format: int32
        priceBookId:
          type: string
          description: >-
            A string representing the ID of the price book associated with the
            line item.
        pricing:
          $ref: '#/components/schemas/PricingFullUpdateRequest'
        productId:
          type: string
          description: A string identifying the product associated with the line item.
        productType:
          type: string
          description: A string indicating the type of product for the line item.
        quantity:
          type: number
          description: A number specifying the quantity of the line item.
        recurringBillingEndDate:
          type: string
          description: >-
            A string in date format indicating the end date of recurring
            billing.
          format: date
        recurringBillingFrequency:
          type: string
          description: >-
            A string specifying the frequency of recurring billing for the line
            item, with valid values including 'ANNUALLY', 'BIWEEKLY', 'MONTHLY',
            'PER_FIVE_YEARS', 'PER_FOUR_YEARS', 'PER_SIX_MONTHS',
            'PER_THREE_YEARS', 'PER_TWO_YEARS', 'QUARTERLY', and 'WEEKLY'.
          enum:
            - ANNUALLY
            - BIWEEKLY
            - MONTHLY
            - PER_FIVE_YEARS
            - PER_FOUR_YEARS
            - PER_SIX_MONTHS
            - PER_THREE_YEARS
            - PER_TWO_YEARS
            - QUARTERLY
            - WEEKLY
        recurringBillingPeriod:
          type: string
          description: A string specifying the period of recurring billing.
        recurringBillingStartDate:
          type: string
          description: >-
            A string in date format representing the start date of recurring
            billing.
          format: date
        richTextDescription:
          type: string
          description: A string containing a rich text description of the line item.
        sku:
          type: string
          description: A string representing the stock keeping unit (SKU) of the line item.
        taxCategory:
          type: string
        taxRateGroupId:
          type: string
        variantId:
          type: string
          description: A string identifying the variant of the product for the line item.
      x-hubspot-sub-type-impl: true
    LineItemFromProductCreateRequest:
      title: FROM_PRODUCT
      required:
        - allowBuyerSelectedQuantity
        - billingCycleAnchorDate
        - billingStartDelayDays
        - billingStartDelayMonths
        - buyerSelectedQuantityMax
        - buyerSelectedQuantityMin
        - description
        - discount
        - discountPercentage
        - externalId
        - images
        - isEditablePrice
        - isOptional
        - lineItemCurrencyCode
        - mode
        - name
        - positionOnQuote
        - priceBookId
        - pricing
        - productId
        - productType
        - quantity
        - recurringBillingEndDate
        - recurringBillingFrequency
        - recurringBillingPeriod
        - recurringBillingStartDate
        - richTextDescription
        - sku
        - taxCategory
        - taxRateGroupId
        - variantId
      type: object
      properties:
        allowBuyerSelectedQuantity:
          type: object
          properties: {}
          description: >-
            An object indicating whether the buyer can select the quantity of
            the line item.
        billingCycleAnchorDate:
          type: object
          properties: {}
          description: An object representing the anchor date for the billing cycle.
        billingStartDelayDays:
          type: object
          properties: {}
          description: >-
            An object representing the number of days to delay the start of
            billing.
        billingStartDelayMonths:
          type: object
          properties: {}
          description: >-
            An object representing the number of months to delay the start of
            billing.
        buyerSelectedQuantityMax:
          type: object
          properties: {}
          description: An object representing the maximum quantity the buyer can select.
        buyerSelectedQuantityMin:
          type: object
          properties: {}
          description: An object representing the minimum quantity the buyer can select.
        description:
          type: object
          properties: {}
          description: An object representing the description of the line item.
        discount:
          type: object
          properties: {}
          description: An object representing the discount applied to the line item.
        discountPercentage:
          type: object
          properties: {}
          description: >-
            An object representing the percentage discount applied to the line
            item.
        externalId:
          type: object
          properties: {}
          description: An object representing an external identifier for the line item.
        images:
          type: object
          properties: {}
          description: An object representing the images associated with the line item.
        isEditablePrice:
          type: object
          properties: {}
          description: An object indicating whether the price of the line item is editable.
        isOptional:
          type: object
          properties: {}
          description: An object indicating whether the line item is optional.
        lineItemCurrencyCode:
          type: object
          properties: {}
          description: An object representing the currency code for the line item.
        mode:
          type: string
          description: >-
            A string indicating the mode of the line item creation, defaulting
            to 'FROM_PRODUCT'.
          default: FROM_PRODUCT
          enum:
            - FROM_PRODUCT
        name:
          type: object
          properties: {}
          description: An object representing the name of the line item.
        positionOnQuote:
          type: object
          properties: {}
          description: An object representing the position of the line item on the quote.
        priceBookId:
          type: object
          properties: {}
          description: >-
            An object representing the ID of the price book associated with the
            line item.
        pricing:
          type: object
          properties: {}
          description: An object representing the pricing details of the line item.
        productId:
          type: string
          description: >-
            A string representing the ID of the product associated with the line
            item.
        productType:
          type: object
          properties: {}
          description: An object representing the type of product for the line item.
        quantity:
          type: object
          properties: {}
          description: An object representing the quantity of the product in the line item.
        recurringBillingEndDate:
          type: object
          properties: {}
          description: An object representing the end date for recurring billing.
        recurringBillingFrequency:
          type: object
          properties: {}
          description: >-
            An object representing the frequency of recurring billing for the
            line item.
        recurringBillingPeriod:
          type: object
          properties: {}
          description: An object representing the period of recurring billing.
        recurringBillingStartDate:
          type: object
          properties: {}
          description: An object representing the start date for recurring billing.
        richTextDescription:
          type: object
          properties: {}
          description: An object representing the rich text description of the line item.
        sku:
          type: object
          properties: {}
          description: An object representing the stock keeping unit (SKU) of the product.
        taxCategory:
          type: object
          properties: {}
        taxRateGroupId:
          type: object
          properties: {}
        variantId:
          type: object
          properties: {}
          description: An object representing the variant ID of the product.
      x-hubspot-sub-type-impl: true
    LineItemCloneCreateRequest:
      title: CLONE
      required:
        - allowBuyerSelectedQuantity
        - billingCycleAnchorDate
        - billingStartDelayDays
        - billingStartDelayMonths
        - buyerSelectedQuantityMax
        - buyerSelectedQuantityMin
        - description
        - discount
        - discountPercentage
        - externalId
        - images
        - isEditablePrice
        - isOptional
        - lineItemCurrencyCode
        - mode
        - name
        - positionOnQuote
        - priceBookId
        - pricing
        - productType
        - quantity
        - recurringBillingEndDate
        - recurringBillingFrequency
        - recurringBillingPeriod
        - recurringBillingStartDate
        - richTextDescription
        - sku
        - sourceLineItemId
        - taxCategory
        - taxRateGroupId
        - variantId
      type: object
      properties:
        allowBuyerSelectedQuantity:
          type: object
          properties: {}
          description: >-
            An object indicating whether the buyer can select the quantity of
            the line item.
        billingCycleAnchorDate:
          type: object
          properties: {}
          description: >-
            An object representing the anchor date for the billing cycle of the
            line item.
        billingStartDelayDays:
          type: object
          properties: {}
          description: >-
            An object representing the number of days to delay the start of
            billing for the line item.
        billingStartDelayMonths:
          type: object
          properties: {}
          description: >-
            An object representing the number of months to delay the start of
            billing for the line item.
        buyerSelectedQuantityMax:
          type: object
          properties: {}
          description: >-
            An object representing the maximum quantity that the buyer can
            select for the line item.
        buyerSelectedQuantityMin:
          type: object
          properties: {}
          description: >-
            An object representing the minimum quantity that the buyer can
            select for the line item.
        description:
          type: object
          properties: {}
          description: An object representing the description of the line item.
        discount:
          type: object
          properties: {}
          description: An object representing the discount applied to the line item.
        discountPercentage:
          type: object
          properties: {}
          description: >-
            An object representing the percentage discount applied to the line
            item.
        externalId:
          type: object
          properties: {}
          description: An object representing an external identifier for the line item.
        images:
          type: object
          properties: {}
          description: An object representing the images associated with the line item.
        isEditablePrice:
          type: object
          properties: {}
          description: An object indicating whether the price of the line item is editable.
        isOptional:
          type: object
          properties: {}
          description: An object indicating whether the line item is optional.
        lineItemCurrencyCode:
          type: object
          properties: {}
          description: An object representing the currency code for the line item.
        mode:
          type: string
          description: >-
            A string indicating the mode of the line item creation, which is
            'CLONE' by default.
          default: CLONE
          enum:
            - CLONE
        name:
          type: object
          properties: {}
          description: An object representing the name of the line item.
        positionOnQuote:
          type: object
          properties: {}
          description: An object representing the position of the line item on the quote.
        priceBookId:
          type: object
          properties: {}
          description: >-
            An object representing the ID of the price book associated with the
            line item.
        pricing:
          type: object
          properties: {}
          description: An object representing the pricing details of the line item.
        productType:
          type: object
          properties: {}
          description: An object representing the type of product for the line item.
        quantity:
          type: object
          properties: {}
          description: An object representing the quantity of the line item.
        recurringBillingEndDate:
          type: object
          properties: {}
          description: >-
            An object representing the end date for recurring billing of the
            line item.
        recurringBillingFrequency:
          type: object
          properties: {}
          description: >-
            An object representing the frequency of recurring billing for the
            line item.
        recurringBillingPeriod:
          type: object
          properties: {}
          description: >-
            An object representing the billing period for recurring billing of
            the line item.
        recurringBillingStartDate:
          type: object
          properties: {}
          description: >-
            An object representing the start date for recurring billing of the
            line item.
        richTextDescription:
          type: object
          properties: {}
          description: An object representing the rich text description of the line item.
        sku:
          type: object
          properties: {}
          description: >-
            An object representing the stock keeping unit (SKU) of the line
            item.
        sourceLineItemId:
          type: string
          description: A string representing the ID of the source line item being cloned.
        taxCategory:
          type: object
          properties: {}
        taxRateGroupId:
          type: object
          properties: {}
        variantId:
          type: object
          properties: {}
          description: An object representing the variant ID of the line item.
      x-hubspot-sub-type-impl: true
    LineItemChangeUpdate:
      required:
        - allowBuyerSelectedQuantity
        - billingCycleAnchorDate
        - billingStartDelayDays
        - billingStartDelayMonths
        - buyerSelectedQuantityMax
        - buyerSelectedQuantityMin
        - description
        - discount
        - discountPercentage
        - externalId
        - images
        - isEditablePrice
        - isOptional
        - lineItemCurrencyCode
        - name
        - positionOnQuote
        - priceBookId
        - pricing
        - productType
        - quantity
        - recurringBillingEndDate
        - recurringBillingFrequency
        - recurringBillingPeriod
        - recurringBillingStartDate
        - richTextDescription
        - sku
        - taxCategory
        - taxRateGroupId
        - variantId
      type: object
      properties:
        allowBuyerSelectedQuantity:
          type: object
          properties: {}
          description: >-
            An object indicating whether the buyer is allowed to select the
            quantity of the line item.
        billingCycleAnchorDate:
          type: object
          properties: {}
          description: >-
            An object representing the anchor date for the billing cycle of the
            line item.
        billingStartDelayDays:
          type: object
          properties: {}
          description: >-
            An object representing the number of days to delay the start of
            billing for the line item.
        billingStartDelayMonths:
          type: object
          properties: {}
          description: >-
            An object representing the number of months to delay the start of
            billing for the line item.
        buyerSelectedQuantityMax:
          type: object
          properties: {}
          description: >-
            An object representing the maximum quantity that the buyer can
            select for the line item.
        buyerSelectedQuantityMin:
          type: object
          properties: {}
          description: >-
            An object representing the minimum quantity that the buyer can
            select for the line item.
        description:
          type: object
          properties: {}
          description: An object representing the description of the line item.
        discount:
          type: object
          properties: {}
          description: An object representing the discount applied to the line item.
        discountPercentage:
          type: object
          properties: {}
          description: >-
            An object representing the discount percentage applied to the line
            item.
        externalId:
          type: object
          properties: {}
          description: An object representing the external ID of the line item.
        images:
          type: object
          properties: {}
          description: An object representing the images associated with the line item.
        isEditablePrice:
          type: object
          properties: {}
          description: An object indicating whether the price of the line item is editable.
        isOptional:
          type: object
          properties: {}
          description: An object indicating whether the line item is optional.
        lineItemCurrencyCode:
          type: object
          properties: {}
          description: An object representing the currency code for the line item.
        name:
          type: object
          properties: {}
          description: An object representing the name of the line item.
        positionOnQuote:
          type: object
          properties: {}
          description: An object representing the position of the line item on the quote.
        priceBookId:
          type: object
          properties: {}
          description: >-
            An object representing the price book ID associated with the line
            item.
        pricing:
          type: object
          properties: {}
          description: An object representing the pricing details of the line item.
        productType:
          type: object
          properties: {}
          description: An object representing the type of product for the line item.
        quantity:
          type: object
          properties: {}
          description: An object representing the quantity of the line item.
        recurringBillingEndDate:
          type: object
          properties: {}
          description: >-
            An object representing the end date for recurring billing of the
            line item.
        recurringBillingFrequency:
          type: object
          properties: {}
          description: >-
            An object representing the frequency of recurring billing for the
            line item.
        recurringBillingPeriod:
          type: object
          properties: {}
          description: >-
            An object representing the billing period for recurring billing of
            the line item.
        recurringBillingStartDate:
          type: object
          properties: {}
          description: >-
            An object representing the start date for recurring billing of the
            line item.
        richTextDescription:
          type: object
          properties: {}
          description: An object representing the rich text description of the line item.
        sku:
          type: object
          properties: {}
          description: >-
            An object representing the stock keeping unit (SKU) of the line
            item.
        taxCategory:
          type: object
          properties: {}
          description: An object representing the tax category of the line item.
        taxRateGroupId:
          type: object
          properties: {}
          description: An object representing the tax rate group ID for the line item.
        variantId:
          type: object
          properties: {}
          description: An object representing the variant ID of the line item.
    PricingFullUpdateRequest:
      required:
        - prices
        - pricingModel
      type: object
      properties:
        prices:
          type: array
          description: >-
            An array of PriceUpdateEntry objects, each representing a price
            entry with details such as currency code and price.
          items:
            $ref: '#/components/schemas/PriceUpdateEntry'
        pricingModel:
          type: string
          description: >-
            A string representing the pricing model used. Valid values include
            'FLAT', 'GRADUATED', 'STAIRSTEP', and 'VOLUME'.
          enum:
            - FLAT
            - GRADUATED
            - STAIRSTEP
            - VOLUME
    PriceUpdateEntry:
      required:
        - currencyCode
        - price
      type: object
      properties:
        currencyCode:
          type: string
          description: >-
            The currency code in which the price is denominated, represented as
            a string.
        maxQuantity:
          type: integer
          description: >-
            The maximum quantity for which this price is applicable, represented
            as a string.
          format: int32
        price:
          type: object
          properties: {}
          description: >-
            The price value associated with the currency code, represented as an
            object.
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            contracts-read: ''
            revenue-contracts-public-api-write: ''

````