Retrieves a list of products with optional filtering, sorting, and pagination.
Endpoint
GET /productsAuthentication
Required: Authorization header with valid token
Query Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
search | string | No | Search term for product title/description | excavator |
sortBy | string | No | Field to sort by | updatedAt |
sortDirection | string | No | Sort direction | ASC or DESC |
type | string | No | Filter by product type | RESOURCE or SERVICE |
page | number | No | Page number (default: 1) | 1 |
limit | number | No | Items per page (default: 20) | 20 |
updatedAfter | date-time | No | Filter products updated after this date | 2024-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"