{"components":{"schemas":{"ApiKeyInfo":{"description":"The key that made the request.","properties":{"customer":{"description":"The customer the key is limited to, if one.","type":["string","null"]},"expires_at":{"type":["string","null"]},"id":{"type":"string"},"label":{"type":"string"},"last4":{"type":"string"},"scopes":{"items":{"$ref":"#/components/schemas/ApiScope"},"type":"array"}},"required":["id","label","scopes","customer","last4","expires_at"],"type":"object"},"ApiScope":{"description":"What a key may do: one resource, read or write. A key lists every scope it has, and each operation names the one it needs.","enum":["customers:read","customers:write","printers:read","printers:write","jobs:read","jobs:write"],"type":"string"},"BarcodeBlock":{"additionalProperties":false,"description":"A barcode on its own line.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the barcode sits. Not said: left."},"data":{"description":"What the bars say. The rules depend on `symbology`. The width of the symbol is not checked: it is the\nprinter's paper that it must fit, and one that is wider may be cut, shrunk or missing.","maxLength":128,"minLength":1,"type":"string"},"height":{"description":"The height of the bars in dots, 24 to 240. Not said: 72.","format":"int32","maximum":240,"minimum":24,"type":"integer"},"hri":{"description":"Print the data under the bars. Not said: no.","type":"boolean"},"module_width":{"description":"The width of the thinnest bar in dots, 2 to 4. Not said: 2.","format":"int32","maximum":4,"minimum":2,"type":"integer"},"symbology":{"$ref":"#/components/schemas/BarcodeSymbology","description":"The kind of barcode. Not said: `code128`."},"type":{"description":"`barcode`.","enum":["barcode"],"type":"string"}},"required":["type","data"],"type":"object"},"BarcodeSymbology":{"description":"The barcodes the language has.","enum":["upc","ean","code39","itf","codabar","code93","code128"],"type":"string"},"Block":{"description":"One visible unit of a document, told by its `type`: `text`, `row`, `table`, `rule`, `image`, `barcode`, `qr`, `cut` or `feed`. A document is an array of them, in print order.","discriminator":{"mapping":{"barcode":"#/components/schemas/BarcodeBlock","cut":"#/components/schemas/CutBlock","feed":"#/components/schemas/FeedBlock","image":"#/components/schemas/ImageBlock","qr":"#/components/schemas/QrBlock","row":"#/components/schemas/RowBlock","rule":"#/components/schemas/RuleBlock","table":"#/components/schemas/TableBlock","text":"#/components/schemas/TextBlock"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextBlock"},{"$ref":"#/components/schemas/RowBlock"},{"$ref":"#/components/schemas/TableBlock"},{"$ref":"#/components/schemas/RuleBlock"},{"$ref":"#/components/schemas/ImageBlock"},{"$ref":"#/components/schemas/BarcodeBlock"},{"$ref":"#/components/schemas/QrBlock"},{"$ref":"#/components/schemas/CutBlock"},{"$ref":"#/components/schemas/FeedBlock"}]},"BlockAlign":{"description":"Where something sits: a block on the paper, or a text in its column.","enum":["left","center","right"],"type":"string"},"BlockSize":{"description":"The size of the characters.","oneOf":[{"description":"The same factor both ways: 1 is normal, 2 is twice as wide and twice as high, up to 6.","format":"int32","maximum":6,"minimum":1,"type":"integer"},{"$ref":"#/components/schemas/SizeSpec","description":"Twice as wide, or twice as high, and not both: `{\"width\": 2}` or `{\"height\": 2}`."}]},"ColumnSpec":{"additionalProperties":false,"description":"A column with a width, an alignment, or both.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the text sits in the column. Not said: left."},"width":{"description":"The width in characters, 1 to 96. Not said: the rest of the line.","format":"int32","maximum":96,"minimum":1,"type":"integer"}},"type":"object"},"CreateCustomer":{"additionalProperties":false,"description":"The body that creates a customer.","example":{"client_reference_id":"acct-1042","name":"Baltic Hotels Sp. z o.o."},"properties":{"client_reference_id":{"description":"The id of this customer in your own system, 1 to 128 characters. It is\nnot unique and never refused for being used already; search for it with\n`GET /v1/customers?client_reference_id=` before you create when you need\nto find the customer you made earlier.","maxLength":128,"minLength":1,"type":["string","null"]},"name":{"description":"1 to 128 characters.","maxLength":128,"minLength":1,"type":"string"}},"required":["name"],"type":"object"},"CreateJob":{"additionalProperties":false,"description":"The body that creates a job: a document, and what you want to remember it by.","example":{"client_reference_id":"order-1042","document":[{"align":"center","bold":true,"size":2,"text":"Harbour Cafe","type":"text"},{"align":"center","text":"Old Town 1","type":"text"},{"columns":["*",{"align":"right","width":9}],"rows":[["Flat white","3.40"],["Lemon cake","4.20"],{"type":"rule"},[{"bold":true,"text":"Total"},{"bold":true,"text":"7.60"}]],"type":"table"},{"align":"center","data":"https://tillcast.com/","type":"qr"}],"expires_in":3600,"metadata":{"table":"7"}},"properties":{"client_reference_id":{"description":"The id of this job in your own system, such as an order number: 1 to\n128 characters. It is not unique and never refused for being used\nalready, so a retry that is a new request makes a second job; send an\n`Idempotency-Key` to make a retry safe. Find the jobs that carry it with\n`GET /v1/jobs?client_reference_id=`. No personal data.","maxLength":128,"minLength":1,"type":["string","null"]},"document":{"description":"What to print, as blocks: an array in print order, each block one\nvisible unit that says its `type` (`text`, `row`, `table`, `rule`,\n`image`, `barcode`, `qr`, `cut`, `feed`). Tillcast turns it into the\ncommands of the printer when it accepts the request. The text of a block\nprints as it is written: nothing in it is markup. Send this or\n`receiptline`, not both; one of them is required.","items":{"$ref":"#/components/schemas/Block"},"maxItems":1000,"type":"array"},"expires_in":{"description":"Seconds the job can be offered to the printer: 60 to 604800. The\ndefault is 86400 (24 hours). A whole number: `3600.0` is `3600`, a\nfraction is `400 parameter_invalid`.","format":"int64","type":["integer","null"]},"metadata":{"additionalProperties":{"type":"string"},"description":"Up to 10 pairs, 1 KB in all. No personal data.","propertyNames":{"type":"string"},"type":["object","null"]},"receiptline":{"description":"What to print, as text in ReceiptLine, the markup language of receipt\nprinters: 1 byte to 256 KB of UTF-8 and not only white space. The\nmarkup characters of the language apply in it (`|`, `{`, `}`, `-`\nalone on a line, `~`, `_`, `\"`, a backtick, `^`, `\\`): text of your own\nmust be escaped, which `document` does for you. For documents written\nfor other ReceiptLine tools, pasted from the ReceiptLine demo, or made\nby software of yours that writes the language. The `command` property is\nrefused (`422 document_command_not_allowed`). Send this or `document`,\nnot both.","example":"^Old Town Cafe\n{width:*,10}\nCoffee | 2.50\nCroissant | 3.20\n-\n^Total | 5.70","maxLength":262144,"minLength":1,"type":"string"}},"type":"object"},"CreateLocation":{"additionalProperties":false,"example":{"address":"Dluga 1, Gdansk","client_reference_id":"prop-17","name":"Hotel Gdansk Old Town","timezone":"Europe/Warsaw"},"properties":{"address":{"description":"Up to 200 characters. Do not put guests' data here.","maxLength":200,"minLength":1,"type":["string","null"]},"client_reference_id":{"description":"The id of this location in your own system, 1 to 128 characters. It is\nnot unique and never refused for being used already; search for it with\n`GET /v1/locations?client_reference_id=`.","maxLength":128,"minLength":1,"type":["string","null"]},"name":{"description":"1 to 128 characters.","maxLength":128,"minLength":1,"type":"string"},"timezone":{"description":"An IANA time zone name, such as `Europe/Warsaw`.","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_+-]+(/[A-Za-z0-9_+-]+)*$","type":["string","null"]}},"required":["name"],"type":"object"},"CreatePrinter":{"additionalProperties":false,"example":{"client_reference_id":"kitchen-1","name":"Reception left","paper_width":"80mm"},"properties":{"allowed_mac":{"description":"The one device that may use the printer's URL, as a MAC address: twelve\nhexadecimal digits, with `:` or `-` between the pairs or none. Left out,\nor `null`, any device that holds the URL is accepted. With a device\nnamed, the MAC address the device reports must be this one, and a device\nthat reports none is refused too: it gets a bare `403`, and the status\ncan become `mac_mismatch` when the refused device named itself and the\nprinter has been quiet for a while. This is an extra safeguard for this\none address, not authentication: the secret in the URL is the\ncredential, a MAC address is printed on the printer's label, and its\nfirst three bytes name the maker. A MAC address can be read from the\nlabel, but use the MAC the printer reports (`mac` of the printer once it\nhas connected): some models print the Wi-Fi MAC on the label and report\nthe Ethernet one. It needs a printer whose firmware reports its\nMAC address. An all-zero, broadcast or multicast address is refused. It\nis stored and returned in lower case with colons, and the same address\nmay be named on any number of printers. A printer made with `vendor`\n`epson` reports no MAC address, so naming a device for it is refused\n(`400 parameter_invalid`).","pattern":"^([0-9A-Fa-f]{2}[:-]?){5}[0-9A-Fa-f]{2}$","type":["string","null"]},"client_reference_id":{"description":"The id of this printer in your own system, 1 to 128 characters. It is\nnot unique and never refused for being used already; search for it with\n`GET /v1/printers?client_reference_id=` before you create when you need\nto find the printer you made earlier, and send an `Idempotency-Key` so\nthat a retried create makes one printer.","maxLength":128,"minLength":1,"type":["string","null"]},"domain":{"description":"The printer domain to make the URL on: `print.tillcast.com`, or a domain that Tillcast has set up\nand activated for your organization. Left out or `null`, the printer gets the domain Tillcast\nhas chosen for your organization, which is `print.tillcast.com` unless it has set up one of its\nown for you. Any other value is `400 parameter_invalid` naming `domain`, with the same words\nwhether or not that domain exists. The host of the URL is always `<code>.<domain>` with the code\nTillcast gives the customer: nothing you send makes a part of it. `domain` of the printer says\nwhich domain it has; it never changes.","example":"print.tillcast.com","type":["string","null"]},"name":{"description":"1 to 64 characters.","maxLength":64,"minLength":1,"type":"string"},"paper_width":{"oneOf":[{"$ref":"#/components/schemas/PaperWidth","description":"The paper the printer prints on, `58mm` or `80mm`. Sent, and with no\n`vendor`, `profile`, `print_options` or `allowed_mac`, Tillcast reads the maker from the printer's first\nconnection and a Star's width from what the printer reports (`vendor_source`\nand `profile_source` of the printer say what was decided, `detection` what\nis left); until then the printer reads `star`, and a page sent to it is made\nfor a Star at this paper and fails with the reason\n`rendered_for_other_vendor` if the printer turns out to be an Epson. Sent\nwith a `vendor`, it is only recorded and chooses the default profile of that\npaper. Left out, or `null`, nothing is detected and the printer is what it\nwas before this field existed. An edit that names `profile`,\n`print_options` or `allowed_mac`, or turns `welcome_print` on, is\n`409 printer_not_identified` while the maker is not known. It cannot be\nchanged afterwards. Any other word is `400 parameter_invalid`."},{"type":"null"}]},"print_options":{"oneOf":[{"$ref":"#/components/schemas/PrintOptions","description":"Options laid over the profile, each optional (see `PrintOptions`).\nLeft out, the profile is used as it is. A value that is out of range or\nnot available for the profile is `422 print_options_invalid`."},{"type":"null"}]},"profile":{"oneOf":[{"$ref":"#/components/schemas/PrinterProfile","description":"How documents are rendered for this printer: a profile (command set,\npaper width in characters, text encoding) from the list the contract\ngives in `x-tillcast-profiles`, with how far each has been checked on\na real printer. Left out, or `null`, the default of the `vendor`:\n`star-starprnt-utf8-80mm` for `star`, `epson-80mm-48` for `epson`.\nNothing is chosen from what the printer reports about itself, except\nfor a printer made with `paper_width` and none of `vendor`, `profile`,\n`print_options` and `allowed_mac` (see `paper_width`). An Epson printer\nreports no paper width, so say it here, or send `paper_width` (a 58 mm\nprinter left on an 80 mm profile gets lines wider than its paper). A\nprofile of the other maker is `422 profile_vendor_mismatch`, one that\nis not in the list `422 profile_unknown`, and a profile that no\nconnection carries yet `422 profile_not_connectable`."},{"type":"null"}]},"vendor":{"oneOf":[{"$ref":"#/components/schemas/PrinterVendor","description":"The kind of printer: `star`, a Star CloudPRNT printer (the default, also\nfor `null` and when left out, except that a printer made with\n`paper_width` and none of `vendor`, `profile`, `print_options` and\n`allowed_mac` is a Star only until its first connection, which names the\nmaker), or `epson`, an Epson printer that polls\nthe URL with Server Direct Print. `epson` is open to every\norganization. Documents and the Tillcast test page\n(`POST /v1/printers/{printer}/test-print`) print on it as ESC/POS, in\nthe printer's `profile`; how far a profile has been checked on a real\nprinter is its `evidence` in `x-tillcast-profiles`, and the Epson\nprofiles do not claim more than they have. It prints no welcome\nreceipt, whatever `welcome_print` says, and `allowed_mac` is refused for\nit (`400 parameter_invalid`) because an Epson printer reports no MAC\naddress, which a printer with an allowed device would turn away. The URL\nin the answer is the address to type into the printer's Server Direct\nPrint setting. The time it is connected counts toward billing as for\nany printer; a failed job and a test print do not.\nThe vendor you name cannot be changed afterwards: delete the printer and\nadd another. Any other word is `400 parameter_invalid`."},{"type":"null"}]},"welcome_print":{"description":"Print a welcome receipt when the printer first connects. On by default\n(the organization can switch it off for all its printers). A printer\nmade with `vendor` `epson` prints none, whatever this says.","type":["boolean","null"]}},"required":["name"],"type":"object"},"CustomerList":{"description":"A page of customers.","example":{"data":[{"client_reference_id":"acct-1042","created_at":"2026-10-11T09:15:00Z","id":"cus_c3x9k2m3","location_count":2,"mode":"live","name":"Baltic Hotels Sp. z o.o.","object":"customer","printer_count":3,"state":"active"}],"has_more":false,"object":"list"},"properties":{"data":{"items":{"$ref":"#/components/schemas/CustomerObject"},"type":"array"},"has_more":{"description":"Whether another page follows. Ask for it with `starting_after`\nset to the id of the last object here, or, when the answer has\na `next_cursor`, with that. A search by `client_reference_id`\ncan answer a short page, or none, with `has_more` true: it\nreads only so many rows in one request, and `next_cursor` is\nthe way on.","type":"boolean"},"next_cursor":{"description":"Only in the answer to a search (`client_reference_id`) that\nstopped before it could fill the page: it read all the rows it\nmay in one request. Then `data` holds what it found so\nfar, possibly nothing, `has_more` is true, and this is the\nposition to continue from: pass it as `starting_after` (or as\n`ending_before`, if you page backward) in place of the id of\nthe last object. It is an id of the kind of the list, but not\nnecessarily the id of an object in `data`. Left out otherwise.","type":"string"},"object":{"description":"Always `list`.","example":"list","type":"string"}},"required":["object","data","has_more"],"type":"object"},"CustomerObject":{"description":"A customer: the business a location, and so a printer, belongs to.","example":{"client_reference_id":"acct-1042","created_at":"2026-10-11T09:15:00Z","id":"cus_c3x9k2m3","location_count":2,"mode":"live","name":"Baltic Hotels Sp. z o.o.","object":"customer","printer_count":3,"state":"active"},"properties":{"client_reference_id":{"description":"The id of this customer in your own system, or `null`. Not unique: the\nsame value can be on many objects, and `GET /v1/customers?client_reference_id=`\nlists every customer that carries it.","type":["string","null"]},"created_at":{"type":"string"},"id":{"description":"`cus_` and the customer's code, which is also the first label of the\nhost of its printers.","type":"string"},"location_count":{"format":"int64","minimum":0,"type":"integer"},"mode":{"description":"`live`.","type":"string"},"name":{"type":"string"},"object":{"example":"customer","type":"string"},"printer_count":{"format":"int64","minimum":0,"type":"integer"},"state":{"description":"`active`, or `suspended` (its printers print nothing).","type":"string"}},"required":["id","object","name","client_reference_id","state","mode","location_count","printer_count","created_at"],"type":"object"},"CutBlock":{"additionalProperties":false,"description":"A cut of the paper at this place. The paper is cut at the end of every document anyway (unless\nthe printer's `print_options` say otherwise).","properties":{"type":{"description":"`cut`.","enum":["cut"],"type":"string"}},"required":["type"],"type":"object"},"Deleted":{"description":"Serializes a deletion: Stripe's `{id, object, deleted}`.","example":{"deleted":true,"id":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","object":"location"},"properties":{"deleted":{"example":true,"type":"boolean"},"id":{"type":"string"},"object":{"type":"string"}},"required":["id","object","deleted"],"type":"object"},"DocumentWarning":{"description":"Where the renderer did something other than the document says. A warning\nnever changes what the renderer would print; it tells where it fell back\nquietly (a line with a stray brace is dropped, a column is made narrower, a\ncharacter the printer cannot print becomes `?`). The message is a fixed text\nper code: it holds no part of the document, so it is safe to show or log.","example":{"code":"line_dropped_stray_brace","column":5,"line":3,"message":"The line contains a stray brace and prints nothing."},"properties":{"code":{"description":"A stable code to branch on. The ones known today are listed in\n`x-codes` of this schema; a new one can be added, so a client treats a\ncode it does not know as a warning in general.","type":"string"},"column":{"description":"The column on that line, from 1, counted in Unicode characters of the\ndocument (normalised to NFC); `null` when the document was rewritten at\nthat place and the position cannot be told.","format":"int32","minimum":1,"type":["integer","null"]},"line":{"description":"The line of the document, from 1.","format":"int32","minimum":1,"type":"integer"},"message":{"description":"A sentence for a person. Do not parse it.","maxLength":160,"type":"string"}},"required":["code","line","column","message"],"type":"object","x-codes":{"barcode_control_characters_removed":"Control characters were removed from the barcode data.","barcode_data_invalid":"The barcode data is not valid for the barcode type.","base64_repaired":"The image data was repaired before decoding.","character_unmappable":"A character is not in the printer's character set and prints as a question mark.","character_wider_than_column":"A character is wider than its column and is not printed.","column_dropped_overflow":"A column does not fit on the line and is dropped.","column_shrunk":"A column was made narrower to fit on the line.","control_character_removed":"A control character was removed from the text.","escape_invalid":"An escape sequence is not valid and is dropped.","image_invalid":"The image is not a valid PNG and is skipped.","image_too_large":"The image is larger than the limits allow and is skipped.","image_too_wide_for_printer":"The image is wider than the printer can print and is skipped.","image_wider_than_paper":"The image is wider than the paper.","line_dropped_stray_brace":"The line contains a stray brace and prints nothing.","option_value_unknown":"An option value is not known; the default is used.","property_in_multicolumn_line":"A property in a line with several columns is ignored.","property_member_invalid":"A property member is not written as key:value and is ignored.","property_unknown_key":"A property key is not known and is ignored.","qr_empty":"The QR Code has no data and prints nothing.","qr_over_capacity":"The QR Code data is more than a QR Code can hold and prints nothing.","rule_state_closed_at_end":"Ruled lines were still open at the end of the document and were closed.","too_many_warnings":"There are more warnings than are listed.","width_clamped":"A width above the limit was reduced to the limit."}},"ErrorObject":{"example":{"code":"resource_missing","message":"No such printer.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"},"properties":{"code":{"description":"A stable code to branch on. The ones known today are listed in\n`x-codes` of this schema; a new one can be added, so a client treats a\ncode it does not know by the HTTP status.","type":"string"},"message":{"description":"A sentence for a person. Do not parse it.","type":"string"},"param":{"description":"The request parameter the error is about, if one.","type":["string","null"]},"request_id":{"description":"Quote it when you ask for help.","type":"string"},"type":{"description":"The kind of error: `invalid_request_error`, `authentication_error`,\n`permission_error`, `conflict_error`, `idempotency_error`,\n`rate_limit_error` or `api_error`.","type":"string"}},"required":["type","code","message","param","request_id"],"type":"object","x-codes":{"account_disabled":"The account was disabled by Tillcast.","account_exists":"The address of this sign-in already belongs to another person. Accounts are never merged.","already_exists":"The object is there already (a concurrent create). Retry the request.","already_member":"The address belongs to a member of the organization already.","api_version_unsupported":"The `Tillcast-Version` header names a version the API does not speak.","authentication_required":"No API key was sent.","billing_failed":"Stripe, the payment provider, refused to start the page (a Checkout or a Customer Portal page) for the organization's billing, which trying again does not mend: Tillcast's setup with Stripe needs a person to look. Status 503.","billing_not_configured":"Card payments are not set up on Tillcast yet, so no Checkout or Customer Portal page can be made. Status 503.","billing_unavailable":"Stripe, the payment provider, could not be reached just now. Try again in a moment. Status 503.","code_attempts_used":"The confirmation code was tried as often as it allows. Ask for a new one.","code_invalid":"The confirmation code is wrong, has expired or was never asked for.","codes_locked":"Too many wrong confirmation codes today. Codes are locked until tomorrow.","codes_unavailable":"Confirmation codes cannot be made right now.","customer_suspended":"The customer is suspended, so no job can be queued for its printers.","document_command_not_allowed":"The document uses the `command` property, which Tillcast does not accept. A hexadecimal escape that rebuilds a control character inside a text is refused with this code too. The message gives the line and the column.","document_empty":"The document is empty: `receiptline` is only white space, `document` has no block or prints nothing.","document_invalid":"The request does not say which document to print (both `document` and `receiptline`, or neither), or a block of `document` cannot be printed as it is said. `param` is the path of a problem (the first by block and cell), such as `document[3].rows[1][0].size`.","document_too_large":"The document is larger than 256 KB: the `receiptline` text, or, for blocks, the same receipt written in ReceiptLine. `param` says which.","domain_changed":"The printer domain was changed by another request while this one was made (an operator's PUT; nothing was written). Read it again and send the change again.","domain_fixed":"That part of a printer domain cannot be changed: its owner once it exists, its setup once it is not `pending`, anything of the shared domain's identity (an operator's PUT).","domain_not_ready":"The printer domain failed its readiness check, so it was not activated (an operator's PUT to `active`); the message lists the checks that failed. The result is stored on the domain; fix what failed and check again.","domain_overlap":"The suffix of a new printer domain is, ends with or is the end of another domain's: their certificates and rules would overlap (an operator's PUT).","domain_state_refused":"The state is not one the printer domain may go to from where it is, or a new domain may not start in it (an operator's PUT); the message lists the states that may follow.","email_code_limit":"Ten e-mail codes were sent to this mailbox in the last 24 hours, whoever asked (the `+tag` of an address and the dots of a Gmail address do not make another mailbox), or the day's codes of the whole service are used up. `Retry-After` says when one can be asked for again; a person can sign up with an e-mail address and a password instead.","email_code_not_applicable":"An e-mail code is not for this sign-in: the caller is a person already, or signed in with a password, whose address Cognito confirms.","email_mismatch":"The invitation was sent to another address than the signed-in person's.","email_not_proven":"The address of this sign-in is not confirmed yet. When `param` is `email_code`, a code e-mailed to the address confirms it. A password sign-in's address is confirmed by Cognito's own code.","first_contact_required":"The sign-in is not a person yet. Call `POST /v1/me` first.","idempotency_key_invalid":"The `Idempotency-Key` is empty, too long or holds characters that are not visible ASCII.","idempotency_key_reused":"The `Idempotency-Key` was used with a different request.","insufficient_scope":"The API key does not have the scope the call needs.","internal_error":"A failure on Tillcast's side.","invalid_api_key":"The API key is wrong, revoked or expired.","invalid_cursor":"`starting_after` or `ending_before` is not an object of the list.","invalid_id_token":"The ID token is not valid, or is not the one of this sign-in.","invalid_json":"The body is not valid JSON, or does not match what the route takes.","invalid_name":"The name of the organization breaks the rules for a name.","invalid_operator_token":"The operator's token is missing or not valid.","invalid_query":"The query string is malformed.","invalid_token":"The sign-in token is missing, has expired or is not valid.","invitation_declined":"The address asked not to be invited.","invitation_limit":"The organization sent as many invitation e-mails as it may today.","invitation_limit_global":"Tillcast sent as many invitation e-mails as it may today, all organizations together.","invitation_pending":"The address has an invitation that has not expired. Resend it instead.","job_not_cancellable":"The job has been delivered to the printer or is finished.","last_owner":"The last owner cannot leave, be removed or be demoted.","location_suspended":"The location is paused, so no job can be queued for its printers.","mail_unavailable":"E-mail cannot be sent right now.","member_limit":"The organization has as many members as it may.","method_not_allowed":"The path exists, the method does not.","not_empty":"The customer or the location still holds other objects.","organization_limit":"The person has made as many organizations as one person may.","organization_mismatch":"The organization the request names is not the one of the `Tillcast-Organization` header, or of the API key.","organization_not_active":"The organization is not active (an operator suspended it or it is being closed), so it cannot do this.","organization_required":"The call is for an organization and has no `Tillcast-Organization` header.","organization_suspended":"The organization is suspended or offboarding: it can read, but not change anything.","origin_not_allowed":"A web page of this origin may not call the API.","owners_exist":"An owner invitation from an operator is for an organization with no owner.","parameter_invalid":"A parameter has the wrong type or an invalid value.","parameter_missing":"A required parameter is missing.","parameter_unknown":"The request has a parameter the route does not take.","parent_not_active":"The customer or the location is suspended, so nothing can be added to it.","payment_method_required":"The organization has no payment method and its trial does not cover this: the trial is over (a month after the first of its printers connected), it was never given (the person who made the organization had a trial already), or the printer's hardware (its MAC address or serial number) was part of a trial already. Nothing was queued. An owner of the organization must add a card under Billing in the dashboard. Status 402; the SDKs do not retry it.","pending_jobs":"The printer has jobs waiting.","permission_denied":"The person's role in the organization does not allow the call.","price_list_changed":"The price list offer is no longer the open one (it was accepted, or a newer one replaced it), or the month its rates apply from moved on while the person was reading. `param` is `version` or `applies_from`. Read the price list again.","print_options_invalid":"A value of `print_options` is out of its range, or not available for the printer's profile. `param` names it.","printer_domain_unavailable":"No printer domain is available, so a printer URL cannot be made.","printer_not_identified":"The printer's maker is not known yet: Tillcast reads it when the printer first connects and reports itself. A profile, print options, a device or the welcome receipt turned on can be set once it is known. A printer that has connected and still shows this can be deleted and added again with its maker named.","profile_mismatch":"The printer reports a Star Line model and its profile is not a Star Line profile. Set the printer's `profile` to a Star Line profile.","profile_not_connectable":"The profile exists, but no connection to a printer carries it yet.","profile_unknown":"There is no such profile.","profile_vendor_mismatch":"The profile is for another maker than the printer's `vendor`.","queue_full":"The printer has as many jobs waiting as it may.","rate_limited":"Too many requests of this kind. Wait for `Retry-After` seconds.","render_timeout":"The document takes too long to render. Make it shorter or simpler.","rendered_too_large":"The document prints as more data than one job may hold: 256 KB, and less for a profile that says so (90 KB for `epson-legacy-80mm-42`). The message gives the size of the document and the limit.","request_too_large":"The request body is larger than the route takes: 800 KB for creating a job, 400 KB for every other route.","reserved_name":"The name is reserved.","resource_missing":"There is no such object, or it is another organization's.","restricted_key":"The API key is limited to one customer and cannot do this.","role_changed":"The member's role was changed by someone else first.","route_not_found":"There is no such route.","step_up_required":"The call needs a fresh confirmation by e-mail code, sent in `Tillcast-Step-Up`.","trial_limit_reached":"The organization has no payment method and its printers together have printed, or have waiting, the 250 jobs that the trial allows (in all, over every printer and every month). Nothing was queued. An owner of the organization must add a card under Billing in the dashboard to print more. Status 402; the SDKs do not retry it.","unsupported_media_type":"The body is not sent as `application/json`."}},"ErrorResponse":{"description":"The body of every error response.","properties":{"error":{"$ref":"#/components/schemas/ErrorObject"}},"required":["error"],"type":"object"},"FeedBlock":{"additionalProperties":false,"description":"Blank lines.","properties":{"lines":{"description":"How many blank lines, 1 to 20. Not said: 1.","format":"int32","maximum":20,"minimum":1,"type":"integer"},"type":{"description":"`feed`.","enum":["feed"],"type":"string"}},"required":["type"],"type":"object"},"ImageBlock":{"additionalProperties":false,"description":"A PNG on its own line.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the image sits. Not said: left."},"data":{"description":"The PNG file, in base64.","maxLength":200000,"minLength":1,"type":"string"},"type":{"description":"`image`.","enum":["image"],"type":"string"}},"required":["type","data"],"type":"object"},"JobList":{"description":"A page of jobs.","example":{"data":[{"client_reference_id":"Invoice 2026/10/0815","completed_at":null,"created_at":"2026-10-11T10:00:00Z","customer":"cus_c3x9k2m3","delivered_at":null,"expires_at":"2026-10-11T11:00:00Z","id":"job_01M466JX008T2V5X7Z9C1E3G5H","kind":"api","location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","metadata":{"booking":"4711"},"object":"job","printer":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","profile":"star-starprnt-utf8-80mm","reason":null,"result_code":null,"size_bytes":1194,"status":"queued","transport":"cloudprnt-star.1","warnings":[{"code":"line_dropped_stray_brace","column":5,"line":3,"message":"The line contains a stray brace and prints nothing."}]}],"has_more":false,"object":"list"},"properties":{"data":{"items":{"$ref":"#/components/schemas/JobObject"},"type":"array"},"has_more":{"description":"Whether another page follows. Ask for it with `starting_after`\nset to the id of the last object here, or, when the answer has\na `next_cursor`, with that. A search by `client_reference_id`\ncan answer a short page, or none, with `has_more` true: it\nreads only so many rows in one request, and `next_cursor` is\nthe way on.","type":"boolean"},"next_cursor":{"description":"Only in the answer to a search (`client_reference_id`) that\nstopped before it could fill the page: it read all the rows it\nmay in one request. Then `data` holds what it found so\nfar, possibly nothing, `has_more` is true, and this is the\nposition to continue from: pass it as `starting_after` (or as\n`ending_before`, if you page backward) in place of the id of\nthe last object. It is an id of the kind of the list, but not\nnecessarily the id of an object in `data`. Left out otherwise.","type":"string"},"object":{"description":"Always `list`.","example":"list","type":"string"}},"required":["object","data","has_more"],"type":"object"},"JobObject":{"description":"A print job.","example":{"client_reference_id":"Invoice 2026/10/0815","completed_at":null,"created_at":"2026-10-11T10:00:00Z","customer":"cus_c3x9k2m3","delivered_at":null,"expires_at":"2026-10-11T11:00:00Z","id":"job_01M466JX008T2V5X7Z9C1E3G5H","kind":"api","location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","metadata":{"booking":"4711"},"object":"job","printer":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","profile":"star-starprnt-utf8-80mm","reason":null,"result_code":null,"size_bytes":1194,"status":"queued","transport":"cloudprnt-star.1","warnings":[{"code":"line_dropped_stray_brace","column":5,"line":3,"message":"The line contains a stray brace and prints nothing."}]},"properties":{"client_reference_id":{"description":"The id of this job in your own system, such as an order number, or\n`null`. Not unique: the same value can be on many jobs, and\n`GET /v1/jobs?client_reference_id=` lists every job that carries it\n(the last 7 days). No personal data.","type":["string","null"]},"completed_at":{"type":["string","null"]},"created_at":{"type":"string"},"customer":{"type":"string"},"delivered_at":{"type":["string","null"]},"expires_at":{"description":"When the job stops being offered to the printer.","type":"string"},"id":{"type":"string"},"kind":{"description":"`api` (yours), `welcome` (the first-connection receipt) or `test` (a test\nprint: never billed).","type":"string"},"location":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"},"type":["object","null"]},"object":{"example":"job","type":"string"},"printer":{"type":"string"},"profile":{"description":"The profile the document was rendered for: the id of a preset\n(`x-tillcast-profiles` lists them). A plain string and not an enum, so\nthat a profile that is retired never breaks a client. `null` for a job\nthat was queued as ready printer data and not rendered from a document,\nsuch as every job from before documents were rendered.","type":["string","null"]},"reason":{"description":"Why the job did not print.","type":["string","null"]},"result_code":{"description":"The printer's own status code for the job.","type":["string","null"]},"size_bytes":{"description":"The size in bytes of what the printer is sent: the rendered document,\nafter the transport step. Not the size of the document you sent.","format":"int64","minimum":0,"type":"integer"},"status":{"description":"`queued`, `delivered`, `printed`, `failed`, `expired` or `cancelled`.","type":"string"},"transport":{"description":"The transport step applied to the rendered bytes: its id and revision,\nsuch as `cloudprnt-star.1`. A later correction of a step changes new\njobs only, and this tells which jobs were rendered with which.\n`null` where `profile` is.","type":["string","null"]},"warnings":{"description":"What the renderer noticed in the document, in the order it happened: at\nmost 21 (the first 20, and a `too_many_warnings` that says there were\nmore). Always there, an empty list for a document with nothing to say.\nKept with the job: a replay of the request and every later read return\nthe same list.","items":{"$ref":"#/components/schemas/DocumentWarning"},"maxItems":21,"type":"array"}},"required":["id","object","printer","customer","location","kind","status","size_bytes","profile","transport","warnings","result_code","reason","client_reference_id","metadata","created_at","delivered_at","completed_at","expires_at"],"type":"object"},"LocationList":{"description":"A page of locations.","example":{"data":[{"address":"Dluga 1, Gdansk","client_reference_id":"prop-17","created_at":"2026-10-11T09:20:00Z","customer":"cus_c3x9k2m3","id":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","name":"Hotel Gdansk Old Town","object":"location","printer_count":2,"state":"active","timezone":"Europe/Warsaw"}],"has_more":false,"object":"list"},"properties":{"data":{"items":{"$ref":"#/components/schemas/LocationObject"},"type":"array"},"has_more":{"description":"Whether another page follows. Ask for it with `starting_after`\nset to the id of the last object here, or, when the answer has\na `next_cursor`, with that. A search by `client_reference_id`\ncan answer a short page, or none, with `has_more` true: it\nreads only so many rows in one request, and `next_cursor` is\nthe way on.","type":"boolean"},"next_cursor":{"description":"Only in the answer to a search (`client_reference_id`) that\nstopped before it could fill the page: it read all the rows it\nmay in one request. Then `data` holds what it found so\nfar, possibly nothing, `has_more` is true, and this is the\nposition to continue from: pass it as `starting_after` (or as\n`ending_before`, if you page backward) in place of the id of\nthe last object. It is an id of the kind of the list, but not\nnecessarily the id of an object in `data`. Left out otherwise.","type":"string"},"object":{"description":"Always `list`.","example":"list","type":"string"}},"required":["object","data","has_more"],"type":"object"},"LocationObject":{"description":"A place of a customer, such as a hotel or a venue. A location is not part\nof any printer URL.","example":{"address":"Dluga 1, Gdansk","client_reference_id":"prop-17","created_at":"2026-10-11T09:20:00Z","customer":"cus_c3x9k2m3","id":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","name":"Hotel Gdansk Old Town","object":"location","printer_count":2,"state":"active","timezone":"Europe/Warsaw"},"properties":{"address":{"description":"Only in the answer to a single location; lists leave it out.","type":["string","null"]},"client_reference_id":{"type":["string","null"]},"created_at":{"type":"string"},"customer":{"description":"The id of the customer the location belongs to.","type":"string"},"id":{"type":"string"},"name":{"type":"string"},"object":{"example":"location","type":"string"},"printer_count":{"format":"int64","minimum":0,"type":"integer"},"state":{"description":"`active`, or `suspended` (paused).","type":"string"},"timezone":{"description":"An IANA time zone name. Only in the answer to a single location.","type":["string","null"]}},"required":["id","object","customer","name","client_reference_id","state","printer_count","created_at"],"type":"object"},"MovePrinter":{"additionalProperties":false,"description":"The body that moves a printer.","example":{"cancel_pending_jobs":false,"location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F"},"properties":{"cancel_pending_jobs":{"description":"Cancel the jobs that are waiting. Without it a printer with jobs\nwaiting is not moved (`409 pending_jobs`): a receipt for one place must\nnever print in another.","type":["boolean","null"]},"location":{"description":"The location to move to: any location of your organization.","type":"string"}},"required":["location"],"type":"object"},"OrganizationObject":{"description":"What a key can see of its organization.","example":{"api_key":{"customer":null,"expires_at":null,"id":"key_01M3ZYPDZ0M9P2R5T8V1X4Z7B0","label":"production","last4":"8fqz","scopes":["jobs:read","jobs:write","printers:read"]},"customers":1,"id":"org_01M3ZYPDG0T1Y4B7N0M3Q6S9VD","locations":1,"name":"Example Hotels AB","object":"organization","printers":1,"state":"active"},"properties":{"api_key":{"$ref":"#/components/schemas/ApiKeyInfo"},"customers":{"description":"What the key can see: the organization's, or, for a key limited to one\ncustomer, that customer's.","format":"int64","minimum":0,"type":"integer"},"id":{"type":"string"},"locations":{"format":"int64","minimum":0,"type":"integer"},"name":{"type":"string"},"object":{"example":"organization","type":"string"},"printers":{"format":"int64","minimum":0,"type":"integer"},"state":{"description":"`active`, `suspended` or `offboarding`.","type":"string"}},"required":["id","object","name","state","customers","locations","printers","api_key"],"type":"object"},"PaperWidth":{"enum":["58mm","80mm"],"type":"string"},"PrintEncoding":{"description":"The character set of the text sent to the printer. A character the set does not have prints as `?`, and a warning says where.","enum":["cp437","cp852","cp858","cp860","cp863","cp865","cp866","cp1252","multilingual"],"type":"string"},"PrintOptions":{"additionalProperties":false,"description":"What can be set on top of a profile, each field optional. A field left out\nkeeps the profile's own value. The ranges are checked when the printer is\nmade or changed: a value outside its range, or an `encoding` the profile\ndoes not take, is `422 print_options_invalid` naming the field.","example":{"cpl":42,"cutting":true,"encoding":"cp852"},"properties":{"cpl":{"description":"Characters per line, 16 to 96. Left out, the profile's own width,\nwhich is the one that fits the paper of the profile.","format":"int64","maximum":96,"minimum":16,"type":["integer","null"]},"cutting":{"description":"Cut the paper at the end of the document. On, unless the profile says\notherwise.","type":["boolean","null"]},"encoding":{"oneOf":[{"$ref":"#/components/schemas/PrintEncoding","description":"The character set of the text sent to the printer, from the list. A\nprofile that sends UTF-8 (`star-starprnt-utf8-80mm` and `-58mm`) takes\nnone, and so does a name that the profile's family does not take\n(`422 print_options_invalid`)."},{"type":"null"}]},"gamma":{"description":"The gamma of images, 0.1 to 10.","format":"double","maximum":10,"minimum":0.1,"type":["number","null"]},"gradient":{"description":"Dither images with error diffusion, which is smoother, instead of a\nplain threshold.","type":["boolean","null"]},"margin":{"description":"The left margin in characters, 0 to 24.","format":"int64","maximum":24,"minimum":0,"type":["integer","null"]},"margin_right":{"description":"The right margin in characters, 0 to 24. The renderer reads it for a\nfew kinds of content only (mostly images and QR codes printed upside\ndown); where it does not, a value is accepted and changes nothing.","format":"int64","maximum":24,"minimum":0,"type":["integer","null"]},"spacing":{"description":"Wider line spacing.","type":["boolean","null"]},"threshold":{"description":"The brightness at which an image pixel prints black, 1 to 255.","format":"int64","maximum":255,"minimum":1,"type":["integer","null"]},"upside_down":{"description":"Print the document turned by 180 degrees.","type":["boolean","null"]}},"type":"object"},"PrinterDeleted":{"description":"A printer that was deleted.","example":{"cancelled_jobs":[],"deleted":true,"id":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","jobs_left":[],"object":"printer"},"properties":{"cancelled_jobs":{"items":{"type":"string"},"type":"array"},"deleted":{"example":true,"type":"boolean"},"id":{"type":"string"},"jobs_left":{"items":{"type":"string"},"type":"array"},"object":{"example":"printer","type":"string"}},"required":["id","object","deleted","cancelled_jobs","jobs_left"],"type":"object"},"PrinterList":{"description":"A page of printers.","example":{"data":[{"allowed_mac":"00:11:62:00:00:01","auth_error_at":null,"brand":"Star","client_reference_id":"kitchen-1","condition":[],"connection":"connected","created_at":"2026-10-11T09:25:00Z","customer":"cus_c3x9k2m3","domain":"print.tillcast.com","id":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","mac":"00:11:62:00:00:01","mode":"live","model":"mC-Print3","name":"Reception left","object":"printer","pending_jobs":0,"profile":"star-starprnt-utf8-80mm","reported_mac":null,"status":"online","status_code":"200 OK","vendor":"star"}],"has_more":false,"object":"list"},"properties":{"data":{"items":{"$ref":"#/components/schemas/PrinterObject"},"type":"array"},"has_more":{"description":"Whether another page follows. Ask for it with `starting_after`\nset to the id of the last object here, or, when the answer has\na `next_cursor`, with that. A search by `client_reference_id`\ncan answer a short page, or none, with `has_more` true: it\nreads only so many rows in one request, and `next_cursor` is\nthe way on.","type":"boolean"},"next_cursor":{"description":"Only in the answer to a search (`client_reference_id`) that\nstopped before it could fill the page: it read all the rows it\nmay in one request. Then `data` holds what it found so\nfar, possibly nothing, `has_more` is true, and this is the\nposition to continue from: pass it as `starting_after` (or as\n`ending_before`, if you page backward) in place of the id of\nthe last object. It is an id of the kind of the list, but not\nnecessarily the id of an object in `data`. Left out otherwise.","type":"string"},"object":{"description":"Always `list`.","example":"list","type":"string"}},"required":["object","data","has_more"],"type":"object"},"PrinterMoved":{"allOf":[{"$ref":"#/components/schemas/PrinterObject"},{"properties":{"cancelled_jobs":{"description":"Jobs that left the printer's queue and were cancelled.","items":{"type":"string"},"type":"array"},"jobs_left":{"description":"Jobs that left the queue and could not be cancelled (the printer may be\nprinting one). They finish or expire on their own.","items":{"type":"string"},"type":"array"},"url":{"description":"The new URL, only for a move to another customer; the old one stops\nworking at once. `null` inside a customer, where the URL stays.","example":"https://m7tq4wz9.print.tillcast.com/k5cpw3vr9xhd8n2a","type":["string","null"]}},"required":["url","cancelled_jobs","jobs_left"],"type":"object"}],"description":"A printer after a move. `url` is set when the move went to another\ncustomer, because the host of the URL is the customer's code.","example":{"allowed_mac":null,"auth_error_at":null,"brand":null,"cancelled_jobs":[],"client_reference_id":null,"condition":[],"connection":"never_connected","created_at":"2026-10-11T09:25:00Z","customer":"cus_m7tq4wz9","id":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","jobs_left":[],"location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","mac":null,"mode":"live","model":null,"name":"Reception left","object":"printer","pending_jobs":0,"reported_mac":null,"status":"never_connected","status_code":null,"url":"https://m7tq4wz9.print.tillcast.com/k5cpw3vr9xhd8n2a","vendor":"star"}},"PrinterObject":{"description":"A printer. The secret of its URL is not here: it is shown once, when the\nprinter is created.","example":{"allowed_mac":"00:11:62:00:00:01","auth_error_at":null,"brand":"Star","client_reference_id":"kitchen-1","condition":[],"connection":"connected","created_at":"2026-10-11T09:25:00Z","customer":"cus_c3x9k2m3","domain":"print.tillcast.com","id":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","mac":"00:11:62:00:00:01","mode":"live","model":"mC-Print3","name":"Reception left","object":"printer","pending_jobs":0,"profile":"star-starprnt-utf8-80mm","reported_mac":null,"status":"online","status_code":"200 OK","vendor":"star"},"properties":{"allowed_mac":{"description":"The one device allowed to use this printer's address; `null` means that\nany device that holds the address is accepted. See `allowed_mac` of the\nrequest that sets it.","example":"00:11:62:00:00:01","type":["string","null"]},"auth_error_at":{"description":"When a refused request last left a hint: `wrong_host` (the host is not\nthe printer's) or `mac_mismatch` (the address names an allowed device\nand another device connected). `null` when there is none.","type":["string","null"]},"brand":{"description":"Read from the printer itself; `null` until it has connected and\nanswered. It cannot be set through the API. Text the printer sent,\nkept to ASCII letters, digits and `. _ - + ( ) /`: a claim of whoever\nholds the printer's address, not verified. Treat it as untrusted text.","maxLength":64,"readOnly":true,"type":["string","null"]},"client_reference_id":{"description":"The id of this printer in your own system, such as `kitchen-1`, or\n`null`. Not unique: the same value can be on many objects, and\n`GET /v1/printers?client_reference_id=` lists every printer that\ncarries it. `null` for every printer made before the field existed.","type":["string","null"]},"condition":{"description":"What the printer reports is wrong: `paper_low`, `paper_out`,\n`cover_open`, `jam` or `error`.","items":{"type":"string"},"type":"array"},"connection":{"description":"`never_connected`, `connected` or `disconnected` (the printer has\nconnected and has not polled for about 4 minutes: its `status` is\n`offline` unless a suspension or a refused request comes first).","type":"string"},"created_at":{"type":"string"},"customer":{"type":"string"},"detection":{"description":"What is left for the server to settle on the printer. `pending`: it was made with `paper_width` and nothing\nthat names its maker, and has not been settled yet (its maker is set by its first connection, and a Star's width\nby what the printer reports). `undetected`: a Star reported something Tillcast cannot print on yet (Star Line\nmode, 104 mm paper), or nothing usable, so it prints with the default of its paper. `done`: every other printer,\none made before this field included. A plain string and not an enum. Only in the answer to a single printer,\nnot in a list.","type":["string","null"]},"domain":{"description":"The printer domain the printer's URL is on: `print.tillcast.com`, or a domain that Tillcast has set\nup for your organization. The host of the URL is `<code of the customer>.<domain>`: the code is\nTillcast's own random code of the customer (the part of the customer's id after `cus_`), never an\nid of yours. It is recorded when the printer is made and kept when its secret is replaced. Only in\nthe answer to a single printer, not in a list.","type":["string","null"]},"id":{"type":"string"},"last_seen_at":{"description":"When the printer last polled us. Only in the answer to a single printer.","type":["string","null"]},"location":{"type":"string"},"mac":{"description":"The MAC address the printer reported on its last accepted poll. For\ndisplay only: it never addresses or authenticates a printer, and it is a\nclaim by whoever polled with the address secret, not a verified fact.\n`null` until the first poll, and for a printer that does not report one.","type":["string","null"]},"mode":{"type":"string"},"model":{"description":"Read from the printer itself; `null` until it has connected and\nanswered. It cannot be set through the API. Text the printer sent,\nkept to ASCII letters, digits and `. _ - + ( ) /`: a claim of whoever\nholds the printer's address, not verified. Treat it as untrusted text.","maxLength":64,"readOnly":true,"type":["string","null"]},"name":{"type":"string"},"object":{"example":"printer","type":"string"},"paper_width":{"description":"The paper the printer was made for: `58mm`, `80mm`, or `null` when it was made without `paper_width`. Set when\nthe printer is made and never changed. Only in the answer to a single printer, not in a list.","example":"80mm","type":["string","null"]},"pending_jobs":{"description":"Jobs waiting for the printer that have not expired.","minimum":0,"type":"integer"},"print_options":{"oneOf":[{"$ref":"#/components/schemas/PrintOptions","description":"The options set on top of the profile (`print_options` of the request\nthat sets them): only the ones that were set, so it is left out while\nthere are none. Only in the answer to a single printer, not in a list."},{"type":"null"}]},"profile":{"description":"The profile documents are rendered for (command set, paper width in\ncharacters and text encoding): the id of a preset, the one set with\n`profile` or, while none is set, the default of the printer's `vendor`\n(`star-starprnt-utf8-80mm` for a `star` printer, `epson-80mm-48` for an\n`epson` one). It is the profile the printer prints with, also for a\nprinter made before profiles could be chosen, and, for a printer made\nwith `paper_width` and no profile, the one detected from the printer or\nconfirmed on paper (`profile_source` says which). A plain string and not an\nenum, so that a profile that is retired never breaks a client;\n`x-tillcast-profiles` of the contract lists the ones a printer can be\nset to. Only in the answer to a single printer, not in a list.","type":["string","null"]},"profile_source":{"description":"Where `profile` comes from. `default`: nobody chose, so the default of the paper and the maker applies.\n`detected`: a Star's own report chose the width. `confirmed`: a calibration code chose it. `explicit`: a request\nor an edit named it, and every printer made before this field existed. A plain string and not an enum, so that a\nword added later never breaks a client. Only in the answer to a single printer, not in a list.","type":["string","null"]},"reported_mac":{"description":"While `status` is `mac_mismatch`: the MAC address of the device that was\nrefused, taken from the refused request. Also a claim: compare it with\nthe label of your printer before you allow it. `null` otherwise.","type":["string","null"]},"status":{"description":"`never_connected`, `online`, `offline` (the printer has connected and\nhas not polled for about 4 minutes), `wrong_host`, `mac_mismatch` (the\naddress names an allowed device and another device connected),\n`customer_suspended` or `location_suspended`.","type":"string"},"status_code":{"description":"The printer's last status code, such as `200 OK`.","type":["string","null"]},"vendor":{"description":"`star` or `epson`: set when the printer is made and never changed (see\n`vendor` of the request that adds a printer), with one exception: a\nprinter made with `paper_width` and no maker reads `star` until its first\nconnection names the maker, once (`vendor_source` says which case it is).","type":"string"},"vendor_source":{"description":"Where `vendor` comes from. `default`: no maker was named, so the printer reads `star` until its first\nconnection names the maker. `detected`: the first connection decided it. `explicit`: the request that made the\nprinter named it, or the printer was made without `paper_width`, or before that field existed: the server never\nchanges an explicit maker. A plain string and not an enum, so that a word added later never breaks a client.\nOnly in the answer to a single printer, not in a list.","type":["string","null"]},"welcome_print":{"description":"Whether the printer prints a welcome receipt on its first connection.\nAn `epson` printer prints none: it reads `false`. Only in the answer\nto a single printer.","type":["boolean","null"]}},"required":["id","object","customer","location","name","client_reference_id","vendor","brand","model","mode","status","connection","condition","status_code","mac","allowed_mac","pending_jobs","auth_error_at","reported_mac","created_at"],"type":"object"},"PrinterProfile":{"description":"The id of a profile a printer can be set to. `x-tillcast-profiles` of the contract says what each is for and how far it has been checked on a real printer (`evidence`).","enum":["star-starprnt-utf8-80mm","star-starprnt-utf8-58mm","star-starprnt-cp852-80mm","star-starprnt-cp852-58mm","epson-80mm-48","epson-80mm-42","epson-58mm-35","epson-58mm-30","epson-legacy-80mm-42"],"type":"string"},"PrinterStatus":{"enum":["never_connected","online","offline","wrong_host","mac_mismatch","customer_suspended","location_suspended"],"type":"string"},"PrinterVendor":{"enum":["star","epson"],"type":"string"},"PrinterWithUrl":{"allOf":[{"$ref":"#/components/schemas/PrinterObject"},{"properties":{"url":{"description":"The URL to type into the printer's server setting: the CloudPRNT server\nfield of a `star` printer, the Server Direct Print setting of an `epson`\nprinter (see `vendor`). `null` when the answer is a replay of an earlier\nrequest with the same Idempotency-Key, because the URL is shown only\nonce: rotate the secret for a new one.","example":"https://c3x9k2m3.print.tillcast.com/r4twh8nca3bx5dfn","type":["string","null"]}},"required":["url"],"type":"object"}],"description":"A printer with the URL to type into the device, in the answers that issue\none: when the printer is made, when its secret is rotated and when a move\nchanges the host. The URL holds the printer's secret and is shown only\nthere.","example":{"allowed_mac":null,"auth_error_at":null,"brand":null,"client_reference_id":null,"condition":[],"connection":"never_connected","created_at":"2026-10-11T09:25:00Z","customer":"cus_c3x9k2m3","detection":"pending","domain":"print.tillcast.com","id":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","mac":null,"mode":"live","model":null,"name":"Reception left","object":"printer","paper_width":"80mm","pending_jobs":0,"profile":"star-starprnt-utf8-80mm","profile_source":"default","reported_mac":null,"status":"never_connected","status_code":null,"url":"https://c3x9k2m3.print.tillcast.com/r4twh8nca3bx5dfn","vendor":"star","vendor_source":"default","welcome_print":true}},"QrBlock":{"additionalProperties":false,"description":"A QR Code on its own line.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the code sits. Not said: left."},"cell":{"description":"The size of one square in dots, 3 to 8. Not said: 3.","format":"int32","maximum":8,"minimum":3,"type":"integer"},"data":{"description":"What the code says: text, a URL. At most 2048 characters, and as many bytes (UTF-8) as a symbol of the\n`level` holds: 2953 at `l`, 2331 at `m`, 1663 at `q`, 1273 at `h`.","maxLength":2048,"minLength":1,"type":"string"},"level":{"$ref":"#/components/schemas/QrLevel","description":"The error correction. Not said: `l`."},"type":{"description":"`qr`.","enum":["qr"],"type":"string"}},"required":["type","data"],"type":"object"},"QrLevel":{"description":"The error correction of a QR Code.","enum":["l","m","q","h"],"type":"string"},"RestOfLine":{"description":"The rest of the line.","enum":["*"],"type":"string"},"RowBlock":{"additionalProperties":false,"description":"One line of cells.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the row sits on the paper when every column has a width and the paper is wider. Not said: left."},"bold":{"description":"Bold, for every cell that does not say.","type":"boolean"},"cells":{"description":"The cells, left to right: at most as many as `columns` has.","items":{"$ref":"#/components/schemas/TableCell"},"maxItems":16,"minItems":1,"type":"array"},"columns":{"description":"The columns. Not said: the cells share the line equally.","items":{"$ref":"#/components/schemas/TableColumn"},"maxItems":16,"minItems":1,"type":"array"},"invert":{"description":"White on black.","type":"boolean"},"size":{"$ref":"#/components/schemas/BlockSize","description":"The size of the characters."},"type":{"description":"`row`.","enum":["row"],"type":"string"},"underline":{"description":"Underlined.","type":"boolean"},"wrap":{"description":"`false` cuts a cell at the end of its column instead of wrapping it; no cell then has a line break,\nbecause the language prints only the first line of a text it must not wrap. Not said: wraps.","type":"boolean"}},"required":["type","cells"],"type":"object"},"RuleBlock":{"additionalProperties":false,"description":"A rule across the paper, or between the rows of a table.","properties":{"type":{"description":"`rule`.","enum":["rule"],"type":"string"}},"required":["type"],"type":"object"},"SizeSpec":{"additionalProperties":false,"description":"A size the language can print in one direction only: twice as wide or twice as high.","properties":{"height":{"description":"1 or 2 times as high as a normal character.","format":"int32","maximum":2,"minimum":1,"type":"integer"},"width":{"description":"1 or 2 times as wide as a normal character.","format":"int32","maximum":2,"minimum":1,"type":"integer"}},"type":"object"},"StyledCell":{"additionalProperties":false,"description":"A cell with a style or an alignment of its own.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the text sits in the column. Not said: the column's."},"bold":{"description":"Bold. Not said: the block's.","type":"boolean"},"invert":{"description":"White on black.","type":"boolean"},"size":{"$ref":"#/components/schemas/BlockSize","description":"The size of the characters."},"text":{"$ref":"#/components/schemas/TextContent","description":"What the cell says."},"underline":{"description":"Underlined.","type":"boolean"}},"required":["text"],"type":"object"},"StyledRun":{"additionalProperties":false,"description":"A piece of a text with a style of its own.","properties":{"bold":{"description":"Bold. Not said: the text around it decides.","type":"boolean"},"invert":{"description":"White on black.","type":"boolean"},"size":{"$ref":"#/components/schemas/BlockSize","description":"The size of the characters."},"text":{"description":"What the piece says.","maxLength":4096,"type":"string"},"underline":{"description":"Underlined.","type":"boolean"}},"required":["text"],"type":"object"},"TableBlock":{"additionalProperties":false,"description":"Columns declared once, then rows.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the table sits on the paper when every column has a width and the paper is wider. Not said: left."},"bold":{"description":"Bold, for every cell that does not say.","type":"boolean"},"border":{"$ref":"#/components/schemas/TableBorder","description":"What is drawn between the columns. Not said: `space`."},"columns":{"description":"The columns, such as `[\"*\", 9]`: a name that takes the rest of the line and a price of 9 characters.","items":{"$ref":"#/components/schemas/TableColumn"},"maxItems":16,"minItems":1,"type":"array"},"invert":{"description":"White on black.","type":"boolean"},"rows":{"description":"The rows. A row has at most as many cells as there are columns; a shorter one leaves the last\ncolumns empty.","items":{"$ref":"#/components/schemas/TableRow"},"maxItems":1000,"minItems":1,"type":"array"},"size":{"$ref":"#/components/schemas/BlockSize","description":"The size of the characters."},"type":{"description":"`table`.","enum":["table"],"type":"string"},"underline":{"description":"Underlined.","type":"boolean"},"wrap":{"description":"`false` cuts a cell at the end of its column instead of wrapping it; no cell then has a line break,\nbecause the language prints only the first line of a text it must not wrap. Not said: wraps.","type":"boolean"}},"required":["type","columns","rows"],"type":"object"},"TableBorder":{"description":"What is drawn between the columns of a table.","enum":["none","space","line"],"type":"string"},"TableCell":{"description":"A cell: a string, or an object with a style or an alignment of its own.","oneOf":[{"description":"A string in the column's alignment and the block's style.","maxLength":4096,"type":"string"},{"$ref":"#/components/schemas/StyledCell","description":"A cell with a style or an alignment of its own."}]},"TableColumn":{"description":"A column: a width in characters, `\"*\"` for the rest of the line, or an object with a width\nand an alignment.","oneOf":[{"description":"A width in characters, 1 to 96, text to the left.","format":"int32","maximum":96,"minimum":1,"type":"integer"},{"$ref":"#/components/schemas/RestOfLine","description":"The rest of the line, text to the left."},{"$ref":"#/components/schemas/ColumnSpec","description":"A width, an alignment, or both."}]},"TableRow":{"description":"A row of a table: the cells of one row, left to right, or a rule between two rows, `{\"type\": \"rule\"}`.","oneOf":[{"description":"The cells of one row, left to right. At most as many as the table has columns; a shorter row leaves the last columns empty.","items":{"$ref":"#/components/schemas/TableCell"},"maxItems":16,"minItems":1,"type":"array"},{"$ref":"#/components/schemas/RuleBlock","description":"A horizontal rule between two rows."}]},"TestPage":{"enum":["basic","full"],"type":"string"},"TextBlock":{"additionalProperties":false,"description":"Text on its own line.","properties":{"align":{"$ref":"#/components/schemas/BlockAlign","description":"Where the line sits. Not said: left."},"bold":{"description":"Bold.","type":"boolean"},"invert":{"description":"White on black.","type":"boolean"},"size":{"$ref":"#/components/schemas/BlockSize","description":"The size of the characters."},"text":{"$ref":"#/components/schemas/TextContent","description":"What to print. A line break in it is a line break on the paper; a long text wraps at the edge of the\npaper."},"type":{"description":"`text`.","enum":["text"],"type":"string"},"underline":{"description":"Underlined.","type":"boolean"},"wrap":{"description":"`false` cuts a long line at the edge of the paper instead of wrapping it; the text then has no line\nbreak, because the language prints only the first line of a text it must not wrap. Not said: wraps.","type":"boolean"}},"required":["type","text"],"type":"object"},"TextContent":{"description":"What a text says: one string, or a list of pieces that can each have a style, such as\n`[\"Total \", {\"text\": \"90.00\", \"bold\": true}]`.","oneOf":[{"description":"One string.","maxLength":4096,"type":"string"},{"description":"Pieces, in order.","items":{"$ref":"#/components/schemas/TextRun"},"maxItems":32,"type":"array"}]},"TextRun":{"description":"A piece of a text: a string, or a string with a style of its own.","oneOf":[{"description":"A piece in the style of the text around it.","maxLength":4096,"type":"string"},{"$ref":"#/components/schemas/StyledRun","description":"A piece with a style of its own."}]},"UpdateCustomer":{"additionalProperties":false,"description":"The body that changes a customer. A field you leave out stays as it is;\n`client_reference_id: null` takes the id away.","example":{"name":"Baltic Hotels"},"properties":{"client_reference_id":{"type":["string","null"]},"name":{"type":["string","null"]}},"type":"object"},"UpdateLocation":{"additionalProperties":false,"example":{"name":"Hotel Gdansk"},"properties":{"client_reference_id":{"type":["string","null"]},"name":{"type":["string","null"]}},"type":"object"},"UpdatePrinter":{"additionalProperties":false,"example":{"name":"Reception right"},"properties":{"allowed_mac":{"description":"Replaces the device allowed to use the printer's URL (see\n`allowed_mac` of the request that makes a printer); `null` removes it,\nso that any device that holds the URL is accepted, and left out it stays\nas it is. It can be changed at any time, also while the printer is\npolling: a device that the new value leaves out is refused from then on,\nwithin about a second, and one it names is let in about 30 seconds\nlater, plus its poll interval. An edit that leaves out a device while it\nis printing makes its confirmation fail with `403`, so the receipt can\nprint a second time once the value is repaired. For a hardware swap, set\nthe new printer's MAC address. A printer made with `vendor` `epson`\nreports no MAC address, so a device cannot be set for it\n(`400 parameter_invalid`), as at create; `null` is always accepted.","pattern":"^([0-9A-Fa-f]{2}[:-]?){5}[0-9A-Fa-f]{2}$","type":["string","null"]},"client_reference_id":{"description":"Sets or changes the id of this printer in your own system (see\n`client_reference_id` of the request that makes a printer); `null` takes\nit away, and left out it stays as it is. It is not unique, so it is\nnever refused for being used already.","maxLength":128,"minLength":1,"type":["string","null"]},"name":{"type":["string","null"]},"print_options":{"oneOf":[{"$ref":"#/components/schemas/PrintOptions","description":"Replaces the options (see `print_options` of the request that makes a\nprinter) as a whole: a field that is left out of the object is unset,\nnot kept. `null` takes them all away, and left out they stay as they\nare."},{"type":"null"}]},"profile":{"oneOf":[{"$ref":"#/components/schemas/PrinterProfile","description":"Sets the profile (see `profile` of the request that makes a printer);\n`null` takes it away, so that the default of the `vendor` applies\nagain, and left out it stays as it is. It applies to the jobs created\nfrom then on: a job that is queued keeps the profile it was rendered\nfor."},{"type":"null"}]},"welcome_print":{"description":"Switches the welcome receipt (see `welcome_print` of the request that\nmakes a printer). A printer made with `vendor` `epson` prints none:\n`true` is accepted and leaves it off.","type":["boolean","null"]}},"type":"object"}},"securitySchemes":{"api_key":{"bearerFormat":"tc_rk_live_…","description":"A restricted API key, `tc_rk_live_` and 32 characters. Send it as `Authorization: Bearer <key>`. A key lists its scopes, and each operation below names the one it needs; a key may also be limited to one customer. An owner or a developer of the organization makes a key in the dashboard, under API keys, after a code sent to their e-mail. The key is shown once, when it is made. An owner or a developer can revoke it there, and a revoked key stops working within a minute.","scheme":"bearer","type":"http"},"dashboard_token":{"bearerFormat":"JWT","description":"The access token of a person signed in to the dashboard, from the dashboard Cognito pool. Dashboard only, except that `POST /v1/customers`, `POST /v1/customers/{customer}/locations`, `POST /v1/customers/{customer}/suspend`, `POST /v1/customers/{customer}/reactivate`, `POST /v1/locations/{location}/printers`, `PATCH /v1/printers/{printer}`, `DELETE /v1/printers/{printer}`, `POST /v1/printers/{printer}/rotate-secret` and `POST /v1/printers/{printer}/test-print` also take it, by role (an owner or a developer, with the organization named in `Tillcast-Organization`).","scheme":"bearer","type":"http"}}},"info":{"contact":{"name":"Tillcast","url":"https://docs.tillcast.com"},"description":"Print to receipt printers from your own software.\n\nThe API is JSON over HTTPS at `https://api.tillcast.com/v1`. Every request carries an API key as a bearer token. Keys are restricted: each lists its scopes, and may be limited to one customer. Name the API version you wrote your code for in the `Tillcast-Version` header (a date); a request without it gets the current one, which is `2026-10-01`. Creating things takes an `Idempotency-Key` so that a retry cannot make a second one. Lists are paged with `limit`, `starting_after` and `ending_before`. A route takes the query parameters listed for it and no other name: an unknown query parameter is refused with `400 parameter_unknown`, as an unknown field of a body is. Every error is one object with a `type`, a stable `code`, a `message`, the `param` it is about and a `request_id` to quote when you ask for help. Objects of other organizations are never visible: they are answered as if they did not exist.","license":{"identifier":"UNLICENSED","name":"UNLICENSED"},"title":"Tillcast API","version":"2026-10-01"},"openapi":"3.1.0","paths":{"/v1/customers":{"get":{"description":"The customers of your organization (or, for a key limited to one customer,\nthat customer), in the order of their ids. With `client_reference_id` the\nlist holds every customer that carries that value (the same value can be on\nmany customers: it is not unique), and an unknown value is an empty list.\nA search reads only so many rows in one request: it may answer fewer\nthan `limit` objects, even none, with `has_more` true and a\n`next_cursor`, which you send as `starting_after` (or `ending_before`)\nto go on until `has_more` is false.\n\n**Scope:** `customers:read`.","operationId":"list_customers","parameters":[{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it. In a search by `client_reference_id` the answer can be a\nshort page, or none, with `has_more` true and a `next_cursor`: send that\ninstead, and go on until `has_more` is false.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`. In a search by\n`client_reference_id` read backward, the `next_cursor` of the answer\nwhen it has one.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}},{"description":"Only the customers that carry this client reference id (1 to 128 characters). It is not unique, so the list can hold many; an unknown value is an empty list.","example":"acct-1042","in":"query","name":"client_reference_id","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerList"}}},"description":"A page of customers."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:read"]}],"summary":"List customers","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"list"},"post":{"description":"Adds a customer: the business whose locations and printers you manage. The\ncustomer's id is a short code that is also the first label of the host of\nits printers. Needs a key that is not limited to one customer. The\ndashboard calls it with the access token of a signed-in owner or developer\ninstead of a key, naming the organization in `Tillcast-Organization`; a\nperson is refused with `permission_denied` (a viewer),\n`organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization).\n\n**Scope:** `customers:write`.","operationId":"create_customer","parameters":[{"description":"A string of 1 to 64 visible ASCII characters that identifies this request. A retry with the same key and the same body returns the first result (200, with `Idempotent-Replayed: true`) instead of making a second object; the same key with a different body is an error (422). Keys are remembered for 24 hours.","example":"customer-1042-create","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomer"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}},"description":"A replay of an earlier request with the same Idempotency-Key.","headers":{"Idempotent-Replayed":{"description":"`true`: this is the result of an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}}},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}},"description":"The customer that was made."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"422":{"content":{"application/json":{"example":{"error":{"code":"idempotency_key_reused","message":"This Idempotency-Key was used with a different request.","param":"Idempotency-Key","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"idempotency_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is understood but refused."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]},{"dashboard_token":[]}],"summary":"Create a customer","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"create"}},"/v1/customers/{customer}":{"delete":{"description":"Deletes a customer that has no locations. A search by its\n`client_reference_id` no longer finds it, and its host stops resolving. Needs a key that is not limited to one\ncustomer.\n\n**Scope:** `customers:write`.","operationId":"delete_customer","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deleted"}}},"description":"The customer was deleted."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"not_empty","message":"The location still holds other objects. Remove them first.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]}],"summary":"Delete a customer","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"delete"},"get":{"description":"A customer of your organization, with the number of its locations and\nprinters.\n\n**Scope:** `customers:read`.","operationId":"get_customer","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}},"description":"The customer."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:read"]}],"summary":"Retrieve a customer","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"get"},"patch":{"description":"Renames a customer and changes or removes its `client_reference_id`. A field you\nleave out stays as it is.\n\n**Scope:** `customers:write`.","operationId":"update_customer","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCustomer"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}},"description":"The customer as it is now."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]}],"summary":"Update a customer","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"update"}},"/v1/customers/{customer}/locations":{"get":{"description":"The customer's locations, in the order they were made.\n\n**Scope:** `customers:read`.","operationId":"list_customer_locations","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}},{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationList"}}},"description":"A page of the customer's locations."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:read"]}],"summary":"List the locations of a customer","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"list_for_customer"},"post":{"description":"Adds a location (a hotel, a venue) to a customer. The customer must be\nactive. The dashboard calls it with the access token of a signed-in owner\nor developer instead of a key, naming the organization in\n`Tillcast-Organization`; a person is refused with `permission_denied` (a\nviewer), `organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization).\n\n**Scope:** `customers:write`.","operationId":"create_location","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}},{"description":"A string of 1 to 64 visible ASCII characters that identifies this request. A retry with the same key and the same body returns the first result (200, with `Idempotent-Replayed: true`) instead of making a second object; the same key with a different body is an error (422). Keys are remembered for 24 hours.","example":"location-2071-create","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLocation"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObject"}}},"description":"A replay of an earlier request with the same Idempotency-Key.","headers":{"Idempotent-Replayed":{"description":"`true`: this is the result of an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}}},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObject"}}},"description":"The location that was made."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"422":{"content":{"application/json":{"example":{"error":{"code":"idempotency_key_reused","message":"This Idempotency-Key was used with a different request.","param":"Idempotency-Key","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"idempotency_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is understood but refused."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]},{"dashboard_token":[]}],"summary":"Create a location","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"create"}},"/v1/customers/{customer}/printers":{"get":{"description":"The customer's printers, with their status. `status` keeps the printers\nthat have it. A list does not carry `profile` or `print_options`: retrieve\nthe printer for them.\n\n**Scope:** `printers:read`.","operationId":"list_customer_printers","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}},{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}},{"description":"Only printers with this status.","example":"online","in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/PrinterStatus"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterList"}}},"description":"A page of the customer's printers."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:read"]}],"summary":"List the printers of a customer","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"list_for_customer"}},"/v1/customers/{customer}/reactivate":{"post":{"description":"Lets a suspended customer's printers print again. The printers may need a few minutes to resume because of DNS. The dashboard calls it with the\naccess token of a signed-in owner or developer instead of a key, naming the organization in `Tillcast-Organization`; a person\nis refused with `permission_denied` (a viewer), `organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization). A change writes an audit entry, for a key and for a person alike.\n\n**Scope:** `customers:write`.","operationId":"reactivate_customer","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}},"description":"The customer, active."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]},{"dashboard_token":[]}],"summary":"Reactivate a customer","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"reactivate"}},"/v1/customers/{customer}/suspend":{"post":{"description":"Stops all the customer's printers (needs a key that is not limited to one customer): they are refused at their next request\nand no job can be queued for them. Jobs already queued wait until they\nexpire. A customer that is already suspended stays so. The dashboard calls it with the\naccess token of a signed-in owner or developer instead of a key, naming the organization in `Tillcast-Organization`; a person\nis refused with `permission_denied` (a viewer), `organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization). A change writes an audit entry, for a key and for a person alike.\n\n**Scope:** `customers:write`.","operationId":"suspend_customer","parameters":[{"description":"The customer's id.","example":"cus_c3x9k2m3","in":"path","name":"customer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerObject"}}},"description":"The customer, suspended."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]},{"dashboard_token":[]}],"summary":"Suspend a customer","tags":["Customers"],"x-fern-sdk-group-name":"customers","x-fern-sdk-method-name":"suspend"}},"/v1/jobs":{"get":{"description":"Jobs, newest first. With `printer` (an id) the list is that printer's; add\n`status=pending` for the jobs waiting for it, oldest first. Without\n`printer` the list covers every printer. `customer` and `location` (ids)\nnarrow it to the jobs made for that customer or that location: the ones a\njob was queued for, and not where its printer is now. A location in another\ncustomer than the one named holds none of its jobs. With `printer` they\nhave to match where the printer is now, or the list is empty. With\n`client_reference_id` the list holds every job that carries that value (it\nis not unique, so many can), newest first, narrowed by the ones you name; an\nunknown value is an empty list, and `status` cannot be combined with it. A\ncustomer, a location or a printer that is not yours is `404`. Jobs are kept\nfor 7 days after they end.\nA search reads only so many rows in one request: it may answer fewer\nthan `limit` objects, even none, with `has_more` true and a\n`next_cursor`, which you send as `starting_after` (or `ending_before`)\nto go on until `has_more` is false.\n\n**Scope:** `jobs:read`.","operationId":"list_jobs","parameters":[{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it. In a search by `client_reference_id` the answer can be a\nshort page, or none, with `has_more` true and a `next_cursor`: send that\ninstead, and go on until `has_more` is false.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`. In a search by\n`client_reference_id` read backward, the `next_cursor` of the answer\nwhen it has one.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}},{"description":"Only this printer's jobs: its id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"query","name":"printer","required":false,"schema":{"type":"string"}},{"description":"`pending`: only the jobs waiting for the printer, oldest first. Needs `printer`; not with `client_reference_id`.","example":"pending","in":"query","name":"status","required":false,"schema":{"type":"string"}},{"description":"Only the jobs made for this customer: its id.","example":"cus_c3x9k2m3","in":"query","name":"customer","required":false,"schema":{"type":"string"}},{"description":"Only the jobs made for this location: its id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"query","name":"location","required":false,"schema":{"type":"string"}},{"description":"Only the jobs that carry this client reference id (1 to 128 characters). It is not unique, so the list can hold many; an unknown value is an empty list.","example":"order-1042","in":"query","name":"client_reference_id","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobList"}}},"description":"A page of jobs."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["jobs:read"]}],"summary":"List jobs","tags":["Jobs"],"x-fern-sdk-group-name":"jobs","x-fern-sdk-method-name":"list"}},"/v1/jobs/{job}":{"get":{"description":"A job with its status: `queued`, `delivered` to the printer, `printed`,\n`failed`, `expired` or `cancelled`. Jobs are kept for 7 days after they end.\n\n**Scope:** `jobs:read`.","operationId":"get_job","parameters":[{"description":"The job's id.","example":"job_01M466JX008T2V5X7Z9C1E3G5H","in":"path","name":"job","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobObject"}}},"description":"The job."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["jobs:read"]}],"summary":"Retrieve a job","tags":["Jobs"],"x-fern-sdk-group-name":"jobs","x-fern-sdk-method-name":"get"}},"/v1/jobs/{job}/cancel":{"post":{"description":"Cancels a job that is still queued. A job the printer has taken, and one\nthat has ended, can no longer be cancelled (`409`): it may already be\nprinting.\n\n**Scope:** `jobs:write`.","operationId":"cancel_job","parameters":[{"description":"The job's id.","example":"job_01M466JX008T2V5X7Z9C1E3G5H","in":"path","name":"job","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobObject"}}},"description":"The job, cancelled."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"job_not_cancellable","message":"The job has been delivered to the printer or is finished, so it can no longer be cancelled.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["jobs:write"]}],"summary":"Cancel a job","tags":["Jobs"],"x-fern-sdk-group-name":"jobs","x-fern-sdk-method-name":"cancel"}},"/v1/locations":{"get":{"description":"Every location of your organization (or of the key's customer), by\ncustomer and then by creation. With `customer` the list is that customer's\n(the same list as under `/customers/{customer}/locations`), and a customer\nthat is not yours is `404`. With `client_reference_id` the list holds every\nlocation that carries that value (it is not unique), narrowed to the\n`customer` when one is named; an unknown value is an empty list.\nA search reads only so many rows in one request: it may answer fewer\nthan `limit` objects, even none, with `has_more` true and a\n`next_cursor`, which you send as `starting_after` (or `ending_before`)\nto go on until `has_more` is false.\n\n**Scope:** `customers:read`.","operationId":"list_locations","parameters":[{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it. In a search by `client_reference_id` the answer can be a\nshort page, or none, with `has_more` true and a `next_cursor`: send that\ninstead, and go on until `has_more` is false.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`. In a search by\n`client_reference_id` read backward, the `next_cursor` of the answer\nwhen it has one.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}},{"description":"Only the locations that carry this client reference id (1 to 128 characters). It is not unique, so the list can hold many; an unknown value is an empty list.","example":"prop-17","in":"query","name":"client_reference_id","required":false,"schema":{"type":"string"}},{"description":"Only the locations of this customer: its id.","example":"cus_c3x9k2m3","in":"query","name":"customer","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationList"}}},"description":"A page of locations."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:read"]}],"summary":"List locations","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"list"}},"/v1/locations/{location}":{"delete":{"description":"Removes a location that holds no printer. A search by its\n`client_reference_id` no longer finds it.\n\n**Scope:** `customers:write`.","operationId":"delete_location","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deleted"}}},"description":"The location was deleted."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"not_empty","message":"The location still holds other objects. Remove them first.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]}],"summary":"Delete a location","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"delete"},"get":{"description":"A location of your organization, with the number of its printers.\n\n**Scope:** `customers:read`.","operationId":"get_location","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObject"}}},"description":"The location."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:read"]}],"summary":"Retrieve a location","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"get"},"patch":{"description":"Renames a location and changes or removes its `client_reference_id`.\n\n**Scope:** `customers:write`.","operationId":"update_location","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLocation"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObject"}}},"description":"The location as it is now."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]}],"summary":"Update a location","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"update"}},"/v1/locations/{location}/printers":{"get":{"description":"The location's printers, with their status. `status` keeps the printers\nthat have it. This is the list to use for a screen. A list does not carry\n`profile` or `print_options`: retrieve the printer for them.\n\n**Scope:** `printers:read`.","operationId":"list_location_printers","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}},{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}},{"description":"Only printers with this status.","example":"online","in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/PrinterStatus"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterList"}}},"description":"A page of the location's printers."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:read"]}],"summary":"List the printers of a location","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"list_for_location"},"post":{"description":"Adds a printer to a location and returns the URL to type into the\nprinter's CloudPRNT server field. The URL holds the printer's secret and\nis shown only in this answer: keep it, or rotate the secret later to get\na new one. The customer and the location must be active. `allowed_mac` names\nthe one device that may use the URL: an extra safeguard for this one\naddress, not authentication. Without it, any device that holds the URL is\naccepted, and a printer is not tied to the first device that connects. A MAC\naddress can be read from the label of a printer, but use the MAC the printer\nreports (`mac` once it has connected). The brand and the model are read from\nthe printer after it has connected, and cannot be sent. A printer is a Star\nprinter unless `vendor` says `epson`, an Epson printer that every\norganization may make and on which documents and the test page print (see\n`vendor`); its URL goes into the printer's Server Direct Print setting. Send\n`paper_width` and no `vendor`, `profile`, `print_options` or `allowed_mac`\nand the maker is read from the printer's first connection, and a Star's\nwidth from what it reports (see `paper_width`).\n`profile` and `print_options` say how documents are printed on the printer\n(the paper width in characters, the text encoding, the command set); left\nout, the default of the `vendor` is used, and the answer says which one\nthat is. They are checked before anything is made: a mistake in either is a\n`422` and no printer. The dashboard calls it with the access token of a\nsigned-in owner or developer instead of a key, naming the organization in\n`Tillcast-Organization`; the answer is the same, and its URL is shown once\nthere too. A person is refused with `permission_denied` (a viewer),\n`organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization).\n\n**Scope:** `printers:write`.","operationId":"create_printer","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}},{"description":"A string of 1 to 64 visible ASCII characters that identifies this request. A retry with the same key and the same body returns the first result (200, with `Idempotent-Replayed: true`) instead of making a second object; the same key with a different body is an error (422). Keys are remembered for 24 hours.","example":"printer-3318-create","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePrinter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterWithUrl"}}},"description":"A replay of an earlier request with the same Idempotency-Key. `url` is null.","headers":{"Idempotent-Replayed":{"description":"`true`: this is the result of an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}}},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterWithUrl"}}},"description":"The printer that was made, with the URL to type into it."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"parent_not_active","message":"The customer or the location is suspended, so nothing can be added to it.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object."},"422":{"content":{"application/json":{"example":{"error":{"code":"profile_unknown","message":"There is no such profile. The profiles are listed in `x-tillcast-profiles` of the contract.","param":"profile","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is understood but refused. The `code` is one of `profile_unknown`, `profile_not_connectable`, `profile_vendor_mismatch`, `print_options_invalid`, `idempotency_key_reused`."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."},"503":{"content":{"application/json":{"example":{"error":{"code":"printer_domain_unavailable","message":"No printer domain is available yet, so a printer URL cannot be made. Try again later.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The service cannot do that now."}},"security":[{"api_key":["printers:write"]},{"dashboard_token":[]}],"summary":"Add a printer","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"create"}},"/v1/locations/{location}/reactivate":{"post":{"description":"Lets a paused location's printers print again.\n\n**Scope:** `customers:write`.","operationId":"reactivate_location","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObject"}}},"description":"The location, active."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]}],"summary":"Resume a location","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"reactivate"}},"/v1/locations/{location}/suspend":{"post":{"description":"Pauses a location (the hotel pause): its printers are refused at their next\nrequest and no job can be queued for them. Jobs already queued wait until\nthey expire. A location that is already paused stays so.\n\n**Scope:** `customers:write`.","operationId":"suspend_location","parameters":[{"description":"The location's id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"path","name":"location","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocationObject"}}},"description":"The location, paused."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["customers:write"]}],"summary":"Pause a location","tags":["Locations"],"x-fern-sdk-group-name":"locations","x-fern-sdk-method-name":"suspend"}},"/v1/organizations/me":{"get":{"description":"The organization the key belongs to, the key's own details (its id, label,\nscopes and the customer it is limited to), and how many customers,\nlocations and printers the key can see. Any valid key may call it.\n\n**Scope:** none. Any valid key may call this.","operationId":"get_organization","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationObject"}}},"description":"The organization and the key."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":[]}],"summary":"Retrieve your organization","tags":["Organization"],"x-fern-sdk-group-name":"organization","x-fern-sdk-method-name":"get"}},"/v1/printers":{"get":{"description":"Every printer of your organization (or of the key's customer), with its\nstatus, in the order of customer, location and creation. A list across the\nwhole organization is slow and costs more than the others: add `customer`\nor `location` when you can (the lists under `/customers/{customer}/printers`\nand `/locations/{location}/printers` are the same lists), and use `status`\nwith either. With `client_reference_id` the list holds every printer that\ncarries that value (it is not unique), by id, narrowed to the `customer`\nand the `location` when you name them; an unknown value is an empty list. A\ncustomer or a location that is not yours is `404`. A list does not carry\n`profile` or `print_options`: retrieve the printer for them.\nA search reads only so many rows in one request: it may answer fewer\nthan `limit` objects, even none, with `has_more` true and a\n`next_cursor`, which you send as `starting_after` (or `ending_before`)\nto go on until `has_more` is false.\n\n**Scope:** `printers:read`.","operationId":"list_printers","parameters":[{"description":"How many objects a page holds, 1 to 100. The default is 10.","example":25,"in":"query","name":"limit","required":false,"schema":{"format":"int32","maximum":100,"minimum":1,"type":"integer"}},{"description":"The id of the last object of the page you hold: returns the page that\nfollows it. In a search by `client_reference_id` the answer can be a\nshort page, or none, with `has_more` true and a `next_cursor`: send that\ninstead, and go on until `has_more` is false.","example":"cus_c3x9k2m3","in":"query","name":"starting_after","required":false,"schema":{"type":"string"}},{"description":"The id of the first object of the page you hold: returns the page\nthat precedes it. Not together with `starting_after`. In a search by\n`client_reference_id` read backward, the `next_cursor` of the answer\nwhen it has one.","in":"query","name":"ending_before","required":false,"schema":{"type":"string"}},{"description":"Only the printers that carry this client reference id (1 to 128 characters). It is not unique, so the list can hold many; an unknown value is an empty list.","example":"kitchen-1","in":"query","name":"client_reference_id","required":false,"schema":{"type":"string"}},{"description":"Only the printers of this customer: its id.","example":"cus_c3x9k2m3","in":"query","name":"customer","required":false,"schema":{"type":"string"}},{"description":"Only the printers of this location: its id.","example":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","in":"query","name":"location","required":false,"schema":{"type":"string"}},{"description":"Only printers with this status. Needs `customer` or `location`.","example":"online","in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/PrinterStatus"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterList"}}},"description":"A page of printers."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:read"]}],"summary":"List printers","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"list"}},"/v1/printers/{printer}":{"delete":{"description":"Deletes a printer: its URL stops working at once and the jobs waiting for\nit are cancelled. Its past jobs stay listed until they expire. The dashboard\ncalls it with the access token of a signed-in owner or developer instead of\na key, naming the organization in `Tillcast-Organization`; the answer is the\nsame, and a call by a person writes an audit entry. A person is refused with\n`permission_denied` (a viewer), `organization_suspended`,\n`organization_required` (no header) or `resource_missing` (not a member of\nthat organization).\n\n**Scope:** `printers:write`.","operationId":"delete_printer","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterDeleted"}}},"description":"The printer was deleted."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:write"]},{"dashboard_token":[]}],"summary":"Delete a printer","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"delete"},"get":{"description":"A printer with its status, what it last reported (its brand, model and MAC\naddress, which the printer says itself and which are claims, not verified\nfacts), the device its address allows, the number of jobs waiting for it,\nand how documents are printed on it: the `profile` it prints with (the\ndefault of its `vendor` when none was chosen, also for a printer made before\nprofiles could be) and the `print_options` that were set. `{printer}` is the\nprinter's id; a MAC address is not accepted there.\n\n**Scope:** `printers:read`.","operationId":"get_printer","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterObject"}}},"description":"The printer."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:read"]}],"summary":"Retrieve a printer","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"get"},"patch":{"description":"Renames a printer, switches its welcome receipt, sets, replaces or\nremoves the one device its address allows (`allowed_mac`; `null` removes\nit), or changes how documents are printed on it (`profile`, and\n`print_options` as a whole). The brand and the model are read from the\nprinter and cannot be changed. An `epson` printer prints no welcome\nreceipt, so a `welcome_print` of `true` leaves it off, and it reports no\nMAC address, so a device cannot be set for it (`400 parameter_invalid`). A\nnew `profile` is judged together with the `print_options` the printer\nalready has: send `print_options` too, or `null`, when the options do not\nfit the new profile (`422 print_options_invalid`). A printer made with\n`paper_width` and no maker has no known maker until it has connected and\nreported itself: until then an edit that names `profile`, `print_options` or\n`allowed_mac`, or turns `welcome_print` on, is `409 printer_not_identified`\n(a printer that connected and never reports is deleted and added again with\nits maker named), and the name and the client reference id can be changed at\nany time. An edit\nthat is refused changes nothing, also what in it was right. After a `5xx`, an edit that\nnames `profile` or `print_options` together with another field may be half\nmade: retrieve the printer and send what is missing. The device can be\nchanged at any time, also while the printer is polling. Take care with an edit\nwhile a receipt is printing: if it leaves out the device that holds the\njob, the device's confirmation is refused with `403`, the job is offered\nagain after its deadline, and once the device is allowed again the receipt\ncan print a second time. A hardware swap is an edit of the allowed device:\nset the new printer's MAC address. The dashboard calls it with the\naccess token of a signed-in owner or developer instead of a key, naming\nthe organization in `Tillcast-Organization`; the answer is the same, and a\ncall by a person writes an audit entry that names the fields it changed\nand never a value. A person is refused with `permission_denied` (a\nviewer), `organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization).\n\n**Scope:** `printers:write`.","operationId":"update_printer","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePrinter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterObject"}}},"description":"The printer as it is now."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"printer_not_identified","message":"The printer's maker is not known yet. Send the edit again once it is, or delete the printer and add it again with its maker named.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object."},"422":{"content":{"application/json":{"example":{"error":{"code":"profile_unknown","message":"There is no such profile. The profiles are listed in `x-tillcast-profiles` of the contract.","param":"profile","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is understood but refused. The `code` is one of `profile_unknown`, `profile_not_connectable`, `profile_vendor_mismatch`, `print_options_invalid`."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:write"]},{"dashboard_token":[]}],"summary":"Update a printer","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"update"}},"/v1/printers/{printer}/jobs":{"post":{"description":"Queues a job for a printer. The document is `document`, an array of blocks, or `receiptline`, text in ReceiptLine, the markup language of receipt printers; exactly one of the two is sent, and both or neither is `422 document_invalid`. Tillcast turns it into the commands of the printer's profile when it accepts the request.\n\n**Blocks.** `document` is an array in print order. Each block is one visible unit and says its `type`: `text`, `row`, `table`, `rule`, `image`, `barcode`, `qr`, `cut` or `feed`. The text of a block prints as it is written, whatever characters it has: a `|`, a `{`, a line of `-` or a `~` in a name is a character and not markup. A block that is not valid is `422 document_invalid`, and `param` is the path of a problem (the first by block and cell), such as `document[3].rows[1][0].size`. A document has at most 1000 blocks, and the same receipt written in ReceiptLine is at most 256 KB (`413 document_too_large`).\n\n**Text.** `receiptline` is 1 byte to 256 KB of UTF-8 after the JSON is decoded and not only white space. The markup characters of ReceiptLine apply in it, so text of your own must be escaped; it is for documents written for other ReceiptLine tools, pasted from the ReceiptLine demo, or made by software of yours that writes the language. Its warnings count lines and columns of this text; for blocks they count those of the same receipt written in ReceiptLine.\n\nThe `command` property of ReceiptLine, which would send raw printer commands, is refused (`422 document_command_not_allowed`), and so is a hexadecimal escape that rebuilds a control character inside a text. The document is not stored and is never returned. The answer says which `profile` and `transport` the job was rendered with and lists its `warnings`: the places where the renderer did something other than the document says. The printer prints the job the next time it polls. A request body may be up to 800 KB. The rendered job may be up to 256 KB, or less for a profile that says so (90 KB for `epson-legacy-80mm-42`); a larger one is `413 rendered_too_large`. Send an `Idempotency-Key` so that a retry does not queue a second job: a replay returns the job that was made, with its warnings, and renders nothing. `{printer}` is the printer's id; a MAC address is not accepted there.\n\n**Scope:** `jobs:write`.","operationId":"create_job","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}},{"description":"A string of 1 to 64 visible ASCII characters that identifies this request. A retry with the same key and the same body returns the first result (200, with `Idempotent-Replayed: true`) instead of making a second object; the same key with a different body is an error (422). Keys are remembered for 24 hours.","example":"order-4711-bill","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateJob"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobObject"}}},"description":"A replay of an earlier request with the same Idempotency-Key.","headers":{"Idempotent-Replayed":{"description":"`true`: this is the result of an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}}},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobObject"}}},"description":"The job that was queued."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`document` must be an array of blocks. ReceiptLine text goes in `receiptline`.","param":"document","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"402":{"content":{"application/json":{"example":{"error":{"code":"payment_method_required","message":"This organization has no payment method. An owner must add a card under Billing in the dashboard.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The organization has no payment method, and what the call asks is more than its trial allows. Nothing was made or queued. The `code` is one of `payment_method_required`, `trial_limit_reached`."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"customer_suspended","message":"The customer is suspended, so no job can be queued for its printers.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object. The `code` is one of `customer_suspended`, `location_suspended`."},"413":{"content":{"application/json":{"example":{"error":{"code":"document_too_large","message":"The document is larger than 262144 bytes.","param":"receiptline","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request body, the document or what it renders to is too large. The `code` is one of `document_too_large`, `request_too_large`, `rendered_too_large`."},"422":{"content":{"application/json":{"example":{"error":{"code":"document_invalid","message":"document[3].rows[1][0].size must be at most 6.","param":"document[3].rows[1][0].size","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is understood but refused. The `code` is one of `document_invalid`, `document_command_not_allowed`, `document_empty`, `render_timeout`, `profile_mismatch`, `idempotency_key_reused`."},"429":{"content":{"application/json":{"example":{"error":{"code":"queue_full","message":"The printer has too many jobs waiting. Wait for some to print, or cancel some.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"rate_limit_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The printer has too many jobs waiting (`queue_full`), or this organization is making too many jobs at the same moment (`rate_limited`, which only an organization with no payment method meets). `Retry-After` says when to try again, and a retry with the same `Idempotency-Key` is safe. The `code` is one of `queue_full`, `rate_limited`."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["jobs:write"]}],"summary":"Create a job","tags":["Jobs"],"x-fern-examples":[{"headers":{"Idempotency-Key":"order-1042"},"name":"A short receipt","path-parameters":{"printer":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0"},"request":{"client_reference_id":"order-1042","document":[{"align":"center","bold":true,"size":2,"text":"Harbour Cafe","type":"text"},{"align":"center","text":"Old Town 1","type":"text"},{"columns":["*",{"align":"right","width":9}],"rows":[["Flat white","3.40"],["Lemon cake","4.20"],{"type":"rule"},[{"bold":true,"text":"Total"},{"bold":true,"text":"7.60"}]],"type":"table"},{"align":"center","data":"https://tillcast.com/","type":"qr"}],"expires_in":3600,"metadata":{"table":"7"}},"response":{"body":{"client_reference_id":"order-1042","completed_at":null,"created_at":"2026-10-11T10:00:00Z","customer":"cus_c3x9k2m3","delivered_at":null,"expires_at":"2026-10-11T11:00:00Z","id":"job_01M466JX008T2V5X7Z9C1E3G5H","kind":"api","location":"loc_01M42YMFP03Q1P9N7M5K3H1G0F","metadata":{"table":"7"},"object":"job","printer":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","profile":"star-starprnt-utf8-80mm","reason":null,"result_code":null,"size_bytes":1378,"status":"queued","transport":"cloudprnt-star.1","warnings":[]}}}],"x-fern-sdk-group-name":"jobs","x-fern-sdk-method-name":"create"}},"/v1/printers/{printer}/move":{"post":{"description":"Moves a printer to another location of your organization. Inside a\ncustomer the URL stays and the device needs no change. To another customer\nthe host of the URL changes, so the answer carries a new URL (shown only\nhere) and the old one stops working at once. Jobs waiting for the printer\nare never carried to the new place: without `cancel_pending_jobs` a printer\nwith jobs waiting is not moved. The allowed device stays with the printer,\nto another customer too.\n\n**Scope:** `printers:write`.","operationId":"move_printer","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovePrinter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterMoved"}}},"description":"The printer at its new location."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`name` must be 1 to 128 characters and hold no control characters.","param":"name","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"parent_not_active","message":"The customer or the location is suspended, so nothing can be added to it.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object. The `code` is one of `parent_not_active`, `pending_jobs`."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:write"]}],"summary":"Move a printer","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"move"}},"/v1/printers/{printer}/rotate-secret":{"post":{"description":"Gives the printer a new secret and returns its new URL, shown only in this\nanswer. The old URL stops working at once, so the new one must be typed into\nthe printer. Everything else is kept: the queue, the state, the counters and\nthe allowed device. This is also how to get the URL of a printer again. It\nalso takes the access token of a signed-in owner or developer instead of a\nkey, naming the organization in `Tillcast-Organization`; the answer is the\nsame, and a call by a person writes an audit entry that names the printer\nand never its address. A person is refused with `permission_denied` (a\nviewer), `organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization).\n\n**Scope:** `printers:write`.","operationId":"rotate_printer_secret","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrinterWithUrl"}}},"description":"The printer, with its new URL."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["printers:write"]},{"dashboard_token":[]}],"summary":"Rotate a printer's secret","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"rotate_secret"}},"/v1/printers/{printer}/test-print":{"post":{"description":"Queues one test page for a printer: a ReceiptLine document that is rendered\nwith the printer's own profile, so it has the width, the character set and\nthe commands of that printer (StarPRNT for a Star, ESC/POS for an Epson) and\nits rules and its table reach the edges of the paper. `page` chooses which\npage. `basic`, the default, shows a heading, the printer's name, the time in\nUTC, a table of three columns with lines, and one line in each type style\n(normal, bold, double width, double height, double width and height,\nunderlined, inverted), then a cut. `full` shows the same heading and then,\nin five sections, the type styles, three alignments and the table with a\ncell that wraps, the Tillcast mark with a ruler, a gray ramp and a density\nbar as wide as the paper, fifteen barcodes (CODE128, CODE39, CODE93, ITF,\nCodabar, EAN-13, EAN-8, UPC-A and UPC-E at the module widths that matter)\nand ten QR codes (the four error correction levels, cell sizes 3 to 8, a\nPolish sentence and a longer text): print it on a Star and on an Epson and\nhold the two papers side by side. Any other value of `page` is\n`400 parameter_invalid`, and so is a `page` that is given twice. The page is\nrendered the way a job is: the job lists the `profile` and the `transport`\nit was made with and its `warnings`, and a printer whose model needs a\nprofile that it does not have is refused with `422 profile_mismatch`. The\nEpson form has not been confirmed on a device yet, so a page that does not\nprint on an Epson is not necessarily a mistake in how the printer was set\nup. The printer prints it the next time it polls, and the page is offered\nfor one hour. It is a job of kind `test`: it is never billed and does not\ncount as a print of yours. A printer takes at most 5 test prints in a minute\nand 3 waiting at a time, of either page (`429 rate_limited`, with\n`Retry-After`), and its queue of 50 jobs applies as for any job. The two\nlimits stop a loop or a double click and are not a quota: calls made at the\nsame moment can pass them, up to that queue. Send an `Idempotency-Key` so\nthat a retry does not queue a second page; the same key with another `page`\nis `422 idempotency_key_reused`. The dashboard calls it with the access\ntoken of a signed-in owner or developer instead of a key, naming the\norganization in `Tillcast-Organization`; the answer is the same, and the\ncall writes an audit entry. A person is refused with `permission_denied`\n(a viewer), `organization_suspended`, `organization_required` (no header) or\n`resource_missing` (not a member of that organization). `{printer}` is the\nprinter's id; a MAC address is not accepted there.\n\n**Scope:** `jobs:write`.","operationId":"test_print","parameters":[{"description":"The printer's id.","example":"prn_01M44X7TQ0A9R2H5J8K1M4N7P0","in":"path","name":"printer","required":true,"schema":{"type":"string"}},{"description":"Which page to print: `basic`, the short page (the default), or `full`, the page with every barcode, every QR code and the images.","example":"full","in":"query","name":"page","required":false,"schema":{"$ref":"#/components/schemas/TestPage"}},{"description":"A string of 1 to 64 visible ASCII characters that identifies this request. A retry with the same key and the same `page` returns the first result (200, with `Idempotent-Replayed: true`) instead of queueing a second page. Keys are remembered for 24 hours.","example":"test-print-4711","in":"header","name":"Idempotency-Key","required":false,"schema":{"type":["string","null"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobObject"}}},"description":"A replay of an earlier request with the same Idempotency-Key.","headers":{"Idempotent-Replayed":{"description":"`true`: this is the result of an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}}},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobObject"}}},"description":"The test job that was queued."},"400":{"content":{"application/json":{"example":{"error":{"code":"parameter_invalid","message":"`page` is one of: basic, full.","param":"page","request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is malformed or a parameter is invalid."},"401":{"content":{"application/json":{"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. It may be wrong, revoked or expired.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"authentication_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The key (or token) is missing or not valid."},"403":{"content":{"application/json":{"example":{"error":{"code":"insufficient_scope","message":"This API key does not have the `customers:write` scope.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"permission_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Not allowed."},"404":{"content":{"application/json":{"example":{"error":{"code":"resource_missing","message":"No such object.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"There is no such object, or it is another organization's."},"409":{"content":{"application/json":{"example":{"error":{"code":"customer_suspended","message":"The customer is suspended, so no job can be queued for its printers.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"conflict_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A conflict with the state of an object. The `code` is one of `customer_suspended`, `location_suspended`."},"422":{"content":{"application/json":{"example":{"error":{"code":"profile_mismatch","message":"The printer reports a Star Line model, which does not understand the profile it is set to. Set the printer's `profile` to a Star Line profile, then send the job again.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The request is understood but refused. The `code` is one of `profile_mismatch`, `idempotency_key_reused`."},"429":{"content":{"application/json":{"example":{"error":{"code":"rate_limited","message":"A printer takes at most 5 test prints a minute. Try again in 17 seconds.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"rate_limit_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"The printer takes no test print now: it has taken as many test prints as it may, 5 in a minute and 3 waiting at a time (`rate_limited`), or its queue of 50 jobs is full (`queue_full`). `Retry-After` says when to try again.","headers":{"Retry-After":{"description":"The seconds to wait before the next try.","schema":{"type":"integer"}}}},"500":{"content":{"application/json":{"example":{"error":{"code":"internal_error","message":"Something went wrong on our side. Retry with the same Idempotency-Key, and quote the request id if it persists.","param":null,"request_id":"req_01M466JX008T2V5X7Z9C1E3G5H","type":"api_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"A problem on Tillcast's side."}},"security":[{"api_key":["jobs:write"]},{"dashboard_token":[]}],"summary":"Print a test page","tags":["Printers"],"x-fern-sdk-group-name":"printers","x-fern-sdk-method-name":"test_print"}}},"servers":[{"description":"Production","url":"https://api.tillcast.com"}],"tags":[{"description":"The organization an API key belongs to.","name":"Organization"},{"description":"The businesses whose printers you manage.","name":"Customers"},{"description":"The places of a customer, such as hotels.","name":"Locations"},{"description":"Receipt printers, and the URL each one connects with.","name":"Printers"},{"description":"What the printers print.","name":"Jobs"}],"x-headers":{"idempotency_key":"Idempotency-Key","idempotent_replayed":"Idempotent-Replayed","organization":"Tillcast-Organization","request_id":"Request-Id","step_up":"Tillcast-Step-Up","version":"Tillcast-Version","x_request_id":"X-Request-Id"},"x-tillcast-profiles":[{"connectable":true,"evidence":"device_verified","id":"star-starprnt-utf8-80mm","label":"Star StarPRNT, 80 mm, UTF-8","vendor":"star"},{"connectable":true,"evidence":"unverified","id":"star-starprnt-utf8-58mm","label":"Star StarPRNT, 58 mm, UTF-8","vendor":"star"},{"connectable":true,"evidence":"unverified","id":"star-starprnt-cp852-80mm","label":"Star StarPRNT, 80 mm, code page 852","vendor":"star"},{"connectable":true,"evidence":"unverified","id":"star-starprnt-cp852-58mm","label":"Star StarPRNT, 58 mm, code page 852","vendor":"star"},{"connectable":false,"evidence":"unverified","id":"star-line-cp852-80mm","label":"Star Line mode, 80 mm, code page 852","vendor":"star"},{"connectable":false,"evidence":"unverified","id":"star-line-cp852-104mm","label":"Star Line mode, 104 mm, code page 852","vendor":"star"},{"connectable":true,"evidence":"device_verified","id":"epson-80mm-48","label":"Epson ESC/POS, 80 mm, 48 columns","vendor":"epson"},{"connectable":true,"evidence":"unverified","id":"epson-80mm-42","label":"Epson ESC/POS, 80 mm, 42 columns","vendor":"epson"},{"connectable":true,"evidence":"unverified","id":"epson-58mm-35","label":"Epson ESC/POS, 58 mm, 35 columns","vendor":"epson"},{"connectable":true,"evidence":"unverified","id":"epson-58mm-30","label":"Epson ESC/POS, 58 mm, 30 columns","vendor":"epson"},{"connectable":true,"evidence":"unverified","id":"epson-legacy-80mm-42","label":"Epson ESC/POS, 80 mm, 42 columns, jobs up to 90 KB","vendor":"epson"},{"connectable":false,"evidence":"unverified","id":"sii-80mm","label":"Seiko Instruments ESC/POS, 80 mm","vendor":"seiko"},{"connectable":false,"evidence":"unverified","id":"citizen-80mm","label":"Citizen ESC/POS, 80 mm","vendor":"citizen"},{"connectable":false,"evidence":"unverified","id":"fujitsu-80mm","label":"Fujitsu ESC/POS, 80 mm","vendor":"fujitsu"},{"connectable":false,"evidence":"unverified","id":"generic-80mm","label":"Generic ESC/POS, 80 mm","vendor":"generic"},{"connectable":false,"evidence":"unverified","id":"epson-impact","label":"Epson impact dot matrix, font A","vendor":"epson"},{"connectable":false,"evidence":"unverified","id":"star-graphic","label":"Star Graphic raster, images only","vendor":"star"},{"connectable":false,"evidence":"unverified","id":"star-linematrix","label":"Star dot matrix, font 1","vendor":"star"},{"connectable":false,"evidence":"unverified","id":"star-line-emu-80mm","label":"Star Line mode emulation, 80 mm, code page 852","vendor":"star"}]}