For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get the terms to sign at the counter

The counter signing page, on the device staff have handed to the customer. It shows which case is being signed for, in which store, and the terms of the service order — and nothing else about the service order. The token in the path is the whole authorization. There is no login and no permission check, which is why the response is a representation of its own rather than any part of the service order: a device left lying on this page exposes the terms and the signature pad, never the case. This is not the customer's service portal and cannot become it. That link follows the case for weeks; this one is for the minute the customer is standing at the counter.

get
/portal/signing/{signingToken}
Path parameters
signingTokenstringRequired

The single-use token of an in-store signing session, carried by the URL the counter device was given. It is the whole credential: whoever holds the link is the person the device was handed to, and there is nothing to sign in with. It reaches the terms of one service order and nothing else — not the customer's service portal, not the timeline, not the case itself. Handing a device across the counter on this page therefore exposes the terms text and the signature pad, and nothing more. A token stops working the moment the terms are accepted, when the session expires, and when a new session is created for the same service order — creating one is what invalidates the last. A request carrying a used, expired or unknown token is refused, and the refusal never says whether a service order exists behind it.

Responses
200

Example response

application/json

The counter signing page, as the customer sees it on the device that has been handed to them. It is a representation of its own and holds only what signing needs: which case is being signed for, where, the terms to read, whether they have been accepted yet, the language to show the page in, and the tenant's accent color to draw it in. Nothing else about the service order is here — no timeline, no quote, no prices, no messages. A device left on this page shows the terms and nothing more.

serviceNumberstringRequired

The running service number of the case the terms are being signed for — enough for the customer to see they are signing for their own device.

storeNamestringRequired

The store the service order belongs to.

termsTextstringRequired

The terms the customer is signing, exactly as the service order carries them — the same wording the acceptance records, in the terms format that termsText in the service settings describes, markers included. The page renders that format.

termsUrlstringRequired

Where the tenant publishes their terms, shown as a link beside the text. An empty string when there is none.

termsAcceptedbooleanRequired

Whether the terms have been accepted on the service order. It is false on the page the customer is handed, and true in the answer to the acceptance — which is also the moment the session stops working.

preferredLanguagestringRequired

Lowercase two-letter ISO 639-1 language code, like nb, en or sv.

accentColorstringRequired

The tenant's accent color, the serviceAccentColor of the service settings: a # followed by six lowercase hex digits, such as #f97316, that the signing page draws its buttons, links and highlights in. An empty string when the tenant has not chosen one, and the page then uses its default accent color.

Example: #f97316
get/portal/signing/{signingToken}
GET /v2/portal/signing/{signingToken} HTTP/1.1
Host: api.flowretail.com
Accept: */*
{
  "serviceNumber": "text",
  "storeName": "text",
  "termsText": "text",
  "termsUrl": "text",
  "termsAccepted": true,
  "preferredLanguage": "text",
  "accentColor": "#f97316"
}

Last updated

Was this helpful?