API Documentation
Prospects
Agents
VoiceModels
Hive
HiveAgentLink
Actions
ActionAgentLink
Products
Conversations
ConversationProspectLink
Products
Get a Specific Product by ID
Get a Specific Product by ID
GET
/
v1
/
products
/
{product_id}
Copy
curl --request GET \
--url https://api.trata.ai/v1/products/{product_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"id": "pro.1731301754.OZSMSU1S",
"orgId": "org.1726902940.GZChqlpU",
"active": true,
"defaultPrice": 1299,
"currency": "USD",
"description": "Spicy Korean Chicken Wings",
"name": "Spicy Korean Chicken Wings",
"shippable": true,
"features": [],
"scheduleAppointment": false,
"props": {},
"status": "active",
"createdBy": "trata-system",
"createdAt": "2024-11-11T05:09:14.979287",
"updatedBy": "trata-system",
"updatedAt": "2024-11-11T05:09:14.979289"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the product
Response
200
application/json
Product retrieved successfully
Product and services offered by the business
Copy
curl --request GET \
--url https://api.trata.ai/v1/products/{product_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"id": "pro.1731301754.OZSMSU1S",
"orgId": "org.1726902940.GZChqlpU",
"active": true,
"defaultPrice": 1299,
"currency": "USD",
"description": "Spicy Korean Chicken Wings",
"name": "Spicy Korean Chicken Wings",
"shippable": true,
"features": [],
"scheduleAppointment": false,
"props": {},
"status": "active",
"createdBy": "trata-system",
"createdAt": "2024-11-11T05:09:14.979287",
"updatedBy": "trata-system",
"updatedAt": "2024-11-11T05:09:14.979289"
}
Assistant
Responses are generated using AI and may contain mistakes.