HubSpot · Schema
SearchResponse
Response from a search operation
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales
Properties
| Name | Type | Description |
|---|---|---|
| total | integer | Total number of matching results |
| results | array | The matching commerce payments |
| paging | object | Pagination information |
JSON Schema
{
"type": "object",
"description": "Response from a search operation",
"properties": {
"total": {
"type": "integer",
"description": "Total number of matching results",
"example": 10
},
"results": {
"type": "array",
"description": "The matching commerce payments",
"example": [
{
"id": "500123",
"properties": {
"key": "value"
},
"createdAt": "2025-03-15T14:30:00Z",
"updatedAt": "2025-03-15T14:30:00Z",
"archived": true,
"archivedAt": "2025-03-15T14:30:00Z",
"associations": {
"key": "value"
},
"propertiesWithHistory": {
"key": "value"
}
}
],
"items": {
"type": "object",
"description": "A commerce payment object representing a payment transaction",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the commerce payment",
"example": "500123"
},
"properties": {
"type": "object",
"description": "The properties of the commerce payment",
"example": {
"key": "value"
}
},
"createdAt": {
"type": "string",
"description": "When the commerce payment was created",
"format": "date-time",
"example": "2025-03-15T14:30:00Z"
},
"updatedAt": {
"type": "string",
"description": "When the commerce payment was last updated",
"format": "date-time",
"example": "2025-03-15T14:30:00Z"
},
"archived": {
"type": "boolean",
"description": "Whether the commerce payment is archived",
"example": true
},
"archivedAt": {
"type": "string",
"description": "When the commerce payment was archived",
"format": "date-time",
"example": "2025-03-15T14:30:00Z"
},
"associations": {
"type": "object",
"description": "Associated objects",
"example": {
"key": "value"
}
},
"propertiesWithHistory": {
"type": "object",
"description": "Properties with their value history",
"example": {
"key": "value"
}
}
},
"required": [
"id",
"properties",
"createdAt",
"updatedAt"
]
}
},
"paging": {
"type": "object",
"description": "Pagination information",
"properties": {
"next": {
"type": "object",
"example": {
"after": "example-value",
"link": "https://app.hubspot.com/contacts/12345"
},
"properties": {
"after": {
"type": "string",
"description": "Cursor for the next page"
},
"link": {
"type": "string",
"description": "Link to the next page"
}
}
},
"prev": {
"type": "object",
"example": {
"before": "example-value",
"link": "https://app.hubspot.com/contacts/12345"
},
"properties": {
"before": {
"type": "string",
"description": "Cursor for the previous page"
},
"link": {
"type": "string",
"description": "Link to the previous page"
}
}
}
}
}
},
"required": [
"total",
"results"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SearchResponse"
}