Transport reference
7 pages, 49 routes, 48 connections and 0 CLI commands, generated from the declarations of Transport without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 7
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Dashboard | transport.workbench | dashboard | /view/transport | 0 | in navigation | ||
| Dispatch | transport.dispatch.desk | custom | /view/transport/dispatch | 60 | transport.workbench | in navigation | |
| Printful setup | transport.printful_setup | custom | /view/transport/printful-setup | 61 | in navigation | ||
| Courier | transport.courier.board | custom | /view/transport/courier | 62 | transport.workbench | in navigation | |
| Delivery | transport.courier.job | /view/transport/courier/{job_id} | in navigation | ||||
| Ship this order | transport.ship | /view/transport/ship/{shipment_id} | in navigation | ||||
| Shipping setup | transport.shipping.setup | /view/transport/shipping/{shop_id} | in navigation |
Connections · 48
Transport.CarrierList
List configured carriers.
- Output keytransport.result
- Classificationunclassified
- GET /transport/carriersHTTP route
Transport.CarrierUpsert
Create or update a carrier.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | string | optional | Carrier display name. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/carrierHTTP route
Transport.CourierBoard
Read the open jobs and the caller's own. Addresses show area only until a job is claimed.
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/boardHTTP route
Transport.CourierCancel
Take a job off the board before pickup. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job to cancel. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/cancelHTTP route
Transport.CourierClaim
Claim an open delivery. The caller becomes its courier.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job to claim. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/claimHTTP route
Transport.CourierDeliver
Confirm delivery with the code the buyer holds. The job's courier only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job being delivered. | |
| code | string | required | Six-digit delivery code from the buyer. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/deliverHTTP route
Transport.CourierGet
Read one job as the caller is allowed to see it.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job to read. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/getHTTP route
Transport.CourierMarkPaid
Record that the shop paid the courier. Moves no money. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Delivered job. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/mark-paidHTTP route
Transport.CourierPickup
Confirm pickup with the code the shop owner holds. The job's courier only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job being picked up. | |
| code | string | required | Six-digit pickup code from the shop owner. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/pickupHTTP route
Transport.CourierPost
Post a shipment to the CRE8 Transport board so a local courier can claim it. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to post. | |
| fee | string | optional | What the shop will pay the courier, settled outside CRE8. | |
| note | string | optional | Note for the courier. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/postHTTP route
Transport.CourierRelease
Hand a claimed job back to the board before pickup. The job's courier only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job to release. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/releaseHTTP route
Transport.CourierUnlock
Reopen a job that locked after too many wrong codes. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Job to unlock. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/courier/unlockHTTP route
Transport.LabelBuy
Buy the label for a quoted rate. This spends real money on the shop's carrier account unless the key is a test key. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to buy a label for. | |
| rate_id | string | required | A rate from the shipment's stored quotes. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/buyHTTP route
Transport.LabelOnboard
Connect a shop's own Shippo key, or disconnect it. A `shippo_test_` key buys practice labels; any other key buys real postage on the shop's account. The key is never returned. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shop_id | string | required | Shop the key belongs to. | |
| api_key | string | optional | The Shippo API token. | |
| disconnect | boolean | optional | Remove the stored key instead. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/onboardHTTP route
Transport.LabelPrint
Print a shipment's bought label on this node's printer through the Device app. Needs a PNG label. A practice label prints with its sample watermark and is not postage. Moves nothing and tells no one. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment whose label to print. | |
| printer_uri | string | optional | The printer, as ipp:// or ipps://. | |
| simulate | boolean | optional | Print to Device's simulator instead of a printer. | |
| copies | integer | optional | Copies to print, 1 to 10. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/printHTTP route
Transport.LabelRates
Quote postage for a shipment. Spends nothing; the quotes are stored for a short time.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to quote. | |
| length_in | string | optional | Box length in inches, over the shop's usual box. | |
| width_in | string | optional | Box width in inches. | |
| height_in | string | optional | Box height in inches. | |
| weight_oz | string | optional | Packed weight in ounces. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/ratesHTTP route
Transport.LabelState
Read what can be done to get one shipment moving: stored quotes, its label and its courier job.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to read. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/stateHTTP route
Transport.LabelTrack
Check the carrier for tracking news and move the shipment if it advanced.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to check. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/trackHTTP route
Transport.LabelVoid
Ask the provider to refund a label. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment whose label to void. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/label/voidHTTP route
Transport.LocalCatalogList
List the operator-authored local catalog and the local shipping rate table.
- Output keytransport.result
- Classificationunclassified
- GET /transport/local/catalogHTTP route
Transport.LocalCatalogUpsert
Create or update one product in the operator-authored `local` catalog: blank cost, print method, which station kinds can make it, production minutes and the print-area spec. Station operators only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| sku | string | optional | Local product sku — the primary key and the first half of every local variant key. | |
| catalog_item | object | optional | Whole product record, when authoring more than the basics. | |
| kind | string | optional | Print method. | dtg, dtf, heat_press, embroidery, sticker, 3d_print, other |
- Output keytransport.result
- Classificationunclassified
- POST /transport/local/catalogHTTP route
Transport.LocalShippingUpsert
Set what the operator charges to ship locally made goods: a flat rate, by-weight tiers, or free local pickup. No carrier API is involved. Station operators only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipping_table | object | optional | Whole rate table: mode, currency, flat rate, weight tiers. | |
| mode | string | optional | Rate mode. | flat, weight_tiers, pickup |
- Output keytransport.result
- Classificationunclassified
- POST /transport/local/shippingHTTP route
Transport.PrintRun
Operator-only quote, or with submit a DRAFT order, at a print supplier for files that belong to no Shop order. Never converts a draft to production: that spends money and stays the operator's act at the supplier.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| supplier_provider | required | |||
| reference | required | |||
| recipient | required | |||
| lines | required | |||
| submit | optional |
- Output keytransport.result
- Classificationunclassified
- POST /transport/print-runHTTP route
Transport.PrintfulCheck
Operator-only read of the configured Printful store and catalog. Does not create orders or establish production readiness.
- Output keytransport.result
- Classificationunclassified
- POST /transport/printful/checkHTTP route
Transport.ProductResearch
Rank a supplier's catalog as candidates for a one-product landing page. Reads only -- nothing is listed, ordered or stored. Each candidate lists its score components (margin vs a target retail price, transit, the supplier's popularity signal, Google Trends match) with the inputs they read; a missing signal scores 0.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| provider | string | optional | Supplier catalog to search. Default cj. | |
| query | string | optional | Search words. Required unless category is given. | |
| category | string | optional | Searched as words when query is empty. | |
| target_retail_minor | integer | optional | Planned retail price in minor units, for the margin score. | |
| max_candidates | integer | optional | Candidates returned, 1-25. Default 10. | |
| trend_geo | string | optional | Two-letter country for the trends feed and freight quotes. Default US. | |
| include_trends | boolean | optional | false skips the Google Trends fetch. | |
| include_facts | boolean | optional | Attach a product-landing facts skeleton to every candidate. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/researchHTTP route
Transport.ProductionAdvance
Move a production job to its next state (queued/printing/qc/packed/shipped; claiming goes through Transport.ProductionClaim). Advancing to `shipped` needs a tracking number and drives the buyer's order and notification exactly as a supplier shipped-webhook does. An optional machine_receipt is recorded on the transition's history entry. Station operator or shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Production job to advance. | |
| status | string | required | Next job state. | queued, printing, qc, packed, shipped |
| tracking_number | string | optional | Required when shipping, unless this is a counter pickup. | |
| carrier_name | string | optional | Buyer-facing carrier for a shipped job. | |
| pickup | boolean | optional | Counter handoff: ship with no tracking number. | |
| machine_receipt | object | optional | What the machine reported: an object with `kind` (fab_gcode | ipp_print | manual | hotfolder) plus the reporter's own fields, at most 16 KiB. Stored verbatim on this transition. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/production/advanceHTTP route
Transport.ProductionClaim
Claim the next compatible job for a station (deterministic FIFO over station-kind compatibility). A station that requires arming claims only while armed, and the claim consumes the arm. Returns the device hand-off payload. Station operator or shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| station_id | string | required | Station doing the claiming. | |
| operator_peer_id | string | optional | Operator taking the job; defaults to the station's operator. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/production/claimHTTP route
Transport.ProductionFail
Record that a job failed, with a reason. Optionally re-queue it, or ask for the overflow directive naming the provider the shop nominated — Transport never re-routes production on its own. Station operator or shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| job_id | string | required | Production job that failed. | |
| reason | string | required | Why it failed — recorded on the job verbatim. | |
| requeue | boolean | optional | Put the job back at the head of the queue. | |
| overflow | boolean | optional | Return the overflow directive for the caller to act on. | |
| machine_receipt | object | optional | What the machine reported when it failed, same shape as on ProductionAdvance. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/production/failHTTP route
Transport.ProductionQueue
Read the local production queue, optionally narrowed to one station or one job status.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| station_id | string | optional | Only jobs held by this station. | |
| status | string | optional | Only jobs in this state. |
- Output keytransport.result
- Classificationunclassified
- GET /transport/production/queueHTTP route
Transport.Providers
The suppliers Transport can order from and list catalogs of, and whether each has a key. Reads only.
- Output keytransport.result
- Classificationunclassified
- GET /transport/providersHTTP route
Transport.QuotePreview
Quote supplier shipping for a prospective order. Reads only -- nothing is created.
- Output keytransport.result
- Classificationunclassified
- POST /transport/quoteHTTP route
Transport.ShipmentAdvance
Advance a shipment to its next lifecycle state.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to advance. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/shipment/advanceHTTP route
Transport.ShipmentCreate
Create a shipment record for an order.
- Output keytransport.result
- Classificationunclassified
- POST /transport/shipmentHTTP route
Transport.ShipmentGet
Read one shipment and its tracking history.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to read. |
- Output keytransport.result
- Classificationunclassified
- GET /transport/shipmentHTTP route
Transport.ShipmentList
List shipments.
- Output keytransport.result
- Classificationunclassified
- GET /transport/shipmentsHTTP route
Transport.ShippingSetup
Save the address a shop ships from, its usual box, and its label format. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shop_id | string | required | Shop to set up. | |
| name | string | required | Sender name printed on the label. | |
| company | string | optional | Company printed on the label. | |
| street1 | string | required | Street address. | |
| street2 | string | optional | Unit, suite or floor. | |
| city | string | required | City. | |
| state | string | required | State or region. | |
| zip | string | required | Postal code. | |
| country | string | required | Two-letter country code. | |
| phone | string | optional | Sender phone, which some carriers require. | |
| string | optional | Sender email. | ||
| length_in | string | optional | Usual box length in inches. | |
| width_in | string | optional | Usual box width in inches. | |
| height_in | string | optional | Usual box height in inches. | |
| weight_oz | string | optional | Usual packed weight in ounces. | |
| label_format | string | optional | Label file format. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/shipping/setupHTTP route
Transport.ShippingState
Read a shop's ship-from setup and whether a label account is connected. Never returns the key.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shop_id | string | required | Shop to read. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/shipping/stateHTTP route
Transport.StationArm
A PERSON arms a station that requires arming (every 3D printer) for exactly one more job, after clearing the machine — for a 3D printer, taking the last print off the bed. The next claim consumes the arm. Refused while a job is still claimed or printing on the station. Not for an agent to call on its own: the arm is a human's statement about the physical machine. Station operator only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| station_id | string | required | Station being armed. | |
| armed | boolean | optional | false withdraws an arm; omitted or true arms. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/station/armHTTP route
Transport.StationList
List production stations with their current work-in-progress and free capacity.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| kind | string | optional | Filter by station kind. | |
| status | string | optional | Filter by station status. |
- Output keytransport.result
- Classificationunclassified
- GET /transport/stationsHTTP route
Transport.StationUpsert
Register or update a production station — a DTG printer at a chapter, a heat press in a van. The first write records the calling peer as the station's operator; later writes require that operator.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| station_id | string | optional | Station id; generated when omitted. | |
| kind | string | optional | What the station can make. | dtg, dtf, heat_press, embroidery, sticker, 3d_print, other |
| status | string | optional | Only an online station is routed work. | online, offline, maintenance |
| device_id | string | optional | cre8-app-device peripheral this station drives, by reference. | |
| chapter_slug | string | optional | Chapter hosting the station. | |
| vehicle_id | string | optional | Vehicle hosting the station — a van is a station host too. | |
| capacity | integer | optional | Concurrent jobs this station will hold. | |
| requires_arming | boolean | optional | Claim only after a person arms the station, one job per arm. Always on for 3d_print. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/stationHTTP route
Transport.Status
Transport app health, supplier wiring and counters.
- Output keytransport.result
- Classificationunclassified
- GET /transport/statusHTTP route
Transport.SupplierCancel
Cancel a supplier order before it ships. MOVES VALUE with a third party. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| supplier_provider | string | required | Supplier holding the order. | printful, gelato, printify, fake, local |
| shop_order_id | string | optional | Our order id. | |
| external_order_id | string | optional | The supplier's id for the same order. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/supplier/cancelHTTP route
Transport.SupplierConfirm
Confirm a draft supplier order so the vendor actually produces and ships it. MOVES VALUE with a third party and is not reversible by us. Shop owner only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| supplier_provider | string | required | Supplier to confirm with. | printful, gelato, printify, fake, local |
| shop_order_id | string | optional | Our order id. | |
| external_order_id | string | optional | The supplier's id for the same order. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/supplier/confirmHTTP route
Transport.SupplierOnboard
Store supplier credentials in the credential vault. HANDLES SECRETS -- the API key and webhook secret are written verbatim. Operator action.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| supplier_provider | string | required | Supplier being onboarded. | printful, gelato, printify, fake, local |
| credential_value | string | required | Supplier API key. A `mock_` prefix gives offline catalog and quote behaviour. | |
| store_id | string | optional | Supplier store id. Required by Gelato and Printify (the numeric Printify shop id); positive numeric ID for Printful store selection and connection checks. | |
| webhook_secret | string | optional | Shared token used to gate inbound supplier webhooks. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/supplier/onboardHTTP route
Transport.SupplierWebhook
Supplier callback carrying fulfillment state. Verified before it is applied; not agent-facing.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| supplier_provider | string | required | Supplier that sent the callback. | |
| raw_body | string | required | Verbatim supplier request body, for signature checks. | |
| signature | string | optional | Supplier signature header, when the vendor signs. | |
| callback_token | string | optional | Shared token, for vendors with unsigned webhooks. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/supplier/webhookHTTP route
Transport.SupplierWebhookRegister
Register this runtime's webhook URL with a supplier. Gelato has no such API -- dashboard only.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| supplier_provider | string | required | Supplier to register with. | |
| webhook_url | string | required | Publicly reachable callback URL. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/supplier/webhook/registerHTTP route
Transport.Track
Look up carrier tracking for a tracking number.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| tracking_number | string | required | Carrier tracking number. |
- Output keytransport.result
- Classificationunclassified
- GET /transport/trackHTTP route
Transport.TrackingAppend
Append a tracking event to a shipment. Notifies the buyer on shipped/delivered transitions.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shipment_id | string | required | Shipment to append to. |
- Output keytransport.result
- Classificationunclassified
- POST /transport/trackingHTTP route
Other routes · 1
| Method | Path | Kind |
|---|---|---|
| GET | /view/transport/printful-setup | raw handler |
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authoritysql_compat
- Preferred truthsql_compat
- App ownerTransport
- SQL projectionlegacy_truth_until_hyper_model · DDL declarations: 25
- None declared.
- None declared.
- None declared.
- None declared.
- None declared.
- warningApp still declares SQL DDL without a declared Hyper graph model. (sql_without_hyper_model)
| Table |
|---|
| transport_carrier_runtime |
| transport_shipment_runtime |
| transport_tracking_event_runtime |
| transport_local_catalog_runtime |
| transport_station_runtime |
| transport_production_job_runtime |
| transport_local_setting_runtime |
| transport_shop_shipping_runtime |
| transport_label_quote_runtime |
| transport_label_runtime |
| transport_courier_job_runtime |
Capabilities and dependencies
- Shop
- Location
Structure review · 1
- Transport · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)