There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Get all products

Last updated June 17, 2020

GET  /crm-objects/v1/objects/products/paged

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Sales Professional

Required Scope:

e-commerce

Get all products from a portal, up to 100 per request.

By default you will only get a few system fields for any products 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.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header or hapikey={key} query parameter. 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 products 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.

Product properties

&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 products. You can include product 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.
Product properties (with history)

 

&propertiesWithHistory=
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.