> ## 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.

---
id: 5723b6d9-4658-4100-bd4f-e6d50c1d96ed
---

# Accept Change

> Accept a specific change to a commerce contract identified by the changeId. This operation is useful for finalizing proposed changes to contracts, ensuring that the modifications are applied and the contract is updated accordingly.

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://mintlify-assets.b-cdn.net/Icons/marketing-bolt.svg",
    alt: "Marketing Hub"
  }, {
    name: sales ? translations.productNames.sales : '',
    level: translateTier(salesLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/sales-star.svg",
    alt: "Sales Hub"
  }, {
    name: service ? translations.productNames.service : '',
    level: translateTier(serviceLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/service-heart.svg",
    alt: "Service Hub"
  }, {
    name: cms ? translations.productNames.cms : '',
    level: translateTier(cmsLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/content-play.svg",
    alt: "Content Hub"
  }, {
    name: data ? translations.productNames.data : '',
    level: translateTier(dataLevel),
    icon: "https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/subscription_key_icons/operations_icon.svg",
    alt: "Data Hub"
  }, {
    name: commerce ? translations.productNames.commerce : '',
    level: translateTier(commerceLevel),
    icon: "https://developers.hubspot.com/hubfs/Knowledge_Base/subscription_key_icons/commerce_icon.svg",
    alt: "Revenue Hub"
  }, {
    name: crm ? translations.productNames.crm : '',
    level: translateTier(crmLevel),
    icon: "https://developer.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" commerce={true} commerceLevel="FREE" />
  </Accordion>

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


## OpenAPI

````yaml specs/2026-09-beta/commerce-contracts-v2026-09-beta.json POST /commerce/contracts/2026-09-beta/changes/{changeId}/accept
openapi: 3.0.1
info:
  title: Commerce Contracts
  description: Basepom for all HubSpot Projects
  version: 2026-09-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: Basic
  - name: Changes
paths:
  /commerce/contracts/2026-09-beta/changes/{changeId}/accept:
    post:
      tags:
        - Changes
      summary: Accept Change
      description: >-
        Accept a specific change to a commerce contract identified by the
        changeId. This operation is useful for finalizing proposed changes to
        contracts, ensuring that the modifications are applied and the contract
        is updated accordingly.
      operationId: post-/commerce/contracts/2026-09-beta/changes/{changeId}/accept
      parameters:
        - name: changeId
          in: path
          description: The unique identifier of the contract change to accept.
          required: true
          style: simple
          explode: false
          schema:
            type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractChangeResponse'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - revenue-contracts-public-api-write
components:
  schemas:
    ContractChangeResponse:
      required:
        - contractId
        - id
        - lineItemChanges
        - prorating
        - status
        - type
      type: object
      properties:
        contractId:
          type: string
          description: The unique identifier of the contract associated with this change.
        createdAt:
          type: string
          description: >-
            The date and time when this contract change was created, in ISO 8601
            format.
          format: date-time
        effectiveDate:
          type: string
          description: >-
            The date when the contract change becomes effective, in ISO 8601
            date format.
          format: date
        id:
          type: string
          description: The unique identifier for this contract change.
        lineItemChanges:
          type: array
          description: An array of line item changes associated with this contract change.
          items:
            $ref: '#/components/schemas/LineItemChangeResponse'
        name:
          type: string
          description: The name of the contract change.
        prorating:
          type: boolean
          description: A boolean indicating whether the contract change involves prorating.
        quoteId:
          type: string
          description: >-
            The unique identifier of the quote associated with this contract
            change, if applicable.
        status:
          type: string
          description: >-
            The current status of the contract change. Valid values include
            'DRAFT', 'PROPOSED', 'ACCEPTED', 'CANCELED', 'FAILED', and
            'EXPIRED'.
          enum:
            - ACCEPTED
            - CANCELED
            - DRAFT
            - EXPIRED
            - FAILED
            - PROPOSED
        type:
          type: string
          description: >-
            The type of contract change, which can be either 'DIRECT' or
            'QUOTE'.
          enum:
            - DIRECT
            - QUOTE
        updatedAt:
          type: string
          description: >-
            The date and time when this contract change was last updated, in ISO
            8601 format.
          format: date-time
    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
        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
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: The error category, represented as a string.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Context about the error condition, represented as an object with
            additional properties that are arrays of strings.
          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. It is a string in UUID format.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: >-
            Further information about the error, provided as an array of
            ErrorDetail objects.
          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, represented as an
            object with additional properties that are strings.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate. It is a string.
          example: An error occurred
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error, represented as a string.
      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
    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
        - 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 the buyer can select for
            the line item.
        buyerSelectedQuantityMin:
          type: object
          properties: {}
          description: >-
            An object representing the minimum quantity 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 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.
        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 period of recurring billing for 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.
        variantId:
          type: object
          properties: {}
          description: An object representing the variant ID of the line item.
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: >-
            The status code associated with the error detail. This is a string
            property.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Context about the error condition, represented as an object. It can
            include additional properties, each being an array of strings,
            providing further context such as missing scopes.
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: >-
            The name of the field or parameter in which the error was found.
            This is a string property.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate. It is a required string property.
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error. This is a string property.
  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: ''

````