Retrieves a paginated list of products and assigned prices in a specific price list based on priceListId and other search parameters as passed in the request body. If price list ID is not provided, default price list is selected for the search.
OK
Not Found
Internal Server Error
{- "offset": 0,
- "limit": 10,
- "keyword": "CAN",
- "sku": true,
- "isListView": true,
- "priceListId": 0
}
{- "query": {
- "limit": 10,
- "offset": 0,
- "count": 50
}, - "results": [
- {
- "variants": [
- "VARIANT-01",
- "VARIANT-55"
], - "itemId": 1000002411,
- "channel": [
- 12,
- 13
], - "isDefault": true,
- "state": "READY",
- "createdAt": "2020-12-14T12:15:43.646Z",
- "updatedAt": "2020-12-14T12:15:43.646Z",
- "startDate": "2020-12-14T12:14:35.331Z",
- "endDate": "2020-12-14T12:14:35.331Z",
- "isActive": true,
- "sku": "WALL123",
- "title": "wall posters",
- "images": [
- {
- "id": "5fd7577251a93f0007e48383",
- "order": 0,
- "source": [
- {
- "id": "5fd7577251a93f0007e48383",
}
]
}
], - "price": {
- "sale": 2800,
- "cost": 2500,
- "currency": "USD",
- "base": 3000
}, - "kind": {
- "priceKindId": 12,
- "name": "Clearance",
- "channel": 12
}, - "priceStartDate": "2021-01-06T19:00:00+00:00",
- "priceEndDate": "2099-12-31T18:59:00+00:00",
- "priceLastUpdatedAt": "2099-12-31T18:59:00+00:00",
- "status": "ACTIVE",
- "basePriceRange": {
- "min": 100,
- "max": 300
}, - "salePriceRange": {
- "min": 100,
- "max": 300
}, - "costPriceRange": {
- "min": 100,
- "max": 300
}, - "items": [
- {
- "variants": [
- "VARIANT-01",
- "VARIANT-55"
], - "itemId": 1000002411,
- "channel": [
- 12,
- 13
], - "isDefault": true,
- "state": "READY",
- "createdAt": "2020-12-14T12:15:43.646Z",
- "updatedAt": "2020-12-14T12:15:43.646Z",
- "startDate": "2020-12-14T12:14:35.331Z",
- "endDate": "2020-12-14T12:14:35.331Z",
- "isActive": true,
- "sku": "WALL123",
- "title": "wall posters",
- "images": [
- {
- "id": "5fd7577251a93f0007e48383",
- "order": 0,
- "source": [
- { }
]
}
], - "price": {
- "sale": 2800,
- "cost": 2500,
- "currency": "USD",
- "base": 3000
}, - "kind": {
- "priceKindId": 12,
- "name": "Clearance",
- "channel": 12
}, - "priceStartDate": "2021-01-06T19:00:00+00:00",
- "priceEndDate": "2099-12-31T18:59:00+00:00",
- "status": "ACTIVE"
}
]
}
]
}