curl --request GET \
--url https://apix.us.amity.co/api/v1/products/search \
--header 'Authorization: Bearer <token>'{
"status": "success",
"data": [
{
"_id": "64a1b2c3d4e5f6g7h8i9j0k1",
"productId": "prod-12345",
"networkId": "network-abc123",
"productName": "Premium Headphones",
"productUrl": "https://example.com/products/premium-headphones",
"status": "active",
"price": 99.99,
"currency": "USD",
"thumbnailUrl": "https://example.com/images/headphones-thumb.jpg",
"thumbnailMode": "fit",
"importSource": "manual",
"createdBy": "user-xyz789",
"updatedBy": "user-xyz789",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"isDeleted": false
}
],
"paging": {
"next": "<string>",
"previous": "<string>"
}
}Search products by keyword with optional filters.
Access Control:
Search Features:
curl --request GET \
--url https://apix.us.amity.co/api/v1/products/search \
--header 'Authorization: Bearer <token>'{
"status": "success",
"data": [
{
"_id": "64a1b2c3d4e5f6g7h8i9j0k1",
"productId": "prod-12345",
"networkId": "network-abc123",
"productName": "Premium Headphones",
"productUrl": "https://example.com/products/premium-headphones",
"status": "active",
"price": 99.99,
"currency": "USD",
"thumbnailUrl": "https://example.com/images/headphones-thumb.jpg",
"thumbnailMode": "fit",
"importSource": "manual",
"createdBy": "user-xyz789",
"updatedBy": "user-xyz789",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"isDeleted": false
}
],
"paging": {
"next": "<string>",
"previous": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Search keyword for product name
200Filter by active status
Filter by deleted status
Field to sort by
createdAt, updatedAt, productName Sort order
asc, desc Maximum number of items to return (1-100)
1 <= x <= 100Pagination token for fetching next page
1000