v1
latestOpenAPI 3.1.02026-07-24111224223.3 KBContracts
Retrieves a contract
Returns the expanded contract including items, schedules, and metadata required before updates or amendments. Always retrieve before issuing a full PUT update so you preserve fields you do not intend to clear.
get/contracts/{contract_id}
Path parameters
contract_idstring required
UUID of the contract to retrieve.
Response
OK
Example response
{
"name": "New API Contract",
"items": [
{
"price": {
"amount": {
"amount": "1.01",
"currency": "USD"
},
"interval_months": 1
},
"quantity": 1,
"total_value": {
"amount": "1.01",
"currency": "USD"
},
"discount": {
"amount_off": {
"amount": "1.01",
"currency": "USD"
}
},
"tax_rate": {
"tax_amount": {
"amount": "1.01",
"currency": "USD"
},
"country": "US"
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"usage_minimum_commitment": {
"amount": {
"amount": "1.01",
"currency": "USD"
},
"revenue_account": "11112"
}
}
],
"invoicing": {
"day": 1
},
"usage_configuration": {
"contract_level_minimum_commitment": {
"amount": {
"amount": "1.01",
"currency": "USD"
},
"revenue_account": "11112"
}
},
"total_value": {
"amount": "1.01",
"currency": "USD"
},
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"exchange_rate": {
"base": "USD",
"target": "USD"
},
"invoices": [
{
"invoice_number": "INV01",
"total": {
"amount": "1.01",
"currency": "USD"
},
"taxed_amount": {
"amount": "1.01",
"currency": "USD"
},
"items": [
{
"description": "Description",
"revenue": {
"account_code": "11112"
},
"total_amount": {
"amount": "1.01",
"currency": "USD"
},
"total_discount": {
"amount": "1.01",
"currency": "USD"
},
"taxed_amount": {
"amount": "1.01",
"currency": "USD"
},
"gross_rate": {
"amount": "1.01",
"currency": "USD"
},
"quantity": 1,
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
]
}
],
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
]
}
]
}