Get product by ID
curl --request GET \
--url https://api.autoprintfarm.com/public/v1/products/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"requires_assembly": true,
"requires_post_processing": true,
"image_url": "<string>",
"images": [
{
"id": "<string>",
"sort_order": 123,
"url": "<string>"
}
],
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>",
"skus": [
{
"id": "<string>",
"sku": "<string>",
"color": "<string>",
"filament_type": "<string>",
"hex_code": "<string>",
"quantity": 123,
"stock_level": 123,
"low_stock_threshold": 123,
"is_composite": true,
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"components": [
{
"id": "<string>",
"component_name": "<string>",
"component_type": "<string>",
"quantity_required": 123,
"notes": "<string>"
}
],
"kit": {
"parts": [
{
"part_id": "<string>",
"name": "<string>",
"print_file_id": "<string>",
"file_name": "<string>",
"quantity_per_kit": 123,
"fixed_color": "<string>",
"requires_assembly": true,
"components": [
{
"id": "<string>",
"component_name": "<string>",
"component_type": "<string>",
"quantity_required": 123,
"notes": "<string>"
}
],
"variants": [
{
"kit_sku_id": "<string>",
"kit_color": "<string>",
"child_sku_id": "<string>",
"child_sku": "<string>",
"child_color": "<string>",
"child_on_hand": 123
}
]
}
],
"bundle_extras": [
{
"id": "<string>",
"sku_id": "<string>",
"inventory_item_id": "<string>",
"quantity_required": 123,
"created_at": "<string>",
"item_name": "<string>",
"remaining": 123
}
],
"bundle_extras_by_variant": {}
}
}
}Products
Get product by ID
Returns a product with its SKUs and assembly components bundled inline. Absorbs /skus/:id, /products/:id/skus, and /products/:id/components — callers never need a follow-up fetch.
GET
/
products
/
{id}
Get product by ID
curl --request GET \
--url https://api.autoprintfarm.com/public/v1/products/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"requires_assembly": true,
"requires_post_processing": true,
"image_url": "<string>",
"images": [
{
"id": "<string>",
"sort_order": 123,
"url": "<string>"
}
],
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>",
"skus": [
{
"id": "<string>",
"sku": "<string>",
"color": "<string>",
"filament_type": "<string>",
"hex_code": "<string>",
"quantity": 123,
"stock_level": 123,
"low_stock_threshold": 123,
"is_composite": true,
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>"
}
],
"components": [
{
"id": "<string>",
"component_name": "<string>",
"component_type": "<string>",
"quantity_required": 123,
"notes": "<string>"
}
],
"kit": {
"parts": [
{
"part_id": "<string>",
"name": "<string>",
"print_file_id": "<string>",
"file_name": "<string>",
"quantity_per_kit": 123,
"fixed_color": "<string>",
"requires_assembly": true,
"components": [
{
"id": "<string>",
"component_name": "<string>",
"component_type": "<string>",
"quantity_required": 123,
"notes": "<string>"
}
],
"variants": [
{
"kit_sku_id": "<string>",
"kit_color": "<string>",
"child_sku_id": "<string>",
"child_sku": "<string>",
"child_color": "<string>",
"child_on_hand": 123
}
]
}
],
"bundle_extras": [
{
"id": "<string>",
"sku_id": "<string>",
"inventory_item_id": "<string>",
"quantity_required": 123,
"created_at": "<string>",
"item_name": "<string>",
"remaining": 123
}
],
"bundle_extras_by_variant": {}
}
}
}Authorizations
API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.
Path Parameters
Product ID
Was this page helpful?
⌘I