Skip to main content

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.

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 environmentHTTP requestEndpoint
Test environmentGEThttps://demo.thejakamo.com/api/v2/products/analytics/all
Production environmentGEThttps://www.thejakamo.com/api/v2/products/analytics/all

3.1 Query parameters​

All parameters are optional.

Query parameterData typeDefaultDescription
offsetinteger0Number of products to skip. Use together with limit to page through the data.
limitinteger100Number of products (rows) to return per request.
mergeStrategystringproperty_level_newerHow your product and your partner's matching product (counterproduct) are combined into one row. See merging.
relationshipIdintegerReturn only products of this relationship.
relationshipIdsinteger listReturn products of several relationships. Overrides relationshipId.
businessUnitIdintegerReturn only products of this business unit of your company.
businessUnitIdsinteger listSeveral business units. Overrides businessUnitId.
categoryIdsinteger listReturn only products in these categories.
searchstring listSearch terms. Products matching any of the terms are returned.
sortColumn, sortDirectionstringSort the result.
excludeDisconnectedbooleanfalseWhen true, products of disconnected relationships are left out.
onlyNonSharedbooleanfalseWhen true (and no relationship is given), only products that are not shared with a partner are returned.
viewpointstringRequesterRequester or Otherparty. Decides which side's products are returned as the main product.
propertyFilters[code]stringFilter by property value, for example propertyFilters[rohs]=compliant,exempt. Values are comma separated; a product matches if any value matches.
propertyFilterTargetstringownown 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 have merged set to true.
  • 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​

FieldDescription
productIdJakamo product ID.
productRefRelationshipRelationship ID, 0 if the product is not shared.
partnerCompanyNameThe partner company of the row, from your viewpoint.
partnerBusinessUnitNameThe partner's business unit.
otherCompanyName, otherBusinessUnitNameThe other party of the relationship, seen from the product owner.
productRefOwner, productOwnerCompanyNameID and name of the company that owns the product.
productRefOwnerBu, productRefOwnerBuNameID and name of the owner's business unit.
productRefAuthorUserID of the user who created the product.
productCreated, productEditedCreated and last edited timestamps. For merged rows productEdited is the later of the two.
requestersProductCodeProduct code of the company making the request.
productOwnersProductCodeProduct code of the product owner.
productAssumedPartnersProductCodeThe partner's product code, as assumed by the owner.
merged, mergeStrategyWhether the row was merged, and the strategy used.
mergedWithProductIdFor merged rows, the ID of your own product that was merged with the partner's.
property codesEach 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.
info

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:

FieldDescription
totalItemsTotal number of products matching the query.
totalPagesNumber of pages with the current limit.
pageSizeRows per page.
pageCurrent page number, starting from 1.
startItem, endItemPosition of the first and last row on this page.
hasPrevious, hasNextWhether 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
}
}