A valid request URL is required to generate request examples{
"items": [
{
"id": "markdown:prod-espresso",
"productId": "prod-espresso",
"masterCents": 3000,
"steps": [
{
"id": "s1",
"kind": "fixed",
"fromDate": "2020-01-01T00:00:00.000Z",
"priceCents": 1500
}
],
"version": 1
}
],
"total": 1,
"page": 1,
"pageSize": 20,
"pageCount": 1
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}List markdown schedules (démarques / soldes)
Returns ONE PAGE of the authored markdown (démarque / planned clearance / solde) schedules — the authoring directory. A markdown steps a product’s price down over time (rabais/remise programmée); this lists the SCHEDULES, not the resolved price. Page with page/pageSize (max 100) and keep going until page reaches pageCount: a schedule left on an unread page is a planned solde the back-office cannot see it already authored, so never read only the first page. total counts the schedules across ALL pages. For a product’s effective price now, use the resolve operation.
A valid request URL is required to generate request examples{
"items": [
{
"id": "markdown:prod-espresso",
"productId": "prod-espresso",
"masterCents": 3000,
"steps": [
{
"id": "s1",
"kind": "fixed",
"fromDate": "2020-01-01T00:00:00.000Z",
"priceCents": 1500
}
],
"version": 1
}
],
"total": 1,
"page": 1,
"pageSize": 20,
"pageCount": 1
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Query Parameters
1-based page index to return. Defaults to 1.
1 <= x <= 9007199254740991Rows per page, 1..100. Defaults to 20.
1 <= x <= 100Response
A page of authored markdown schedules with the pagination totals.
A page of authored markdown schedules with the pagination totals.
The rows on this page, in the query's sort order.
Show child attributes
Show child attributes
Total rows matching the filter across ALL pages, not just this one.
0 <= x <= 9007199254740991The 1-based page number served.
0 < x <= 9007199254740991Rows requested per page.
0 < x <= 9007199254740991Total number of pages; stop walking when page reaches it.
0 <= x <= 9007199254740991
