There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

Get all line items

Last updated May 15, 2023

GET  /crm-objects/v1/objects/line_items/paged

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?





Sales Professional

Required Scope:


Get all line items from an account, up to 100 per request.

By default you will only get the object ID, the portal ID (HubSpot Account ID) and a deleted field to indicate if the line item as been archived or not in the response. If you want to get specific properties, you'll need to use the &properties= parameter in the request URL. The parameter can be included multiple times, so you can request any properties you may need. See the parameter descriptions below and the examples for more details.

Note: Line items created using the HubSpot sales tools may not always have a hs_product_id set. Products created from the deal line item editor will not be added to your product library and will therefore not have a hs_product_id. See the details in this knowledge doc for more information.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.

Optional Parameters How to use Description
Offset offset=
Used in the request URL
Used to get the next set of results. Check the value of hasMore in the response to see if there are more line items to get. If hasMore is true, you use the returned offset value in the &offset= parameter of the next request to get the next set of records.

Line items properties

Used in the request URL
This parameter can be included multiple times.
By default, only the ID and a few other system fields are returned for the line items. You can include other line item properties in the response by requesting them in the URL. This parameter can be included multiple times to request multiple properties. See the example for more details.
Line item properties (with history)


Used in the request URL
This parameter behaves exactly like the properties parameter above, with the exception that properties included with this parameter also return the full version history for the property.