BoldSales

API Documentation

Get a product

get/api/v1/products/{id}

Retrieves comprehensive product information by ID, including system fields, custom fields, and related entities like pricing, category, and owner details.

Code snippet

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

Path parameters

idintegerRequiredThe unique identifier of the product to retrieve.

Query parameters

fieldsstringComma-separated list of field API names to include in the response, in addition to the system fields. If not provided, only system fields are returned. Custom fields are returned only when their API name is passed in this parameter. For details about the available fields, see Get all product fields.

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"
    },
    "sellingType": {
      "id": 114,
      "value": "Subscription"
    },
    "subscriptionType": {
      "id": 115,
      "value": "Term based"
    },
    "chargeType": {
      "id": 118,
      "value": "Recurring"
    },
    "billingFrequency": {
      "id": 38,
      "value": "Monthly"
    },
    "term": 6,
    "tax": {
      "id": 59,
      "value": "Standard Tax Rate"
    },
    "createdOn": "2025-04-09T13:59:45.492Z",
    "creator": {
      "id": 1,
      "name": "Sarah Johnson",
      "status": "Active"
    },
    "modifiedOn": "2025-08-04T16:52:38.007Z",
    "modifier": {
      "id": 2,
      "name": "Mike Wilson",
      "status": "Active"
    },
    "cf_manufacturer": "Northwind Manufacturing"
  }
}