> For the complete documentation index, see [llms.txt](https://docs.flowretail.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowretail.com/docs/developers/api-documentation/service-portal/get-the-terms-to-sign-at-the-counter.md).

# 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.

```json
{"openapi":"3.0.2","info":{"title":"Flow Retail API version 2","version":"2.0.0"},"tags":[{"name":"ServicePortal","description":"The customer-facing service portal: the page the link in a service message opens, and the actions the customer can take from it. Authorized by the unguessable per-service-order token in the path and nothing else."}],"servers":[{"description":"Flow Retail Production","url":"https://api.flowretail.com/v2"},{"description":"Flow Retail Stage","url":"https://api.stage.flowretail.com/v2"}],"security":[],"paths":{"/portal/signing/{signingToken}":{"get":{"summary":"Get the terms to sign at the counter","operationId":"get-portal-signing","description":"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.\nThe 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.\nThis 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.","responses":{"200":{"$ref":"#/components/responses/PortalSigningResponse"},"404":{"description":"Unknown, expired or already used token. The same answer is given whichever it is — whether the token never existed, the session timed out, the terms have already been accepted, or a newer session replaced this one — because the page never reveals whether a service order exists behind a token."},"429":{"description":"Too many requests for this link. The signing page is rate limited per link, whatever the address the requests come from, and a request over the limit is refused rather than queued — the page is not served. The limit is judged before the token, and every request counts whatever the token, so a 429 says nothing about whether the link works."}},"tags":["ServicePortal"]}}},"components":{"responses":{"PortalSigningResponse":{"description":"Example response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalSigningResponseSchema"}}}}},"schemas":{"PortalSigningResponseSchema":{"title":"PortalSigningResponseSchema","description":"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.\nNothing 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.","type":"object","required":["serviceNumber","storeName","termsText","termsUrl","termsAccepted","preferredLanguage","accentColor"],"properties":{"serviceNumber":{"type":"string","description":"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."},"storeName":{"type":"string","description":"The store the service order belongs to."},"termsText":{"type":"string","description":"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."},"termsUrl":{"type":"string","description":"Where the tenant publishes their terms, shown as a link beside the text. An empty string when there is none."},"termsAccepted":{"type":"boolean","description":"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."},"preferredLanguage":{"description":"The language the signing page should be shown in: the service order's customer's own where one is known, otherwise the tenant's — the same language the service portal shows this case in.","allOf":[{"$ref":"#/components/schemas/LanguageCode"}]},"accentColor":{"type":"string","description":"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."}}},"LanguageCode":{"title":"LanguageCode","description":"Lowercase two-letter ISO 639-1 language code, like nb, en or sv.","type":"string"}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flowretail.com/docs/developers/api-documentation/service-portal/get-the-terms-to-sign-at-the-counter.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
