Registered-mail availability follows the destination's current catalog. The codes einschreiben einwurf and einschreiben uebergabe are German products; Switzerland uses ch einschreiben. For other destinations, use methods returned in availableDeliveryTypes by a standard shipping quote for that country, then quote the chosen code. A rejected country/method pair gives a verdict for that pair alone. A catalog snapshot gives a verdict for that snapshot alone. Tracked mail and registered mail are distinct products. Get the user's agreement before switching a requested registered method to standard o
Показать схему аргументов
{
"type": "object",
"required": [
"pageCount",
"color",
"deliveryType"
],
"properties": {
"color": {
"type": "boolean",
"description": "Farbannahme für eine allgemeine Schätzung. Mit letterId erkennt FrankKi die Farbe aus der gespeicherten Vorschau und ignoriert diesen Wert. EN: Colour assumption for a general estimate. With letterId, FrankKi detects colour from the stored preview and ignores this value."
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2, Standard DE. EN: ISO 3166-1 alpha-2, defaults to DE."
},
"express": {
"type": "boolean"
},
"letterId": {
"type": "string",
"format": "uuid",
"description": "Optional: die letterId eines bestehenden Entwurfs. Dann kommen Seitenzahl und Farbe aus der gespeicherten Vorschau; für den endgültigen Preis inklusive Anhängen nutze order_send mit dryRun:true. EN: Optional: the letterId of an existing draft. Page count and colour then come from the stored preview; for the final price including attachments, use order_send with dryRun:true."
},
"pageCount": {
"type": "integer",
"maximum": 95,
"minimum": 1,
"description": "Seitenzahl für eine allgemeine Schätzung. Mit letterId verwendet FrankKi die gespeicherte Seitenzahl und ignoriert diesen Wert. EN: Page count for a general estimate. With letterId, FrankKi uses the stored page count and ignores this value."
},
"reasoning": {
"type": "string"
},
"deliveryType": {
"enum": [
"standard",
"einschreiben_einwurf",
"einschreiben_uebergabe",
"ch_b_post",
"ch_a_post",
"ch_einschreiben",
"at_eco",
"at_prio",
"intl_standard",
"intl_priority",
"intl_express",
"intl_tracked",
"intl_registered"
],
"type": "string",
"description": "Registered-mail availability follows the destination's current catalog. The codes einschreiben_einwurf and einschreiben_uebergabe are German products; Switzerland uses ch_einschreiben. For other destinations, use methods returned in availableDeliveryTypes by a standard shipping_quote for that country, then quote the chosen code. A rejected country/method pair gives a verdict for that pair alone. A catalog snapshot gives a verdict for that snapshot alone. Tracked mail and registered mail are distinct products. Get the user's agreement before switching a requested registered method to standard or tracked delivery. Promise a carrier-issued proof-of-posting PDF only after confirming one is available."
}
},
"additionalProperties": false
}