API DocumentationCart resource
Get paginated carts with RSQL filtering
Retrieves paginated cart records for the current operator. Intended for cart analytics — typical use case is identifying high-value or anomalous quoting activity across customers. Supports RSQL filtering via filter and a free-text search parameter matched against cart number.
AuthorizationBearer <token>
In: header
Query Parameters
filterstring
RSQL query string for filtering (e.g. paymentStatus=in=(PAID,UNPAID);price>10)
page?integer
Zero-based page index (0..N)
Default
0Range
0 <= valuesize?integer
The size of the page to be returned
Default
20Range
1 <= valuesort?array<string>
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Default
["createdAt,DESC"]search?string
Response Body
curl -X GET "http://m-api-dev.phas.io/api/manufacturer/v1/cart?filter=string&page=0&size=20&sort=createdAt%2CDESC&search=string"{
"content": [
{
"cartId": 0,
"status": "OPEN",
"customerOrganisationId": 0,
"customerOrganisationName": "string",
"customerId": 0,
"customerEmail": "string",
"customerPhone": "string",
"cartNumber": 0,
"itemCount": 0,
"items": [
{
"id": 0,
"partRevisionId": "d6aa80a1-8f9a-4090-941a-f51f551521b8",
"partName": "string",
"quantity": 0,
"colorId": 0,
"precisionPricesId": 0,
"infillId": 0,
"processPricesId": "efb221a2-6f82-4cf4-8be0-20aae2aa874c",
"materialPricesId": 0,
"leadTimeId": "d4f8e2ce-2958-4e33-9da6-3f42e4f728f1",
"units": "CENTIMETERS",
"postProcessingIds": [
0
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updateDt": "2019-08-24T14:15:22Z",
"itemProcessIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"itemMaterialIds": [
0
],
"itemLeadTimeIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"itemPostProcessingIds": [
0
],
"itemUnits": [
"CENTIMETERS"
]
}
],
"totalElements": 0,
"totalPages": 0,
"pageNumber": 0,
"pageSize": 0,
"isEmpty": true,
"isFirst": true,
"isLast": true
}