---
updatedAt: 2026-05-04T14:58:04.000Z
agentTools:
  projectIndex: https://developers.eventtemple.com/llms.txt
---

# Retrieve a line item

Returns a single line item

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "2.0.0",
    "title": "Event Temple API",
    "description": "The Event Temple API provides programmatic access to the core features of the Event Temple platform, enabling developers to integrate and extend its functionality. With this API, you can manage accounts, contacts, bookings, events, and more.\n",
    "contact": {
      "name": "API Support",
      "url": "https://developers.eventtemple.com",
      "email": "developers@eventtemple.com"
    }
  },
  "servers": [
    {
      "url": "https://api.eventtemple.com/v2"
    }
  ],
  "security": [
    {
      "OAuth2": [],
      "ApiOrg": []
    },
    {
      "ApiKey": [],
      "ApiOrg": []
    }
  ],
  "tags": [
    {
      "name": "line_items"
    }
  ],
  "paths": {
    "/line_items/{id}": {
      "get": {
        "summary": "Retrieve a line item",
        "operationId": "getLineItemById",
        "description": "Returns a single line item",
        "tags": [
          "line_items"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/id"
          }
        ],
        "responses": {
          "200": {
            "description": "Line item retrieved successfully",
            "content": {
              "application/vnd.api+json": {
                "schema": {
                  "$ref": "#/components/schemas/LineItemSingleResponse"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/RecordNotFoundError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      },
      "ApiOrg": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-ORG"
      },
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://client.eventtemple.com/oauth/authorize",
            "tokenUrl": "https://api.eventtemple.com/oauth/token",
            "scopes": {
              "crm_read": "Grants read access",
              "crm_manage": "Grants manage access",
              "settings_manage": "Grants access to admin operations"
            }
          }
        }
      }
    },
    "schemas": {
      "SingleObject": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          }
        }
      },
      "Included": {
        "type": "array",
        "items": {
          "type": "object",
          "description": "List of included objects"
        }
      },
      "LineItemBaseProperties": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 123456789,
            "readOnly": true,
            "description": "Unique identifier of the Line Item"
          },
          "name": {
            "type": "string",
            "example": "Wedding Open Bar",
            "description": "Name or title of the Line Item"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "example": "Wedding Open Bar",
            "description": "Detailed description of the Line Item"
          },
          "quantity": {
            "type": "string",
            "format": "decimal",
            "example": "10",
            "description": "Quantity of items or units for this Line Item"
          },
          "price": {
            "type": "string",
            "format": "decimal",
            "example": "12.99",
            "description": "Unit price of the Line Item before taxes"
          },
          "tax_included_price": {
            "type": "string",
            "format": "decimal",
            "description": "Unit price including taxes",
            "example": "15.99"
          },
          "serving_time": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "example": "2019-01-01T00:00:00.000Z",
            "description": "Scheduled time when this item will be served or delivered"
          },
          "is_locked": {
            "type": "boolean",
            "example": false,
            "description": "Whether the Line Item is locked and cannot be modified (typically after being posted to external systems)"
          },
          "position": {
            "type": "integer",
            "example": 1,
            "description": "Position or order of this Line Item in the list"
          },
          "created_at": {
            "type": "string",
            "readOnly": true,
            "format": "date-time",
            "example": "2019-01-01T00:00:00.000Z",
            "description": "Timestamp when the Line Item was created"
          },
          "updated_at": {
            "type": "string",
            "readOnly": true,
            "format": "date-time",
            "example": "2019-01-01T00:00:00.000Z",
            "description": "Timestamp when the Line Item was last updated"
          },
          "organization_id": {
            "type": "integer",
            "example": 123456789,
            "readOnly": true,
            "description": "Unique identifier of the Organization this Line Item belongs to"
          },
          "booking_id": {
            "type": "integer",
            "example": 123456789,
            "description": "Unique identifier of the Booking this Line Item is associated with"
          },
          "event_id": {
            "type": [
              "integer",
              "null"
            ],
            "example": 123456789,
            "description": "Unique identifier of the Event this Line Item is associated with"
          },
          "menu_item_id": {
            "type": [
              "integer",
              "null"
            ],
            "example": 123456789,
            "description": "Unique identifier of the Menu Item this Line Item represents"
          },
          "revenue_category_id": {
            "type": [
              "integer",
              "null"
            ],
            "example": 123456789,
            "description": "Unique identifier of the Revenue Category this Line Item belongs to"
          }
        }
      },
      "Tax": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 123456789,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "example": "GST"
          },
          "rate": {
            "type": "string",
            "format": "decimal",
            "example": "7.00"
          },
          "archived_at": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true,
            "format": "date-time",
            "example": "2019-01-01T00:00:00.000Z"
          },
          "organization_id": {
            "type": "integer",
            "example": 123456789,
            "readOnly": true
          }
        }
      },
      "LineItem": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LineItemBaseProperties"
          },
          {
            "type": "object",
            "properties": {
              "line_item_taxes": {
                "type": "array",
                "description": "Array of taxes that were applied at the time of creation",
                "items": {
                  "$ref": "#/components/schemas/Tax"
                }
              }
            }
          }
        ]
      },
      "LineItemResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "line_items"
            ]
          },
          "attributes": {
            "$ref": "#/components/schemas/LineItem"
          },
          "relationships": {
            "type": "object",
            "properties": {
              "revenue_category": {
                "$ref": "#/components/schemas/SingleObject"
              },
              "menu_item": {
                "$ref": "#/components/schemas/SingleObject"
              },
              "event": {
                "$ref": "#/components/schemas/SingleObject"
              },
              "booking": {
                "$ref": "#/components/schemas/SingleObject"
              },
              "organization": {
                "$ref": "#/components/schemas/SingleObject"
              }
            }
          }
        }
      },
      "LineItemSingleResponse": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/LineItemResponse"
          },
          "included": {
            "$ref": "#/components/schemas/Included"
          }
        }
      }
    },
    "parameters": {
      "id": {
        "name": "id",
        "in": "path",
        "required": true,
        "description": "Resource ID",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "RecordNotFoundError": {
        "description": "Not Found",
        "content": {
          "application/vnd.api+json": {
            "schema": {
              "type": "object",
              "properties": {
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "title": {
                        "type": "string",
                        "example": "not_found"
                      },
                      "status": {
                        "type": "string",
                        "example": "404"
                      },
                      "detail": {
                        "type": "string",
                        "example": "record not found"
                      }
                    }
                  }
                }
              },
              "example": {
                "errors": [
                  {
                    "title": "not_found",
                    "status": "404",
                    "detail": "record not found"
                  }
                ]
              }
            }
          }
        }
      }
    }
  }
}
```