curl --request POST \
--url https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew \
--header 'Content-Type: application/json' \
--data '
{
"automatedTaxesEnabled": {},
"billingAddress": {},
"billingCompanyId": {},
"contractEffectiveDate": "2023-12-25",
"dealId": {},
"locale": {},
"netPaymentTerms": {},
"ownerId": {},
"poNumber": {},
"sellerCompanyAddress": {},
"sellerCompanyDomain": {},
"sellerCompanyName": {},
"sellerEmail": {},
"sellerFirstName": {},
"sellerLastName": {},
"sellerPhone": {},
"addressTypesToCollect": [],
"allowedPaymentMethods": [],
"billingContactId": "<string>",
"businessUnitId": "<string>",
"currencyCode": "<string>",
"customProperties": {},
"hubspotBillingEnabled": true,
"lineItems": [
{
"lineItem": {
"mode": "CUSTOM",
"name": "<string>",
"pricing": {
"prices": [
{
"currencyCode": "<string>",
"price": {},
"maxQuantity": 123
}
]
},
"quantity": 123,
"allowBuyerSelectedQuantity": true,
"billingCycleAnchorDate": "2023-12-25",
"billingStartDelayDays": 123,
"billingStartDelayMonths": 123,
"buyerSelectedQuantityMax": 123,
"buyerSelectedQuantityMin": 123,
"description": "<string>",
"discount": 123,
"discountPercentage": 123,
"externalId": "<string>",
"images": "<string>",
"isEditablePrice": true,
"isOptional": true,
"lineItemCurrencyCode": "<string>",
"positionOnQuote": 123,
"priceBookId": "<string>",
"productId": "<string>",
"productType": "<string>",
"recurringBillingEndDate": "2023-12-25",
"recurringBillingPeriod": "<string>",
"recurringBillingStartDate": "2023-12-25",
"richTextDescription": "<string>",
"sku": "<string>",
"taxCategory": "<string>",
"taxRateGroupId": "<string>",
"variantId": "<string>"
},
"previousRampKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"name": "<string>",
"paymentEnabled": true
}
'import requests
url = "https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew"
payload = {
"automatedTaxesEnabled": {},
"billingAddress": {},
"billingCompanyId": {},
"contractEffectiveDate": "2023-12-25",
"dealId": {},
"locale": {},
"netPaymentTerms": {},
"ownerId": {},
"poNumber": {},
"sellerCompanyAddress": {},
"sellerCompanyDomain": {},
"sellerCompanyName": {},
"sellerEmail": {},
"sellerFirstName": {},
"sellerLastName": {},
"sellerPhone": {},
"addressTypesToCollect": [],
"allowedPaymentMethods": [],
"billingContactId": "<string>",
"businessUnitId": "<string>",
"currencyCode": "<string>",
"customProperties": {},
"hubspotBillingEnabled": True,
"lineItems": [
{
"lineItem": {
"mode": "CUSTOM",
"name": "<string>",
"pricing": { "prices": [
{
"currencyCode": "<string>",
"price": {},
"maxQuantity": 123
}
] },
"quantity": 123,
"allowBuyerSelectedQuantity": True,
"billingCycleAnchorDate": "2023-12-25",
"billingStartDelayDays": 123,
"billingStartDelayMonths": 123,
"buyerSelectedQuantityMax": 123,
"buyerSelectedQuantityMin": 123,
"description": "<string>",
"discount": 123,
"discountPercentage": 123,
"externalId": "<string>",
"images": "<string>",
"isEditablePrice": True,
"isOptional": True,
"lineItemCurrencyCode": "<string>",
"positionOnQuote": 123,
"priceBookId": "<string>",
"productId": "<string>",
"productType": "<string>",
"recurringBillingEndDate": "2023-12-25",
"recurringBillingPeriod": "<string>",
"recurringBillingStartDate": "2023-12-25",
"richTextDescription": "<string>",
"sku": "<string>",
"taxCategory": "<string>",
"taxRateGroupId": "<string>",
"variantId": "<string>"
},
"previousRampKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"name": "<string>",
"paymentEnabled": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
automatedTaxesEnabled: {},
billingAddress: {},
billingCompanyId: {},
contractEffectiveDate: '2023-12-25',
dealId: {},
locale: {},
netPaymentTerms: {},
ownerId: {},
poNumber: {},
sellerCompanyAddress: {},
sellerCompanyDomain: {},
sellerCompanyName: {},
sellerEmail: {},
sellerFirstName: {},
sellerLastName: {},
sellerPhone: {},
addressTypesToCollect: [],
allowedPaymentMethods: [],
billingContactId: '<string>',
businessUnitId: '<string>',
currencyCode: '<string>',
customProperties: {},
hubspotBillingEnabled: true,
lineItems: [
{
lineItem: {
mode: 'CUSTOM',
name: '<string>',
pricing: {prices: [{currencyCode: '<string>', price: {}, maxQuantity: 123}]},
quantity: 123,
allowBuyerSelectedQuantity: true,
billingCycleAnchorDate: '2023-12-25',
billingStartDelayDays: 123,
billingStartDelayMonths: 123,
buyerSelectedQuantityMax: 123,
buyerSelectedQuantityMin: 123,
description: '<string>',
discount: 123,
discountPercentage: 123,
externalId: '<string>',
images: '<string>',
isEditablePrice: true,
isOptional: true,
lineItemCurrencyCode: '<string>',
positionOnQuote: 123,
priceBookId: '<string>',
productId: '<string>',
productType: '<string>',
recurringBillingEndDate: '2023-12-25',
recurringBillingPeriod: '<string>',
recurringBillingStartDate: '2023-12-25',
richTextDescription: '<string>',
sku: '<string>',
taxCategory: '<string>',
taxRateGroupId: '<string>',
variantId: '<string>'
},
previousRampKey: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
],
name: '<string>',
paymentEnabled: true
})
};
fetch('https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'automatedTaxesEnabled' => [
],
'billingAddress' => [
],
'billingCompanyId' => [
],
'contractEffectiveDate' => '2023-12-25',
'dealId' => [
],
'locale' => [
],
'netPaymentTerms' => [
],
'ownerId' => [
],
'poNumber' => [
],
'sellerCompanyAddress' => [
],
'sellerCompanyDomain' => [
],
'sellerCompanyName' => [
],
'sellerEmail' => [
],
'sellerFirstName' => [
],
'sellerLastName' => [
],
'sellerPhone' => [
],
'addressTypesToCollect' => [
],
'allowedPaymentMethods' => [
],
'billingContactId' => '<string>',
'businessUnitId' => '<string>',
'currencyCode' => '<string>',
'customProperties' => [
],
'hubspotBillingEnabled' => true,
'lineItems' => [
[
'lineItem' => [
'mode' => 'CUSTOM',
'name' => '<string>',
'pricing' => [
'prices' => [
[
'currencyCode' => '<string>',
'price' => [
],
'maxQuantity' => 123
]
]
],
'quantity' => 123,
'allowBuyerSelectedQuantity' => true,
'billingCycleAnchorDate' => '2023-12-25',
'billingStartDelayDays' => 123,
'billingStartDelayMonths' => 123,
'buyerSelectedQuantityMax' => 123,
'buyerSelectedQuantityMin' => 123,
'description' => '<string>',
'discount' => 123,
'discountPercentage' => 123,
'externalId' => '<string>',
'images' => '<string>',
'isEditablePrice' => true,
'isOptional' => true,
'lineItemCurrencyCode' => '<string>',
'positionOnQuote' => 123,
'priceBookId' => '<string>',
'productId' => '<string>',
'productType' => '<string>',
'recurringBillingEndDate' => '2023-12-25',
'recurringBillingPeriod' => '<string>',
'recurringBillingStartDate' => '2023-12-25',
'richTextDescription' => '<string>',
'sku' => '<string>',
'taxCategory' => '<string>',
'taxRateGroupId' => '<string>',
'variantId' => '<string>'
],
'previousRampKey' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'name' => '<string>',
'paymentEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew"
payload := strings.NewReader("{\n \"automatedTaxesEnabled\": {},\n \"billingAddress\": {},\n \"billingCompanyId\": {},\n \"contractEffectiveDate\": \"2023-12-25\",\n \"dealId\": {},\n \"locale\": {},\n \"netPaymentTerms\": {},\n \"ownerId\": {},\n \"poNumber\": {},\n \"sellerCompanyAddress\": {},\n \"sellerCompanyDomain\": {},\n \"sellerCompanyName\": {},\n \"sellerEmail\": {},\n \"sellerFirstName\": {},\n \"sellerLastName\": {},\n \"sellerPhone\": {},\n \"addressTypesToCollect\": [],\n \"allowedPaymentMethods\": [],\n \"billingContactId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"customProperties\": {},\n \"hubspotBillingEnabled\": true,\n \"lineItems\": [\n {\n \"lineItem\": {\n \"mode\": \"CUSTOM\",\n \"name\": \"<string>\",\n \"pricing\": {\n \"prices\": [\n {\n \"currencyCode\": \"<string>\",\n \"price\": {},\n \"maxQuantity\": 123\n }\n ]\n },\n \"quantity\": 123,\n \"allowBuyerSelectedQuantity\": true,\n \"billingCycleAnchorDate\": \"2023-12-25\",\n \"billingStartDelayDays\": 123,\n \"billingStartDelayMonths\": 123,\n \"buyerSelectedQuantityMax\": 123,\n \"buyerSelectedQuantityMin\": 123,\n \"description\": \"<string>\",\n \"discount\": 123,\n \"discountPercentage\": 123,\n \"externalId\": \"<string>\",\n \"images\": \"<string>\",\n \"isEditablePrice\": true,\n \"isOptional\": true,\n \"lineItemCurrencyCode\": \"<string>\",\n \"positionOnQuote\": 123,\n \"priceBookId\": \"<string>\",\n \"productId\": \"<string>\",\n \"productType\": \"<string>\",\n \"recurringBillingEndDate\": \"2023-12-25\",\n \"recurringBillingPeriod\": \"<string>\",\n \"recurringBillingStartDate\": \"2023-12-25\",\n \"richTextDescription\": \"<string>\",\n \"sku\": \"<string>\",\n \"taxCategory\": \"<string>\",\n \"taxRateGroupId\": \"<string>\",\n \"variantId\": \"<string>\"\n },\n \"previousRampKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"name\": \"<string>\",\n \"paymentEnabled\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew")
.header("Content-Type", "application/json")
.body("{\n \"automatedTaxesEnabled\": {},\n \"billingAddress\": {},\n \"billingCompanyId\": {},\n \"contractEffectiveDate\": \"2023-12-25\",\n \"dealId\": {},\n \"locale\": {},\n \"netPaymentTerms\": {},\n \"ownerId\": {},\n \"poNumber\": {},\n \"sellerCompanyAddress\": {},\n \"sellerCompanyDomain\": {},\n \"sellerCompanyName\": {},\n \"sellerEmail\": {},\n \"sellerFirstName\": {},\n \"sellerLastName\": {},\n \"sellerPhone\": {},\n \"addressTypesToCollect\": [],\n \"allowedPaymentMethods\": [],\n \"billingContactId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"customProperties\": {},\n \"hubspotBillingEnabled\": true,\n \"lineItems\": [\n {\n \"lineItem\": {\n \"mode\": \"CUSTOM\",\n \"name\": \"<string>\",\n \"pricing\": {\n \"prices\": [\n {\n \"currencyCode\": \"<string>\",\n \"price\": {},\n \"maxQuantity\": 123\n }\n ]\n },\n \"quantity\": 123,\n \"allowBuyerSelectedQuantity\": true,\n \"billingCycleAnchorDate\": \"2023-12-25\",\n \"billingStartDelayDays\": 123,\n \"billingStartDelayMonths\": 123,\n \"buyerSelectedQuantityMax\": 123,\n \"buyerSelectedQuantityMin\": 123,\n \"description\": \"<string>\",\n \"discount\": 123,\n \"discountPercentage\": 123,\n \"externalId\": \"<string>\",\n \"images\": \"<string>\",\n \"isEditablePrice\": true,\n \"isOptional\": true,\n \"lineItemCurrencyCode\": \"<string>\",\n \"positionOnQuote\": 123,\n \"priceBookId\": \"<string>\",\n \"productId\": \"<string>\",\n \"productType\": \"<string>\",\n \"recurringBillingEndDate\": \"2023-12-25\",\n \"recurringBillingPeriod\": \"<string>\",\n \"recurringBillingStartDate\": \"2023-12-25\",\n \"richTextDescription\": \"<string>\",\n \"sku\": \"<string>\",\n \"taxCategory\": \"<string>\",\n \"taxRateGroupId\": \"<string>\",\n \"variantId\": \"<string>\"\n },\n \"previousRampKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"name\": \"<string>\",\n \"paymentEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"automatedTaxesEnabled\": {},\n \"billingAddress\": {},\n \"billingCompanyId\": {},\n \"contractEffectiveDate\": \"2023-12-25\",\n \"dealId\": {},\n \"locale\": {},\n \"netPaymentTerms\": {},\n \"ownerId\": {},\n \"poNumber\": {},\n \"sellerCompanyAddress\": {},\n \"sellerCompanyDomain\": {},\n \"sellerCompanyName\": {},\n \"sellerEmail\": {},\n \"sellerFirstName\": {},\n \"sellerLastName\": {},\n \"sellerPhone\": {},\n \"addressTypesToCollect\": [],\n \"allowedPaymentMethods\": [],\n \"billingContactId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"customProperties\": {},\n \"hubspotBillingEnabled\": true,\n \"lineItems\": [\n {\n \"lineItem\": {\n \"mode\": \"CUSTOM\",\n \"name\": \"<string>\",\n \"pricing\": {\n \"prices\": [\n {\n \"currencyCode\": \"<string>\",\n \"price\": {},\n \"maxQuantity\": 123\n }\n ]\n },\n \"quantity\": 123,\n \"allowBuyerSelectedQuantity\": true,\n \"billingCycleAnchorDate\": \"2023-12-25\",\n \"billingStartDelayDays\": 123,\n \"billingStartDelayMonths\": 123,\n \"buyerSelectedQuantityMax\": 123,\n \"buyerSelectedQuantityMin\": 123,\n \"description\": \"<string>\",\n \"discount\": 123,\n \"discountPercentage\": 123,\n \"externalId\": \"<string>\",\n \"images\": \"<string>\",\n \"isEditablePrice\": true,\n \"isOptional\": true,\n \"lineItemCurrencyCode\": \"<string>\",\n \"positionOnQuote\": 123,\n \"priceBookId\": \"<string>\",\n \"productId\": \"<string>\",\n \"productType\": \"<string>\",\n \"recurringBillingEndDate\": \"2023-12-25\",\n \"recurringBillingPeriod\": \"<string>\",\n \"recurringBillingStartDate\": \"2023-12-25\",\n \"richTextDescription\": \"<string>\",\n \"sku\": \"<string>\",\n \"taxCategory\": \"<string>\",\n \"taxRateGroupId\": \"<string>\",\n \"variantId\": \"<string>\"\n },\n \"previousRampKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"name\": \"<string>\",\n \"paymentEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"addressTypesToCollect": [
"BILLING_ADDRESS"
],
"allowedPaymentMethods": [
"CREDIT_OR_DEBIT_CARD"
],
"automatedTaxesEnabled": true,
"customProperties": {},
"hubspotBillingEnabled": true,
"id": "<string>",
"lineItems": [
{
"id": "<string>",
"name": "<string>",
"pricing": {
"prices": [
{
"currencyCode": "<string>",
"price": 123,
"maxQuantity": 123
}
],
"pricingModel": "FLAT"
},
"quantity": 123,
"acv": 123,
"allowBuyerSelectedQuantity": true,
"amount": 123,
"archived": true,
"archivedAt": "2023-11-07T05:31:56Z",
"arr": 123,
"billingCycleAnchorDate": "2023-12-25",
"billingPeriodEndDate": "2023-12-25",
"billingPeriodStartDate": "2023-12-25",
"billingStartDelayDays": 123,
"billingStartDelayMonths": 123,
"billingStartDelayType": "HS_BILLING_START_DELAY_DAYS",
"buyerSelectedQuantityMax": 123,
"buyerSelectedQuantityMin": 123,
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"discount": 123,
"discountPercentage": 123,
"effectiveUnitPrice": 123,
"externalId": "<string>",
"images": "<string>",
"isEditablePrice": true,
"isOptional": true,
"isParent": true,
"lineItemCurrencyCode": "<string>",
"mrr": 123,
"parentLineItemId": "<string>",
"positionOnQuote": 123,
"postTaxAmount": 123,
"preDiscountAmount": 123,
"price": 123,
"priceBookId": "<string>",
"pricingModel": "FLAT",
"productId": "<string>",
"productType": "<string>",
"rampKey": "<string>",
"recurringBillingDayOfMonth": 123,
"recurringBillingEndDate": "2023-12-25",
"recurringBillingFrequency": "ANNUALLY",
"recurringBillingNumberOfPayments": 123,
"recurringBillingPeriod": "<string>",
"recurringBillingStartDate": "2023-12-25",
"recurringBillingTerms": "AUTOMATICALLY_RENEW",
"richTextDescription": "<string>",
"sku": "<string>",
"tax": 123,
"taxAmount": 123,
"taxCategory": "<string>",
"taxRateGroupId": "<string>",
"tcv": 123,
"termInMonths": 123,
"tierAmount": 123,
"totalDiscount": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"variantId": "<string>"
}
],
"paymentEnabled": true,
"status": "ACTIVE",
"storePaymentMethodAtCheckout": true,
"allTransactionsFeeName": "<string>",
"allTransactionsFeePercentage": 123,
"annualContractValue": 123,
"billingAddress": {
"address": "<string>",
"address2": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"state": "<string>",
"zip": "<string>"
},
"billingCompanyId": "<string>",
"billingContactId": "<string>",
"billingStartDateOverride": "2023-12-25",
"businessUnitId": "<string>",
"cardFeeName": "<string>",
"cardFeePercentage": 123,
"collectionProcess": "AUTOMATIC_PAYMENTS",
"contractEffectiveDate": "2023-12-25",
"contractSourceId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"currentAnnualRecurringRevenue": 123,
"currentMonthlyRecurringRevenue": 123,
"dealId": "<string>",
"directDebitFeeName": "<string>",
"directDebitFeePercentage": 123,
"discountCode": "<string>",
"endDate": "2023-12-25",
"externalPaymentMethodReferenceId": "<string>",
"language": "<string>",
"locale": "<string>",
"name": "<string>",
"netPaymentTerms": 123,
"paymentMethod": "<string>",
"poNumber": "<string>",
"preTerminationContractValue": 123,
"renewalContractId": "<string>",
"renewalDate": "2023-12-25",
"sellerCompanyAddress": {
"address": "<string>",
"address2": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"state": "<string>",
"zip": "<string>"
},
"sellerCompanyName": "<string>",
"sellerEmail": "<string>",
"sellerFirstName": "<string>",
"sellerLastName": "<string>",
"sellerPhoneNumber": "<string>",
"startDate": "2023-12-25",
"terminationDate": "2023-12-25",
"totalBilledAmount": 123,
"totalBilledAmountPreTax": 123,
"totalCollectedFees": 123,
"totalCollectedTaxes": 123,
"totalContractValue": 123,
"totalPaidAmount": 123,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"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"
}
}Renew contract
curl --request POST \
--url https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew \
--header 'Content-Type: application/json' \
--data '
{
"automatedTaxesEnabled": {},
"billingAddress": {},
"billingCompanyId": {},
"contractEffectiveDate": "2023-12-25",
"dealId": {},
"locale": {},
"netPaymentTerms": {},
"ownerId": {},
"poNumber": {},
"sellerCompanyAddress": {},
"sellerCompanyDomain": {},
"sellerCompanyName": {},
"sellerEmail": {},
"sellerFirstName": {},
"sellerLastName": {},
"sellerPhone": {},
"addressTypesToCollect": [],
"allowedPaymentMethods": [],
"billingContactId": "<string>",
"businessUnitId": "<string>",
"currencyCode": "<string>",
"customProperties": {},
"hubspotBillingEnabled": true,
"lineItems": [
{
"lineItem": {
"mode": "CUSTOM",
"name": "<string>",
"pricing": {
"prices": [
{
"currencyCode": "<string>",
"price": {},
"maxQuantity": 123
}
]
},
"quantity": 123,
"allowBuyerSelectedQuantity": true,
"billingCycleAnchorDate": "2023-12-25",
"billingStartDelayDays": 123,
"billingStartDelayMonths": 123,
"buyerSelectedQuantityMax": 123,
"buyerSelectedQuantityMin": 123,
"description": "<string>",
"discount": 123,
"discountPercentage": 123,
"externalId": "<string>",
"images": "<string>",
"isEditablePrice": true,
"isOptional": true,
"lineItemCurrencyCode": "<string>",
"positionOnQuote": 123,
"priceBookId": "<string>",
"productId": "<string>",
"productType": "<string>",
"recurringBillingEndDate": "2023-12-25",
"recurringBillingPeriod": "<string>",
"recurringBillingStartDate": "2023-12-25",
"richTextDescription": "<string>",
"sku": "<string>",
"taxCategory": "<string>",
"taxRateGroupId": "<string>",
"variantId": "<string>"
},
"previousRampKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"name": "<string>",
"paymentEnabled": true
}
'import requests
url = "https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew"
payload = {
"automatedTaxesEnabled": {},
"billingAddress": {},
"billingCompanyId": {},
"contractEffectiveDate": "2023-12-25",
"dealId": {},
"locale": {},
"netPaymentTerms": {},
"ownerId": {},
"poNumber": {},
"sellerCompanyAddress": {},
"sellerCompanyDomain": {},
"sellerCompanyName": {},
"sellerEmail": {},
"sellerFirstName": {},
"sellerLastName": {},
"sellerPhone": {},
"addressTypesToCollect": [],
"allowedPaymentMethods": [],
"billingContactId": "<string>",
"businessUnitId": "<string>",
"currencyCode": "<string>",
"customProperties": {},
"hubspotBillingEnabled": True,
"lineItems": [
{
"lineItem": {
"mode": "CUSTOM",
"name": "<string>",
"pricing": { "prices": [
{
"currencyCode": "<string>",
"price": {},
"maxQuantity": 123
}
] },
"quantity": 123,
"allowBuyerSelectedQuantity": True,
"billingCycleAnchorDate": "2023-12-25",
"billingStartDelayDays": 123,
"billingStartDelayMonths": 123,
"buyerSelectedQuantityMax": 123,
"buyerSelectedQuantityMin": 123,
"description": "<string>",
"discount": 123,
"discountPercentage": 123,
"externalId": "<string>",
"images": "<string>",
"isEditablePrice": True,
"isOptional": True,
"lineItemCurrencyCode": "<string>",
"positionOnQuote": 123,
"priceBookId": "<string>",
"productId": "<string>",
"productType": "<string>",
"recurringBillingEndDate": "2023-12-25",
"recurringBillingPeriod": "<string>",
"recurringBillingStartDate": "2023-12-25",
"richTextDescription": "<string>",
"sku": "<string>",
"taxCategory": "<string>",
"taxRateGroupId": "<string>",
"variantId": "<string>"
},
"previousRampKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"name": "<string>",
"paymentEnabled": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
automatedTaxesEnabled: {},
billingAddress: {},
billingCompanyId: {},
contractEffectiveDate: '2023-12-25',
dealId: {},
locale: {},
netPaymentTerms: {},
ownerId: {},
poNumber: {},
sellerCompanyAddress: {},
sellerCompanyDomain: {},
sellerCompanyName: {},
sellerEmail: {},
sellerFirstName: {},
sellerLastName: {},
sellerPhone: {},
addressTypesToCollect: [],
allowedPaymentMethods: [],
billingContactId: '<string>',
businessUnitId: '<string>',
currencyCode: '<string>',
customProperties: {},
hubspotBillingEnabled: true,
lineItems: [
{
lineItem: {
mode: 'CUSTOM',
name: '<string>',
pricing: {prices: [{currencyCode: '<string>', price: {}, maxQuantity: 123}]},
quantity: 123,
allowBuyerSelectedQuantity: true,
billingCycleAnchorDate: '2023-12-25',
billingStartDelayDays: 123,
billingStartDelayMonths: 123,
buyerSelectedQuantityMax: 123,
buyerSelectedQuantityMin: 123,
description: '<string>',
discount: 123,
discountPercentage: 123,
externalId: '<string>',
images: '<string>',
isEditablePrice: true,
isOptional: true,
lineItemCurrencyCode: '<string>',
positionOnQuote: 123,
priceBookId: '<string>',
productId: '<string>',
productType: '<string>',
recurringBillingEndDate: '2023-12-25',
recurringBillingPeriod: '<string>',
recurringBillingStartDate: '2023-12-25',
richTextDescription: '<string>',
sku: '<string>',
taxCategory: '<string>',
taxRateGroupId: '<string>',
variantId: '<string>'
},
previousRampKey: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
],
name: '<string>',
paymentEnabled: true
})
};
fetch('https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'automatedTaxesEnabled' => [
],
'billingAddress' => [
],
'billingCompanyId' => [
],
'contractEffectiveDate' => '2023-12-25',
'dealId' => [
],
'locale' => [
],
'netPaymentTerms' => [
],
'ownerId' => [
],
'poNumber' => [
],
'sellerCompanyAddress' => [
],
'sellerCompanyDomain' => [
],
'sellerCompanyName' => [
],
'sellerEmail' => [
],
'sellerFirstName' => [
],
'sellerLastName' => [
],
'sellerPhone' => [
],
'addressTypesToCollect' => [
],
'allowedPaymentMethods' => [
],
'billingContactId' => '<string>',
'businessUnitId' => '<string>',
'currencyCode' => '<string>',
'customProperties' => [
],
'hubspotBillingEnabled' => true,
'lineItems' => [
[
'lineItem' => [
'mode' => 'CUSTOM',
'name' => '<string>',
'pricing' => [
'prices' => [
[
'currencyCode' => '<string>',
'price' => [
],
'maxQuantity' => 123
]
]
],
'quantity' => 123,
'allowBuyerSelectedQuantity' => true,
'billingCycleAnchorDate' => '2023-12-25',
'billingStartDelayDays' => 123,
'billingStartDelayMonths' => 123,
'buyerSelectedQuantityMax' => 123,
'buyerSelectedQuantityMin' => 123,
'description' => '<string>',
'discount' => 123,
'discountPercentage' => 123,
'externalId' => '<string>',
'images' => '<string>',
'isEditablePrice' => true,
'isOptional' => true,
'lineItemCurrencyCode' => '<string>',
'positionOnQuote' => 123,
'priceBookId' => '<string>',
'productId' => '<string>',
'productType' => '<string>',
'recurringBillingEndDate' => '2023-12-25',
'recurringBillingPeriod' => '<string>',
'recurringBillingStartDate' => '2023-12-25',
'richTextDescription' => '<string>',
'sku' => '<string>',
'taxCategory' => '<string>',
'taxRateGroupId' => '<string>',
'variantId' => '<string>'
],
'previousRampKey' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'name' => '<string>',
'paymentEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew"
payload := strings.NewReader("{\n \"automatedTaxesEnabled\": {},\n \"billingAddress\": {},\n \"billingCompanyId\": {},\n \"contractEffectiveDate\": \"2023-12-25\",\n \"dealId\": {},\n \"locale\": {},\n \"netPaymentTerms\": {},\n \"ownerId\": {},\n \"poNumber\": {},\n \"sellerCompanyAddress\": {},\n \"sellerCompanyDomain\": {},\n \"sellerCompanyName\": {},\n \"sellerEmail\": {},\n \"sellerFirstName\": {},\n \"sellerLastName\": {},\n \"sellerPhone\": {},\n \"addressTypesToCollect\": [],\n \"allowedPaymentMethods\": [],\n \"billingContactId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"customProperties\": {},\n \"hubspotBillingEnabled\": true,\n \"lineItems\": [\n {\n \"lineItem\": {\n \"mode\": \"CUSTOM\",\n \"name\": \"<string>\",\n \"pricing\": {\n \"prices\": [\n {\n \"currencyCode\": \"<string>\",\n \"price\": {},\n \"maxQuantity\": 123\n }\n ]\n },\n \"quantity\": 123,\n \"allowBuyerSelectedQuantity\": true,\n \"billingCycleAnchorDate\": \"2023-12-25\",\n \"billingStartDelayDays\": 123,\n \"billingStartDelayMonths\": 123,\n \"buyerSelectedQuantityMax\": 123,\n \"buyerSelectedQuantityMin\": 123,\n \"description\": \"<string>\",\n \"discount\": 123,\n \"discountPercentage\": 123,\n \"externalId\": \"<string>\",\n \"images\": \"<string>\",\n \"isEditablePrice\": true,\n \"isOptional\": true,\n \"lineItemCurrencyCode\": \"<string>\",\n \"positionOnQuote\": 123,\n \"priceBookId\": \"<string>\",\n \"productId\": \"<string>\",\n \"productType\": \"<string>\",\n \"recurringBillingEndDate\": \"2023-12-25\",\n \"recurringBillingPeriod\": \"<string>\",\n \"recurringBillingStartDate\": \"2023-12-25\",\n \"richTextDescription\": \"<string>\",\n \"sku\": \"<string>\",\n \"taxCategory\": \"<string>\",\n \"taxRateGroupId\": \"<string>\",\n \"variantId\": \"<string>\"\n },\n \"previousRampKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"name\": \"<string>\",\n \"paymentEnabled\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew")
.header("Content-Type", "application/json")
.body("{\n \"automatedTaxesEnabled\": {},\n \"billingAddress\": {},\n \"billingCompanyId\": {},\n \"contractEffectiveDate\": \"2023-12-25\",\n \"dealId\": {},\n \"locale\": {},\n \"netPaymentTerms\": {},\n \"ownerId\": {},\n \"poNumber\": {},\n \"sellerCompanyAddress\": {},\n \"sellerCompanyDomain\": {},\n \"sellerCompanyName\": {},\n \"sellerEmail\": {},\n \"sellerFirstName\": {},\n \"sellerLastName\": {},\n \"sellerPhone\": {},\n \"addressTypesToCollect\": [],\n \"allowedPaymentMethods\": [],\n \"billingContactId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"customProperties\": {},\n \"hubspotBillingEnabled\": true,\n \"lineItems\": [\n {\n \"lineItem\": {\n \"mode\": \"CUSTOM\",\n \"name\": \"<string>\",\n \"pricing\": {\n \"prices\": [\n {\n \"currencyCode\": \"<string>\",\n \"price\": {},\n \"maxQuantity\": 123\n }\n ]\n },\n \"quantity\": 123,\n \"allowBuyerSelectedQuantity\": true,\n \"billingCycleAnchorDate\": \"2023-12-25\",\n \"billingStartDelayDays\": 123,\n \"billingStartDelayMonths\": 123,\n \"buyerSelectedQuantityMax\": 123,\n \"buyerSelectedQuantityMin\": 123,\n \"description\": \"<string>\",\n \"discount\": 123,\n \"discountPercentage\": 123,\n \"externalId\": \"<string>\",\n \"images\": \"<string>\",\n \"isEditablePrice\": true,\n \"isOptional\": true,\n \"lineItemCurrencyCode\": \"<string>\",\n \"positionOnQuote\": 123,\n \"priceBookId\": \"<string>\",\n \"productId\": \"<string>\",\n \"productType\": \"<string>\",\n \"recurringBillingEndDate\": \"2023-12-25\",\n \"recurringBillingPeriod\": \"<string>\",\n \"recurringBillingStartDate\": \"2023-12-25\",\n \"richTextDescription\": \"<string>\",\n \"sku\": \"<string>\",\n \"taxCategory\": \"<string>\",\n \"taxRateGroupId\": \"<string>\",\n \"variantId\": \"<string>\"\n },\n \"previousRampKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"name\": \"<string>\",\n \"paymentEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/commerce/contracts/2027-03-beta/contracts/{contractId}/renew")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"automatedTaxesEnabled\": {},\n \"billingAddress\": {},\n \"billingCompanyId\": {},\n \"contractEffectiveDate\": \"2023-12-25\",\n \"dealId\": {},\n \"locale\": {},\n \"netPaymentTerms\": {},\n \"ownerId\": {},\n \"poNumber\": {},\n \"sellerCompanyAddress\": {},\n \"sellerCompanyDomain\": {},\n \"sellerCompanyName\": {},\n \"sellerEmail\": {},\n \"sellerFirstName\": {},\n \"sellerLastName\": {},\n \"sellerPhone\": {},\n \"addressTypesToCollect\": [],\n \"allowedPaymentMethods\": [],\n \"billingContactId\": \"<string>\",\n \"businessUnitId\": \"<string>\",\n \"currencyCode\": \"<string>\",\n \"customProperties\": {},\n \"hubspotBillingEnabled\": true,\n \"lineItems\": [\n {\n \"lineItem\": {\n \"mode\": \"CUSTOM\",\n \"name\": \"<string>\",\n \"pricing\": {\n \"prices\": [\n {\n \"currencyCode\": \"<string>\",\n \"price\": {},\n \"maxQuantity\": 123\n }\n ]\n },\n \"quantity\": 123,\n \"allowBuyerSelectedQuantity\": true,\n \"billingCycleAnchorDate\": \"2023-12-25\",\n \"billingStartDelayDays\": 123,\n \"billingStartDelayMonths\": 123,\n \"buyerSelectedQuantityMax\": 123,\n \"buyerSelectedQuantityMin\": 123,\n \"description\": \"<string>\",\n \"discount\": 123,\n \"discountPercentage\": 123,\n \"externalId\": \"<string>\",\n \"images\": \"<string>\",\n \"isEditablePrice\": true,\n \"isOptional\": true,\n \"lineItemCurrencyCode\": \"<string>\",\n \"positionOnQuote\": 123,\n \"priceBookId\": \"<string>\",\n \"productId\": \"<string>\",\n \"productType\": \"<string>\",\n \"recurringBillingEndDate\": \"2023-12-25\",\n \"recurringBillingPeriod\": \"<string>\",\n \"recurringBillingStartDate\": \"2023-12-25\",\n \"richTextDescription\": \"<string>\",\n \"sku\": \"<string>\",\n \"taxCategory\": \"<string>\",\n \"taxRateGroupId\": \"<string>\",\n \"variantId\": \"<string>\"\n },\n \"previousRampKey\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"name\": \"<string>\",\n \"paymentEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"addressTypesToCollect": [
"BILLING_ADDRESS"
],
"allowedPaymentMethods": [
"CREDIT_OR_DEBIT_CARD"
],
"automatedTaxesEnabled": true,
"customProperties": {},
"hubspotBillingEnabled": true,
"id": "<string>",
"lineItems": [
{
"id": "<string>",
"name": "<string>",
"pricing": {
"prices": [
{
"currencyCode": "<string>",
"price": 123,
"maxQuantity": 123
}
],
"pricingModel": "FLAT"
},
"quantity": 123,
"acv": 123,
"allowBuyerSelectedQuantity": true,
"amount": 123,
"archived": true,
"archivedAt": "2023-11-07T05:31:56Z",
"arr": 123,
"billingCycleAnchorDate": "2023-12-25",
"billingPeriodEndDate": "2023-12-25",
"billingPeriodStartDate": "2023-12-25",
"billingStartDelayDays": 123,
"billingStartDelayMonths": 123,
"billingStartDelayType": "HS_BILLING_START_DELAY_DAYS",
"buyerSelectedQuantityMax": 123,
"buyerSelectedQuantityMin": 123,
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"discount": 123,
"discountPercentage": 123,
"effectiveUnitPrice": 123,
"externalId": "<string>",
"images": "<string>",
"isEditablePrice": true,
"isOptional": true,
"isParent": true,
"lineItemCurrencyCode": "<string>",
"mrr": 123,
"parentLineItemId": "<string>",
"positionOnQuote": 123,
"postTaxAmount": 123,
"preDiscountAmount": 123,
"price": 123,
"priceBookId": "<string>",
"pricingModel": "FLAT",
"productId": "<string>",
"productType": "<string>",
"rampKey": "<string>",
"recurringBillingDayOfMonth": 123,
"recurringBillingEndDate": "2023-12-25",
"recurringBillingFrequency": "ANNUALLY",
"recurringBillingNumberOfPayments": 123,
"recurringBillingPeriod": "<string>",
"recurringBillingStartDate": "2023-12-25",
"recurringBillingTerms": "AUTOMATICALLY_RENEW",
"richTextDescription": "<string>",
"sku": "<string>",
"tax": 123,
"taxAmount": 123,
"taxCategory": "<string>",
"taxRateGroupId": "<string>",
"tcv": 123,
"termInMonths": 123,
"tierAmount": 123,
"totalDiscount": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"variantId": "<string>"
}
],
"paymentEnabled": true,
"status": "ACTIVE",
"storePaymentMethodAtCheckout": true,
"allTransactionsFeeName": "<string>",
"allTransactionsFeePercentage": 123,
"annualContractValue": 123,
"billingAddress": {
"address": "<string>",
"address2": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"state": "<string>",
"zip": "<string>"
},
"billingCompanyId": "<string>",
"billingContactId": "<string>",
"billingStartDateOverride": "2023-12-25",
"businessUnitId": "<string>",
"cardFeeName": "<string>",
"cardFeePercentage": 123,
"collectionProcess": "AUTOMATIC_PAYMENTS",
"contractEffectiveDate": "2023-12-25",
"contractSourceId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"currentAnnualRecurringRevenue": 123,
"currentMonthlyRecurringRevenue": 123,
"dealId": "<string>",
"directDebitFeeName": "<string>",
"directDebitFeePercentage": 123,
"discountCode": "<string>",
"endDate": "2023-12-25",
"externalPaymentMethodReferenceId": "<string>",
"language": "<string>",
"locale": "<string>",
"name": "<string>",
"netPaymentTerms": 123,
"paymentMethod": "<string>",
"poNumber": "<string>",
"preTerminationContractValue": 123,
"renewalContractId": "<string>",
"renewalDate": "2023-12-25",
"sellerCompanyAddress": {
"address": "<string>",
"address2": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"state": "<string>",
"zip": "<string>"
},
"sellerCompanyName": "<string>",
"sellerEmail": "<string>",
"sellerFirstName": "<string>",
"sellerLastName": "<string>",
"sellerPhoneNumber": "<string>",
"startDate": "2023-12-25",
"terminationDate": "2023-12-25",
"totalBilledAmount": 123,
"totalBilledAmountPreTax": 123,
"totalCollectedFees": 123,
"totalCollectedTaxes": 123,
"totalContractValue": 123,
"totalPaidAmount": 123,
"updatedAt": "2023-11-07T05:31:56Z"
}{
"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"
}
}Supported products
Supported products
Path Parameters
Body
BILLING_ADDRESS, SHIPPING_ADDRESS CREDIT_OR_DEBIT_CARD, ACH, SEPA, BACS, PADS, AFFIRM, KLARNA AUTOMATIC_PAYMENTS, MANUAL_PAYMENTS Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
successful operation
An array indicating the types of addresses to collect. Valid values include 'BILLING_ADDRESS' and 'SHIPPING_ADDRESS'.
BILLING_ADDRESS, SHIPPING_ADDRESS An array of allowed payment methods. Valid values include 'CREDIT_OR_DEBIT_CARD', 'ACH', 'SEPA', 'BACS', 'PADS', 'AFFIRM', and 'KLARNA'.
CREDIT_OR_DEBIT_CARD, ACH, SEPA, BACS, PADS, AFFIRM, KLARNA Indicates whether automated taxes are enabled for the contract.
A map of custom property names to their values.
Show child attributes
Show child attributes
Indicates whether HubSpot billing is enabled for the contract.
The unique identifier for the contract.
An array of line items included in the contract.
Show child attributes
Show child attributes
Indicates whether payment is enabled for the contract.
The current status of the contract. Valid values include 'DRAFT', 'ACTIVE', 'PAUSED', 'COMPLETED', and 'TERMINATED'.
ACTIVE, COMPLETED, DRAFT, PAUSED, TERMINATED Indicates whether the payment method should be stored at checkout.
The name of the fee applied to all transactions.
The percentage of the fee applied to all transactions.
The annual value of the contract.
Show child attributes
Show child attributes
The unique identifier of the billing company associated with the contract.
The unique identifier of the billing contact associated with the contract.
The date to override the billing start date, in ISO 8601 format.
The unique identifier of the business unit associated with the contract.
The name of the fee applied to card transactions.
The percentage of the fee applied to card transactions.
The process for collecting payments. Valid values include 'MANUAL_PAYMENTS' and 'AUTOMATIC_PAYMENTS'.
AUTOMATIC_PAYMENTS, MANUAL_PAYMENTS The date when the contract becomes effective, in ISO 8601 format.
The unique identifier of the source of the contract.
The date and time when the contract was created, in ISO 8601 format.
The currency code associated with the contract, represented as a string.
The current annual recurring revenue for the contract.
The current monthly recurring revenue for the contract.
The unique identifier of the deal associated with the contract.
The name of the fee applied to direct debit transactions.
The percentage of the fee applied to direct debit transactions.
The discount code applied to the contract.
The end date of the contract, in ISO 8601 format.
The external reference ID for the payment method.
The language associated with the contract.
The locale associated with the contract.
The name of the contract.
The net payment terms for the contract, represented as an integer.
The payment method used for the contract.
The purchase order number associated with the contract.
The value of the contract before termination.
The unique identifier of the renewal contract.
The date when the contract is set to renew, in ISO 8601 format.
Show child attributes
Show child attributes
The name of the seller's company.
The email address of the seller.
The first name of the seller.
The last name of the seller.
The phone number of the seller.
The start date of the contract, in ISO 8601 format.
The date when the contract is terminated, in ISO 8601 format.
The total amount billed under the contract.
The total amount billed under the contract before tax.
The total amount of fees collected under the contract.
The total amount of taxes collected under the contract.
The total value of the contract.
The total amount paid under the contract.
The date and time when the contract was last updated, in ISO 8601 format.
Was this page helpful?