Quote, check slots and book on-site upholstery, carpet and mattress cleaning in Pomorskie, Poland.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
PURPOSE: Calculates the price of an order (unit prices, quantity discounts, add-ons, travel fee, minimum order) for a postal code. Returns quote_id (valid 30 minutes). WHEN TO USE: Whenever the customer asks how much a cleaning costs and you know the service(s), quantity and postal code. Also the first step before check_availability. WHEN NOT TO USE: Not for checking dates and never as a booking - it reserves nothing. REQUIRED: postal_code; items[] with service (id from list_upholstery_services) and quantity. Add-ons optional (names from the catalog; close spellings are matched, unknown ones return error unsupported_addon with allowed_addons). If postal code, service or quantity is unknown, ask the customer - do not guess. SIDE EFFECTS: none for the customer (stores a 30-minute quote only). CONSTRAINTS: Report total_from exactly; never estimate or adjust prices. Area not served -> error unsupported_postcode. below_min_order=true -> ask the customer to add a service before booking.
Services to price
Polish postal code NN-NNN, e.g. 80-180
Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant.
PURPOSE: Calculates the price of an order (unit prices, quantity discounts, add-ons, travel fee, minimum order) for a postal code. Returns quote_id (valid 30 minutes). WHEN TO USE: Whenever the customer asks how much a cleaning costs and you know the service(s), quantity and postal code. Also the first step before check_availability. WHEN NOT TO USE: Not for checking dates and never as a booking - it reserves nothing. REQUIRED: postal_code; items[] with service (id from list_upholstery_services) and quantity. Add-ons optional (names from the catalog; close spellings are matched, unknown ones return error unsupported_addon with allowed_addons). If postal code, service or quantity is unknown, ask the customer - do not guess. SIDE EFFECTS: none for the customer (stores a 30-minute quote only). CONSTRAINTS: Report total_from exactly; never estimate or adjust prices. Area not served -> error unsupported_postcode. below_min_order=true -> ask the customer to add a service before booking.
| Argument | Type | Description |
|---|---|---|
| items* | array | Services to price |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| postal_code* | string | Polish postal code NN-NNN, e.g. 80-180 |
{
"type": "object",
"required": [
"postal_code",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"service",
"quantity"
],
"properties": {
"addons": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60,
"minLength": 2
},
"maxItems": 10,
"description": "Optional add-on names as listed for this service, e.g. \"Impregnacja Ochronna Przed Zabrudzeniami\""
},
"service": {
"type": "string",
"pattern": "^[a-z0-9_\\-]+$",
"maxLength": 64,
"minLength": 2,
"description": "Service id from list_upholstery_services, e.g. pranie_naroznika_l_4_5_os"
},
"quantity": {
"type": "number",
"maximum": 500,
"minimum": 0.5,
"description": "Pieces (whole number), mattress sides (1-2) or square metres for carpets"
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Services to price"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"postal_code": {
"type": "string",
"pattern": "^\\d{2}[-\\s]?\\d{3}$",
"maxLength": 6,
"minLength": 5,
"description": "Polish postal code NN-NNN, e.g. 80-180"
}
},
"additionalProperties": false
}PURPOSE: Cancels the verified customer's existing booking. Irreversible. WHEN TO USE: Only after the customer explicitly confirmed they want to cancel this specific booking (reference and date read back to them). WHEN NOT TO USE: Not to change the date (use reschedule_booking), never on an unclear request. REQUIRED: booking_reference, customer_grant (or a signed-in customer). reason and idempotency_key optional. SIDE EFFECTS: cancels the booking and notifies the customer by SMS/e-mail. Repeating the same call returns the same result.
| Argument | Type | Description |
|---|---|---|
| reason | string | Optional short reason given by the customer |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| customer_grant | string | customer_grant returned by verify_phone_code |
| idempotency_key | string | Optional. Same value when retrying the same request. If omitted, the server derives the key from the request, so a retry never creates a second booking. |
| booking_reference* | string |
{
"type": "object",
"required": [
"booking_reference"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 120,
"description": "Optional short reason given by the customer"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"customer_grant": {
"type": "string",
"maxLength": 80,
"minLength": 20,
"description": "customer_grant returned by verify_phone_code"
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9._:\\-]{8,128}$",
"maxLength": 128,
"minLength": 8,
"description": "Optional. Same value when retrying the same request. If omitted, the server derives the key from the request, so a retry never creates a second booking."
},
"booking_reference": {
"type": "string",
"pattern": "^[A-Za-z0-9\\-]{8,20}$",
"maxLength": 20,
"minLength": 8
}
},
"additionalProperties": false
}PURPOSE: Returns real, currently free appointment slots for a quote_id (new booking) or for an existing booking_reference (rescheduling, needs customer_grant). WHEN TO USE: When the customer asks when we can come, after calculate_quote. wanted.type: asap (earliest), date (one day), range (from-to), preferred (a day + nearby days, sorted by preferred_time); optional part_of_day. If type is omitted it follows the fields given (date -> date, from/to -> range, nothing -> asap). WHEN NOT TO USE: Never to book - it reserves nothing and holds no slot. REQUIRED: quote_id (or booking_reference + customer_grant). Dates as YYYY-MM-DD, Polish time. SIDE EFFECTS: none (read-only; slot_id values are valid ~15 minutes). RESULT: slots found -> success=true, slots[]. None in the requested period -> success=false, error="no_availability", next_available (date or null) and alternative_slots[] - offer those. Past date -> error date_in_past; beyond the online booking horizon -> error date_out_of_range. Never invent a slot.
| Argument | Type | Description |
|---|---|---|
| wanted | object | Optional preference; empty = earliest slots |
| quote_id | string | quote_id from calculate_quote (new booking) |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| customer_grant | string | customer_grant returned by verify_phone_code |
| booking_reference | string |
PURPOSE: Checks whether SzuruSzuru serves a Polish postal code. WHEN TO USE: When the customer asks whether we come to their town/postal code. WHEN NOT TO USE: Not needed before calculate_quote (calculate_quote checks the area itself). Never use it to reserve anything. REQUIRED: postal_code (NN-NNN). SIDE EFFECTS: none (read-only). RESULT: served -> success=true, available=true, city. Not served -> success=false, error="unsupported_postcode", available=false - tell the customer we do not serve this code; do not continue to quote or booking.
| Argument | Type | Description |
|---|---|---|
| session_id | string | Optional, ignored by this tool. |
| postal_code* | string | Polish postal code NN-NNN, e.g. 80-180 |
{
"type": "object",
"required": [
"postal_code"
],
"properties": {
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional, ignored by this tool."
},
"postal_code": {
"type": "string",
"pattern": "^\\d{2}[-\\s]?\\d{3}$",
"maxLength": 6,
"minLength": 5,
"description": "Polish postal code NN-NNN, e.g. 80-180"
}
},
"additionalProperties": false
}PURPOSE: Step 2 of 2 of booking. Creates the real, confirmed SzuruSzuru booking for a confirmation_id from prepare_booking, using the 6-digit SMS code the customer received. WHEN TO USE: Only after prepare_booking succeeded and the customer has typed the SMS code in the conversation. WHEN NOT TO USE: Never to check price or availability, never without a code from the customer, never with a guessed or example code. REQUIRED: confirmation_id, sms_code. idempotency_key optional. Missing data -> error missing_required_fields; nothing is created. SIDE EFFECTS: creates a booking (a technician is scheduled) and sends SMS/e-mail confirmation to the customer. Idempotent: repeating the call with the same confirmation_id and code returns the SAME booking - it never creates a second one. RESULT: success=true, booking_id, status, date, time (Polish time), price, currency. Give these to the customer. Wrong code -> error verification_failed with attempts_left.
| Argument | Type | Description |
|---|---|---|
| sms_code* | string | 6-digit code the customer received by SMS |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| confirmation_id* | string | confirmation_id from prepare_booking |
| idempotency_key | string | Optional. Same value when retrying the same request. If omitted, the server derives the key from the request, so a retry never creates a second booking. |
{
"type": "object",
"required": [
"confirmation_id",
"sms_code"
],
"properties": {
"sms_code": {
"type": "string",
"pattern": "^\\s*\\d{3}\\s?\\d{3}\\s*$",
"maxLength": 8,
"minLength": 6,
"description": "6-digit code the customer received by SMS"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"confirmation_id": {
"type": "string",
"pattern": "^c_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "confirmation_id from prepare_booking"
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9._:\\-]{8,128}$",
"maxLength": 128,
"minLength": 8,
"description": "Optional. Same value when retrying the same request. If omitted, the server derives the key from the request, so a retry never creates a second booking."
}
},
"additionalProperties": false
}PURPOSE: Lists the verified customer's bookings from the last 90 days (or one booking by booking_reference): reference, services, date, time, price, status, can_reschedule, can_cancel. WHEN TO USE: When the customer asks about their existing booking(s). WHEN NOT TO USE: Not for new bookings. Without customer_grant it returns error verification_required - then run start_phone_verification -> verify_phone_code. REQUIRED: customer_grant (or a signed-in customer). SIDE EFFECTS: none (read-only). Never shows other customers' data.
| Argument | Type | Description |
|---|---|---|
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| customer_grant | string | customer_grant returned by verify_phone_code |
| booking_reference | string | Optional: one booking instead of the list |
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"customer_grant": {
"type": "string",
"maxLength": 80,
"minLength": 20,
"description": "customer_grant returned by verify_phone_code"
},
"booking_reference": {
"type": "string",
"pattern": "^[A-Za-z0-9\\-]{8,20}$",
"maxLength": 20,
"minLength": 8,
"description": "Optional: one booking instead of the list"
}
},
"additionalProperties": false
}PURPOSE: Returns the details of ONE service: unit (piece / m2 / mattress side), allowed quantity, add-on names and prices, short description and FAQ. WHEN TO USE: When the request is ambiguous (e.g. which corner sofa size, carpet area in m2, which add-ons exist for this service). WHEN NOT TO USE: Not for prices of an order (use calculate_quote) or availability. REQUIRED: service (id from list_upholstery_services). SIDE EFFECTS: none (read-only).
| Argument | Type | Description |
|---|---|---|
| service* | string | Service id from list_upholstery_services, e.g. pranie_naroznika_l_4_5_os |
| session_id | string | Optional, ignored by this tool. |
{
"type": "object",
"required": [
"service"
],
"properties": {
"service": {
"type": "string",
"pattern": "^[a-z0-9_\\-]+$",
"maxLength": 64,
"minLength": 2,
"description": "Service id from list_upholstery_services, e.g. pranie_naroznika_l_4_5_os"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional, ignored by this tool."
}
},
"additionalProperties": false
}PURPOSE: Lists SzuruSzuru services (mobile upholstery, corner sofa, armchair, carpet, rug and mattress cleaning at the customer's home, Pomeranian region, Poland) with service ids, unit prices in PLN, units and add-on names. WHEN TO USE: To find the service id and exact add-on names before calculate_quote, or when the customer asks what is offered. WHEN NOT TO USE: Not for a price of a concrete order (use calculate_quote), not for coverage (check_service_area) or dates (check_availability). REQUIRED: nothing. SIDE EFFECTS: none (read-only). CONSTRAINTS: Prices come only from this catalog and calculate_quote - never estimate a price.
| Argument | Type | Description |
|---|---|---|
| category | string | Optional filter (furniture = sofas, corner sofas, armchairs; leather = leather furniture) |
| session_id | string | Optional, ignored by this tool. |
{
"type": "object",
"properties": {
"category": {
"enum": [
"chairs",
"furniture",
"leather",
"mattress",
"carpet"
],
"type": "string",
"description": "Optional filter (furniture = sofas, corner sofas, armchairs; leather = leather furniture)"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional, ignored by this tool."
}
},
"additionalProperties": false
}PURPOSE: Step 1 of 2 of booking. Holds the chosen slot for 10 minutes and sends a 6-digit SMS code to the customer's Polish mobile. Returns confirmation_id and a summary to show verbatim. Does NOT create a booking. WHEN TO USE: Only after the customer explicitly said they want to book THIS slot, gave first and last name, street address with number and mobile phone, and accepted the terms. WHEN NOT TO USE: Not for price or date questions, not when the customer says "maybe" or only asks how much / when. Never guess or invent missing data - ask. REQUIRED: quote_id, slot_id (from check_availability), customer.name, customer.address, customer.phone, terms_accepted=true. Missing data -> error missing_required_fields with missing_fields[]. SIDE EFFECTS: one SMS to the phone + 10-minute slot hold. The identical call repeated returns the same confirmation_id, no new SMS. NEXT: ask the customer for the SMS code, then call create_booking.
| Argument | Type | Description |
|---|---|---|
| notes | string | Optional note for the cleaner (fabric type, stains, parking) |
| slot_id* | string | slot_id chosen by the customer from check_availability |
| customer* | object | |
| quote_id* | string | quote_id from calculate_quote |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| invoice_data |
PURPOSE: Moves the verified customer's existing booking to a new slot. Price and services stay the same. WHEN TO USE: Only after check_availability(booking_reference) and after the customer explicitly confirmed the new date and time. WHEN NOT TO USE: Not for new bookings, not to change services or price. REQUIRED: booking_reference, slot_id (from check_availability with that booking_reference), customer_grant (or a signed-in customer). idempotency_key optional. SIDE EFFECTS: changes the booking and notifies the customer by SMS/e-mail. Repeating the same call returns the same result.
| Argument | Type | Description |
|---|---|---|
| slot_id* | string | slot_id from check_availability(booking_reference) |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| customer_grant | string | customer_grant returned by verify_phone_code |
| idempotency_key | string | Optional. Same value when retrying the same request. If omitted, the server derives the key from the request, so a retry never creates a second booking. |
| booking_reference* | string |
{
"type": "object",
"required": [
"booking_reference",
"slot_id"
],
"properties": {
"slot_id": {
"type": "string",
"pattern": "^s_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "slot_id from check_availability(booking_reference)"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"customer_grant": {
"type": "string",
"maxLength": 80,
"minLength": 20,
"description": "customer_grant returned by verify_phone_code"
},
"idempotency_key": {
"type": "string",
"pattern": "^[A-Za-z0-9._:\\-]{8,128}$",
"maxLength": 128,
"minLength": 8,
"description": "Optional. Same value when retrying the same request. If omitted, the server derives the key from the request, so a retry never creates a second booking."
},
"booking_reference": {
"type": "string",
"pattern": "^[A-Za-z0-9\\-]{8,20}$",
"maxLength": 20,
"minLength": 8
}
},
"additionalProperties": false
}PURPOSE: Re-sends the SMS code of a prepared booking. WHEN TO USE: Only when the customer says the SMS from prepare_booking did not arrive. WHEN NOT TO USE: Not after a wrong code (ask the customer to re-type it) and not to start a new booking. REQUIRED: confirmation_id. SIDE EFFECTS: sends one SMS (max 1 per minute, 3 per 30 minutes per phone; otherwise error rate_limited with retry_after).
| Argument | Type | Description |
|---|---|---|
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| confirmation_id* | string | confirmation_id from prepare_booking |
{
"type": "object",
"required": [
"confirmation_id"
],
"properties": {
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"confirmation_id": {
"type": "string",
"pattern": "^c_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "confirmation_id from prepare_booking"
}
},
"additionalProperties": false
}PURPOSE: Sends an SMS code to a Polish mobile number to prove the customer owns it, before showing, rescheduling or cancelling their EXISTING bookings. WHEN TO USE: When the customer asks about their existing booking(s) and no customer_grant is available yet. WHEN NOT TO USE: Not for a new booking (prepare_booking sends its own code). REQUIRED: phone. SIDE EFFECTS: sends one SMS (a repeated call within 60 s returns the same verification_id without a new SMS). The response is the same whether or not the number is known.
| Argument | Type | Description |
|---|---|---|
| phone* | string | Polish mobile number of the customer |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
{
"type": "object",
"required": [
"phone"
],
"properties": {
"phone": {
"type": "string",
"pattern": "^[+\\d][\\d\\s\\-]{8,19}$",
"maxLength": 20,
"minLength": 9,
"description": "Polish mobile number of the customer"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
}
},
"additionalProperties": false
}PURPOSE: Exchanges the SMS code from start_phone_verification for a customer_grant (valid 60 minutes) that gives access to this customer's own bookings. WHEN TO USE: Right after the customer types the code from start_phone_verification. WHEN NOT TO USE: Not for the booking code from prepare_booking (that one goes to create_booking). REQUIRED: verification_id, code. SIDE EFFECTS: none besides issuing the grant. Pass customer_grant to get_my_bookings, check_availability(booking_reference), reschedule_booking and cancel_booking.
| Argument | Type | Description |
|---|---|---|
| code* | string | 6-digit code the customer received by SMS |
| session_id | string | Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant. |
| verification_id* | string | verification_id from start_phone_verification |
{
"type": "object",
"required": [
"verification_id",
"code"
],
"properties": {
"code": {
"type": "string",
"pattern": "^\\s*\\d{3}\\s?\\d{3}\\s*$",
"maxLength": 8,
"minLength": 6,
"description": "6-digit code the customer received by SMS"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"verification_id": {
"type": "string",
"pattern": "^v_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "verification_id from start_phone_verification"
}
},
"additionalProperties": false
}| Existing booking to reschedule (requires customer_grant) |
{
"type": "object",
"properties": {
"wanted": {
"type": "object",
"properties": {
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"maxLength": 10,
"description": "YYYY-MM-DD (for range, max 30 days)"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"maxLength": 10,
"description": "YYYY-MM-DD (for date / preferred)"
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"maxLength": 10,
"description": "YYYY-MM-DD (for range)"
},
"type": {
"enum": [
"asap",
"date",
"range",
"preferred"
],
"type": "string"
},
"part_of_day": {
"enum": [
"morning",
"afternoon",
"evening"
],
"type": "string",
"description": "morning <12:00, afternoon 12-16, evening >=16:00"
},
"preferred_time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"maxLength": 5
}
},
"description": "Optional preference; empty = earliest slots",
"additionalProperties": false
},
"quote_id": {
"type": "string",
"pattern": "^q_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "quote_id from calculate_quote (new booking)"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"customer_grant": {
"type": "string",
"maxLength": 80,
"minLength": 20,
"description": "customer_grant returned by verify_phone_code"
},
"booking_reference": {
"type": "string",
"pattern": "^[A-Za-z0-9\\-]{8,20}$",
"maxLength": 20,
"minLength": 8,
"description": "Existing booking to reschedule (requires customer_grant)"
}
},
"additionalProperties": false
}| object |
| Optional, only if the customer wants a company invoice |
| terms_accepted* | boolean | true only if the customer explicitly accepted the terms and consents. false -> the server returns the consent text to show. |
{
"type": "object",
"required": [
"quote_id",
"slot_id",
"customer",
"terms_accepted"
],
"properties": {
"notes": {
"type": "string",
"maxLength": 200,
"description": "Optional note for the cleaner (fabric type, stains, parking)"
},
"slot_id": {
"type": "string",
"pattern": "^s_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "slot_id chosen by the customer from check_availability"
},
"customer": {
"type": "object",
"required": [
"name",
"address"
],
"properties": {
"city": {
"type": "string",
"maxLength": 80,
"description": "Optional; derived from the postal code of the quote"
},
"name": {
"type": "string",
"maxLength": 100,
"minLength": 5,
"description": "First and last name, e.g. \"Jan Kowalski\""
},
"email": {
"type": "string",
"maxLength": 254,
"description": "Optional"
},
"phone": {
"type": "string",
"pattern": "^[+\\d][\\d\\s\\-]{8,19}$",
"maxLength": 20,
"minLength": 9,
"description": "Polish mobile number (9 digits, optional +48) - receives the SMS code. Required unless the customer is signed in."
},
"address": {
"type": "string",
"maxLength": 200,
"minLength": 4,
"description": "Street and house/flat number, e.g. \"Grunwaldzka 12/3\""
}
},
"additionalProperties": false
},
"quote_id": {
"type": "string",
"pattern": "^q_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "quote_id from calculate_quote"
},
"session_id": {
"type": "string",
"pattern": "^as_[0-9a-z]{26}$",
"maxLength": 40,
"minLength": 28,
"description": "Optional. session_id from the previous result, if you have it. The server also recovers the session from quote_id / slot_id / confirmation_id / customer_grant."
},
"invoice_data": {
"type": "object",
"properties": {
"nip": {
"type": "string",
"pattern": "^[0-9\\-]{10,13}$",
"maxLength": 13,
"minLength": 10
},
"address": {
"type": "string",
"maxLength": 200
},
"company": {
"type": "string",
"maxLength": 150
}
},
"description": "Optional, only if the customer wants a company invoice",
"additionalProperties": false
},
"terms_accepted": {
"type": "boolean",
"description": "true only if the customer explicitly accepted the terms and consents. false -> the server returns the consent text to show."
}
},
"additionalProperties": false
}