Changes

Cancel a specific contract change in your HubSpot account. This operation is useful when you need to revoke a proposed or pending change to a contract. Once canceled, the change will no longer be processed.

post/commerce/contracts/2027-03-beta/changes/{changeId}/cancel

Request

  • Base URL: https://api.hubapi.com
  • URL: https://api.hubapi.com/commerce/contracts/2027-03-beta/changes/{changeId}/cancel
  • Auth: none required

Path parameters

changeIdstring required

The unique identifier of the contract change to cancel.

Response

successful operation

contractIdstring required

The unique identifier of the contract associated with this change.

createdAtstring date-time

The date and time when the contract change was created, in ISO 8601 format.

effectiveDatestring date

The date when the contract change becomes effective, in YYYY-MM-DD format.

idstring required

The unique identifier for the contract change.

namestring

The name of the contract change.

proratingboolean required

A boolean indicating whether the contract change involves prorating.

quoteIdstring

The unique identifier of the quote associated with this contract change.

status'ACCEPTED' | 'CANCELED' | 'DRAFT' | 'EXPIRED' | 'FAILED' | 'PROPOSED' required

The current status of the contract change. Valid values include 'DRAFT', 'PROPOSED', 'ACCEPTED', 'CANCELED', 'FAILED', and 'EXPIRED'.

type'DIRECT' | 'QUOTE' required

The type of contract change. Valid values include 'DIRECT' and 'QUOTE'.

updatedAtstring date-time

The date and time when the contract change was last updated, in ISO 8601 format.

Changes