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

Record service-order terms acceptance

Record that the customer accepted the terms and conditions on a service order — signed at the counter on the store's device, with the drawn signature sent along and kept on the record, or accepted in the store without it, on the printed service confirmation or by telling staff, where no signature is kept. The record snapshots the terms exactly as the service order carries them at that moment, so it says what the customer was shown, and a TERMS_ACCEPTED event is written on the timeline. The request is refused when the service order has no terms — there is nothing to accept — and refused while a standing acceptance exists on it — one acceptance is what is asked, and it has been given. After a void, a new acceptance may be recorded. An acceptance the customer gives themselves in the service portal is written by the portal and is not recorded here, which is why PORTAL_LINK cannot be sent as the method. Supply acceptanceUid to make the call idempotent: a repeat with the same acceptanceUid returns the record already created, rather than the refusal a second acceptance would get. This is a write on the case, so it belongs to the store that owns the service order: at any other store it is refused with a 403, where the case can be read but not worked on.

Required permissions: SERVICE_ORDER

post
/tenants/{tenantUid}/stores/{storeUid}/serviceorders/{serviceOrderUid}/termsacceptances
Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
serviceOrderUidstringRequired

Reference to a service order

Pattern: ^[A-Za-z0-9-_]+
Body

An acceptance of the terms and conditions on a service order, recorded by staff — signed at the counter on the store's device, or given in the store without it, on the printed service confirmation or by telling staff. The record snapshots the terms exactly as the service order carries them at that moment, so it says what the customer was shown. The request is refused when the service order has no terms — termsText and termsUrl both empty — because there is nothing to accept, and refused while a standing acceptance exists on the service order — one acceptance is what is asked, and it has been given. After a void, a new acceptance may be recorded. Supply acceptanceUid to make the call idempotent: a repeat with the same acceptanceUid returns the record already created, rather than the refusal a second acceptance would get.

acceptanceUidstringOptionalPattern: ^[A-Za-z0-9-_]+
methodstring · enumRequired

How an acceptance of the terms and conditions was given, when staff record it because it did not come through the service portal. COUNTER_DEVICE: the customer signed at the counter on the store's device, the signature drawn on the screen and kept on the acceptance. IN_STORE: the customer accepted in the store without the counter device — by signing the printed service confirmation or by telling staff they accept; staff record that it happened, and no signature is kept on the acceptance. A signed sheet, where there is one, stays in the store's own filing — or is uploaded as an ordinary document on the service order, if the store wants it on record. An acceptance the customer gives themselves in the service portal is recorded as PORTAL_LINK, which the portal writes itself. That is why PORTAL_LINK is not one of these values: this is what staff may record, not the whole set of ways an acceptance can be given.

Possible values:
signaturestring · min: 1 · max: 500000Optional

The signature as the customer drew it on the device, a PNG image encoded in base64. It is kept on the acceptance itself, not as an asset. Required when the method is COUNTER_DEVICE — a counter acceptance without a drawn signature is refused, and an empty string is not a signature. Left out when the method is IN_STORE, where it is refused: an in-store acceptance keeps no signature, and a sheet the customer signed stays in the store's own filing or is uploaded as an ordinary document on the service order if the store wants it on record.

Responses
201

Example response

application/json

A record that the customer accepted the terms and conditions on a service order. It is a business fact. One acceptance is what a service order asks for, and one standing acceptance is what it carries. The evidence on it never changes once recorded: when the customer accepted (acceptedAt), how (method), the terms exactly as they read when they accepted (termsText, termsUrl) and the signature drawn on the counter device where there is one. The only later write the record takes is being voided, which sets voidReason and nothing else. termsText and termsUrl are the wording the acceptance answered; a later change of the tenant's terms, of the type's additional terms or of the service order's service type never touches them, so what was agreed to can always be established. method says how the acceptance was given. Every way carries the same weight — the difference is only where the customer was standing and how they gave it. An acceptance that has been voided is still here, and still says what it said: the evidence stays as recorded, voidReason carries the reason, and an acceptance that has been voided satisfies nothing on the service order.

acceptanceUidstringRequiredPattern: ^[A-Za-z0-9-_]+
serviceOrderUidstringRequiredPattern: ^[A-Za-z0-9-_]+
methodstring · enumRequired

How the terms were accepted. PORTAL_LINK: the customer accepted in the service portal, through the link in the message they were sent. COUNTER_DEVICE: the customer signed at the counter on the store's device, and the drawn signature is on the record. IN_STORE: the customer accepted in the store — on the printed service confirmation or by telling staff — and staff recorded that it happened.

Possible values:
signaturestringRequired

The signature as the customer drew it on the counter device, a PNG image encoded in base64, kept on the acceptance itself. Set on every acceptance whose method is COUNTER_DEVICE. An empty string on the other two: an acceptance given in the service portal or in the store draws nothing.

termsTextstringRequired

The terms the customer accepted, in the terms format that termsText in the service settings describes, exactly as the service order carried them at that moment — the tenant's terms followed by the additional terms of the service order's service type. Compare it with the service order's current termsText to see whether the wording accepted is still the one the service order carries.

termsUrlstringRequired

The URL of the tenant's published terms as the service order carried it when the customer accepted. An empty string when there was none.

acceptedAtstring · date-timeRequired

When the customer accepted. Who recorded it — the staff member in the store, or the portal itself — is the attribution of the TERMS_ACCEPTED event on the timeline; the customer is the one accepting on every channel.

voidReasonstringRequired

The reason the acceptance was voided, as the user who voided it wrote it. An empty string on an acceptance that stands. Who voided it and when are on the TERMS_VOIDED event written on the timeline.

post/tenants/{tenantUid}/stores/{storeUid}/serviceorders/{serviceOrderUid}/termsacceptances
POST /v2/tenants/{tenantUid}/stores/{storeUid}/serviceorders/{serviceOrderUid}/termsacceptances HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "acceptanceUid": "text",
  "method": "COUNTER_DEVICE",
  "signature": "text"
}
{
  "acceptanceUid": "text",
  "serviceOrderUid": "text",
  "method": "PORTAL_LINK",
  "signature": "text",
  "termsText": "text",
  "termsUrl": "text",
  "acceptedAt": "2026-01-01T00:00:00.000Z",
  "voidReason": "text"
}

Last updated

Was this helpful?