Home
HubSpot
Hubspot Commerce Payments Batch Create Response Structure
Hubspot Commerce Payments Batch Create Response Structure
Response from a batch create operation
Type: object
Properties: 8
Required: 4
Analytics Commerce Content CRM Customer Service Email Marketing Marketing Marketing Automation Operations Sales
BatchCreateResponse is a JSON Structure definition published by HubSpot, describing 8 properties, of which 4 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
Properties
status
results
requestedAt
startedAt
completedAt
numErrors
errors
links
Meta-schema: https://json-structure.org/draft/2020-12/schema
JSON Structure
{
"type": "object",
"description": "Response from a batch create operation",
"name": "BatchCreateResponse",
"properties": {
"status": {
"type": "string",
"enum": [
"PENDING",
"PROCESSING",
"CANCELED",
"COMPLETE"
]
},
"results": {
"type": "array",
"items": {
"type": "object",
"description": "A commerce payment object representing a payment transaction",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the commerce payment"
},
"properties": {
"type": "object",
"description": "The properties of the commerce payment"
},
"createdAt": {
"type": "datetime",
"description": "When the commerce payment was created"
},
"updatedAt": {
"type": "datetime",
"description": "When the commerce payment was last updated"
},
"archived": {
"type": "boolean",
"description": "Whether the commerce payment is archived"
},
"archivedAt": {
"type": "datetime",
"description": "When the commerce payment was archived"
},
"associations": {
"type": "object",
"description": "Associated objects"
},
"propertiesWithHistory": {
"type": "object",
"description": "Properties with their value history"
}
},
"required": [
"id",
"properties",
"createdAt",
"updatedAt"
]
}
},
"requestedAt": {
"type": "datetime"
},
"startedAt": {
"type": "datetime"
},
"completedAt": {
"type": "datetime"
},
"numErrors": {
"type": "integer"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"description": "An error from a batch operation",
"properties": {
"status": {
"type": "string"
},
"id": {
"type": "string"
},
"category": {
"type": "string"
},
"message": {
"type": "string"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"description": "Detailed error information",
"properties": {
"message": {
"type": "string",
"description": "The error message"
},
"code": {
"type": "string",
"description": "An error code"
},
"in": {
"type": "string",
"description": "The location of the error"
},
"subCategory": {
"type": "string",
"description": "A specific error subcategory"
},
"context": {
"type": "object"
}
},
"required": [
"message"
]
}
},
"context": {
"type": "object"
},
"links": {
"type": "object"
},
"subCategory": {
"type": "string"
}
},
"required": [
"category",
"message"
]
}
},
"links": {
"type": "object"
}
},
"required": [
"status",
"results",
"startedAt",
"completedAt"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}