BoldSales

API Documentation

Products

Products represent line items that your business offers to customers, such as software licenses, hardware, software, or subscriptions.

Get all products

get/api/v1/products

Retrieves a list of all products, with support for filtering, sorting, and pagination.

Code snippet

curl -X 'GET' \
  'https://{yourdomain}/api/v1/products' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Query parameters

filterIdintegerApplies a saved filter configuration identified by its numeric ID. Useful for retrieving data based on predefined logic stored in the system (e.g., saved views).
idsstringAccepts one or more product identifiers, separated by commas. Filters results to include only specific products (e.g., 101,102). If filterId is provided, this is ignored.
ownerstringAccepts one or more owner identifiers, separated by commas. Restricts results to products associated with the specified owners (e.g., 101,102). If filterId is provided, this is ignored.
creatorstringAccepts creator identifiers to filter records by who created them. Multiple creator IDs can be provided as comma-separated values (e.g., 101, 102). If filterId is provided, this is ignored.
createdOnstringFilters records by creation date within a specified time range. Format: {"from":"2025-07-28T18:30:00.000Z", "to":"2025-07-29T18:29:00.000Z"}. If filterId is provided, this is ignored.
modifiedOnstringRetrieves records modified within a specific date range. Format: {"from":"2025-07-28T18:30:00.000Z", "to":"2025-07-29T18:29:00.000Z"}. If filterId is provided, this is ignored.
includeTotalCountbooleanDetermines if the response includes the total count of matching records.
orderBystringSpecifies the sorting criteria for the returned results. The value "createdOn desc" means records will be ordered by the created on date in descending order (most recent first).
fieldsstringSpecify field API names to include in the response. Accepts one or more field API names, separated by commas. Custom fields are returned only when their API name is passed in this parameter.
pageintegerIndicates the current page index in a paginated result set. Supports pagination by defining which chunk of results to retrieve, starting from page 1.
pageSizeintegerSpecifies the maximum number of records to return per page (maximum 100).

Example response

200 Success

{
  "data": [
    {
      "id": 900,
      "name": "Premium Software License",
      "description": "Comprehensive software solution for enterprise customers",
      "productCode": "PSL-2025-001",
      "listPrice": 15000.00,
      "isActiveProduct": true,
      "category": {
        "id": 35,
        "value": "Software"
      },
      "owner": {
        "id": 1,
        "name": "Sarah Johnson",
        "email": "[email protected]",
        "status": "Active"
      },
      "creator": {
        "id": 1,
        "name": "Sarah Johnson",
        "status": "Active"
      },
      "modifier": {
        "id": 2,
        "name": "Mike Wilson",
        "status": "Active"
      },
      "createdOn": "2025-07-31T00:30:00.000Z",
      "modifiedOn": "2025-07-31T00:30:00.000Z",
      "sellingType": {
        "id": 114,
        "value": "Subscription"
      },
      "subscriptionType": {
        "id": 115,
        "value": "Term based"
      },
      "chargeType": {
        "id": 118,
        "value": "Recurring"
      },
      "billingFrequency": {
        "id": 38,
        "value": "Monthly"
      },
      "term": 12,
      "tax": {
        "id": 59,
        "value": "Standard Tax Rate"
      },
      "cf_manufacturer": "Northwind Manufacturing"
    }
  ],
  "pagination": {
    "page": 1,
    "pageSize": 20,
    "totalRecords": 150,
    "totalPages": 8
  }
}