Get Products

Retrieves a list of products with optional filtering, sorting, and pagination.

Endpoint

GET /products

Authentication

Required: Authorization header with valid token

Query Parameters

ParameterTypeRequiredDescriptionExample
searchstringNoSearch term for product title/descriptionexcavator
sortBystringNoField to sort byupdatedAt
sortDirectionstringNoSort directionASC or DESC
typestringNoFilter by product typeRESOURCE or SERVICE
pagenumberNoPage number (default: 1)1
limitnumberNoItems per page (default: 20)20
updatedAfterdate-timeNoFilter products updated after this date2024-01-01T00:00:00Z

Response

Success

{
  "content": [
    "ProductEntity"
  ],
  "total": "number"
}

Response Field Descriptions:

  • content - Array of product objects (ProductEntity Schema)
  • total - Total number of products matching the query criteria

Example Usage

curl -X GET "https://integration-api.ram.syniotec.com/master-data/v1/product-management/products?type=SERVICE&page=1&limit=10" \
  -H "Authorization: Bearer YOUR_TOKEN"