Products Analytics API
1. Overview
The Products Analytics API returns your product data as a flat, table-like list. Every product is one row, and every product property (for example manufacturer or rohs) is a column. This makes it suitable for reporting tools such as Power BI, Excel or any other BI system that wants to read all products in one go.
The API is a JSON-based REST API over HTTPS with a single GET endpoint. It is part of the Jakamo Products API (Swagger tag Products Analytics API) and is not included in the Buyer API reference.
Request demo accounts from Jakamo Support Team (support@thejakamo.com) to try the API in the test environment first.
- Test environment is for testing purposes.
- Production environment is for live use.
2. API authorization
The API uses OAuth2.0 authentication. The API application that calls the endpoint needs the permission to read products (Product.read). A token without this permission gets 403 Forbidden; a missing or invalid token gets 401 Unauthorized.
The API returns products as seen by the company that owns the API application.
3. Endpoint
| Jakamo environment | HTTP request | Endpoint |
|---|---|---|
| Test environment | GET | https://demo.thejakamo.com/api/v2/products/analytics/all |
| Production environment | GET | https://www.thejakamo.com/api/v2/products/analytics/all |
3.1 Query parameters
All parameters are optional.
| Query parameter | Data type | Default | Description |
|---|---|---|---|
| offset | integer | 0 | Number of products to skip. Use together with limit to page through the data. |
| limit | integer | 100 | Number of products (rows) to return per request. |
| mergeStrategy | string | property_level_newer | How your product and your partner's matching product (counterproduct) are combined into one row. See merging. |
| relationshipId | integer | Return only products of this relationship. | |
| relationshipIds | integer list | Return products of several relationships. Overrides relationshipId. | |
| businessUnitId | integer | Return only products of this business unit of your company. | |
| businessUnitIds | integer list | Several business units. Overrides businessUnitId. | |
| categoryIds | integer list | Return only products in these categories. | |
| search | string list | Search terms. Products matching any of the terms are returned. | |
| sortColumn, sortDirection | string | Sort the result. | |
| excludeDisconnected | boolean | false | When true, products of disconnected relationships are left out. |
| onlyNonShared | boolean | false | When true (and no relationship is given), only products that are not shared with a partner are returned. |
| viewpoint | string | Requester | Requester or Otherparty. Decides which side's products are returned as the main product. |
| propertyFilters[code] | string | Filter by property value, for example propertyFilters[rohs]=compliant,exempt. Values are comma separated; a product matches if any value matches. | |
| propertyFilterTarget | string | own | own filters on your own values, partner on your partner's values. |
3.2 Merging
When a product is shared, both you and your partner may have your own version of it. The mergeStrategy parameter decides what one row contains:
property_level_newer(default for this endpoint): for each property, the value that was edited most recently wins. Grouped properties (3TG, EMRT, RoHS, REACH, TARIC) are taken as a whole group from the side that edited the group last. Rows made this way havemergedset totrue.product_level_counterproduct: the whole partner version is used if one exists, otherwise your product.
4. Response
The response is a JSON object with the rows in data and paging information in pagination.
4.1 Row fields
| Field | Description |
|---|---|
| productId | Jakamo product ID. |
| productRefRelationship | Relationship ID, 0 if the product is not shared. |
| partnerCompanyName | The partner company of the row, from your viewpoint. |
| partnerBusinessUnitName | The partner's business unit. |
| otherCompanyName, otherBusinessUnitName | The other party of the relationship, seen from the product owner. |
| productRefOwner, productOwnerCompanyName | ID and name of the company that owns the product. |
| productRefOwnerBu, productRefOwnerBuName | ID and name of the owner's business unit. |
| productRefAuthorUser | ID of the user who created the product. |
| productCreated, productEdited | Created and last edited timestamps. For merged rows productEdited is the later of the two. |
| requestersProductCode | Product code of the company making the request. |
| productOwnersProductCode | Product code of the product owner. |
| productAssumedPartnersProductCode | The partner's product code, as assumed by the owner. |
| merged, mergeStrategy | Whether the row was merged, and the strategy used. |
| mergedWithProductId | For merged rows, the ID of your own product that was merged with the partner's. |
| property codes | Each product property is its own field named by its property code, with the property value as a string. Properties without a code are not returned. |
Because properties are returned as separate fields, the set of fields can differ from row to row and between companies. Make your BI tool tolerant of missing fields.
4.2 Pagination
The pagination object tells you where you are in the data:
| Field | Description |
|---|---|
| totalItems | Total number of products matching the query. |
| totalPages | Number of pages with the current limit. |
| pageSize | Rows per page. |
| page | Current page number, starting from 1. |
| startItem, endItem | Position of the first and last row on this page. |
| hasPrevious, hasNext | Whether there is a previous or next page. |
To read all products, call the endpoint repeatedly, increasing offset by limit each time, until hasNext is false.
5. Example
Request, the second page of 100 products from the test environment:
GET https://demo.thejakamo.com/api/v2/products/analytics/all?offset=100&limit=100
Authorization: Bearer <access token>
Response (shortened):
{
"data": [
{
"productId": 1234,
"productRefRelationship": 56,
"partnerCompanyName": "Tammikoski Components Oy",
"partnerBusinessUnitName": null,
"otherCompanyName": "Tammikoski Components Oy",
"otherBusinessUnitName": null,
"productRefOwner": 12,
"productOwnerCompanyName": "Example Buyer Oy",
"productRefOwnerBu": null,
"productRefOwnerBuName": null,
"productRefAuthorUser": 345,
"productCreated": "2026-03-02T09:14:00",
"productEdited": "2026-10-21T13:40:00",
"requestersProductCode": "100-200",
"productOwnersProductCode": "100-200",
"productAssumedPartnersProductCode": "TC-9001",
"merged": false,
"mergeStrategy": "property_level_newer",
"mergedWithProductId": null,
"manufacturer": "Tammikoski Components Oy",
"rohs": "compliant"
}
],
"pagination": {
"totalItems": 250,
"totalPages": 3,
"pageSize": 100,
"page": 2,
"startItem": 101,
"endItem": 200,
"hasPrevious": true,
"hasNext": true
}
}