Skip to content
1 viewer
View

Transport reference

7 pages, 49 routes, 48 connections and 0 CLI commands, generated from the declarations of Transport without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Dashboardtransport.workbenchdashboard/view/transport0in navigation
Dispatchtransport.dispatch.deskcustom/view/transport/dispatch60transport.workbenchin navigation
Printful setuptransport.printful_setupcustom/view/transport/printful-setup61in navigation
Couriertransport.courier.boardcustom/view/transport/courier62transport.workbenchin navigation
Deliverytransport.courier.job/view/transport/courier/{job_id}in navigation
Ship this ordertransport.ship/view/transport/ship/{shipment_id}in navigation
Shipping setuptransport.shipping.setup/view/transport/shipping/{shop_id}in navigation
7 rows

Connections · 48

Transport.CarrierList

List configured carriers.

Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • GET /transport/carriersHTTP route

Transport.CarrierUpsert

Create or update a carrier.

Transport.CarrierUpsert input
FieldTypeRequiredDescriptionAllowed
namestringoptionalCarrier display name.
1 row
Calls and output
  • 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.

Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/courier/boardHTTP route

Transport.CourierCancel

Take a job off the board before pickup. Shop owner only.

Transport.CourierCancel input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob to cancel.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/courier/cancelHTTP route

Transport.CourierClaim

Claim an open delivery. The caller becomes its courier.

Transport.CourierClaim input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob to claim.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/courier/claimHTTP route

Transport.CourierDeliver

Confirm delivery with the code the buyer holds. The job's courier only.

Transport.CourierDeliver input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob being delivered.
codestringrequiredSix-digit delivery code from the buyer.
2 rows
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/courier/deliverHTTP route

Transport.CourierGet

Read one job as the caller is allowed to see it.

Transport.CourierGet input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob to read.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/courier/getHTTP route

Transport.CourierMarkPaid

Record that the shop paid the courier. Moves no money. Shop owner only.

Transport.CourierMarkPaid input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredDelivered job.
1 row
Calls and output
  • 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.

Transport.CourierPickup input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob being picked up.
codestringrequiredSix-digit pickup code from the shop owner.
2 rows
Calls and output
  • 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.

Transport.CourierPost input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to post.
feestringoptionalWhat the shop will pay the courier, settled outside CRE8.
notestringoptionalNote for the courier.
3 rows
Calls and output
  • 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.

Transport.CourierRelease input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob to release.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/courier/releaseHTTP route

Transport.CourierUnlock

Reopen a job that locked after too many wrong codes. Shop owner only.

Transport.CourierUnlock input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredJob to unlock.
1 row
Calls and output
  • 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.

Transport.LabelBuy input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to buy a label for.
rate_idstringrequiredA rate from the shipment's stored quotes.
2 rows
Calls and output
  • 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.

Transport.LabelOnboard input
FieldTypeRequiredDescriptionAllowed
shop_idstringrequiredShop the key belongs to.
api_keystringoptionalThe Shippo API token.
disconnectbooleanoptionalRemove the stored key instead.
3 rows
Calls and output
  • 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.

Transport.LabelPrint input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment whose label to print.
printer_uristringoptionalThe printer, as ipp:// or ipps://.
simulatebooleanoptionalPrint to Device's simulator instead of a printer.
copiesintegeroptionalCopies to print, 1 to 10.
4 rows
Calls and output
  • 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.

Transport.LabelRates input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to quote.
length_instringoptionalBox length in inches, over the shop's usual box.
width_instringoptionalBox width in inches.
height_instringoptionalBox height in inches.
weight_ozstringoptionalPacked weight in ounces.
5 rows
Calls and output
  • 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.

Transport.LabelState input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to read.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/label/stateHTTP route

Transport.LabelTrack

Check the carrier for tracking news and move the shipment if it advanced.

Transport.LabelTrack input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to check.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/label/trackHTTP route

Transport.LabelVoid

Ask the provider to refund a label. Shop owner only.

Transport.LabelVoid input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment whose label to void.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/label/voidHTTP route

Transport.LocalCatalogList

List the operator-authored local catalog and the local shipping rate table.

Calls and output
  • 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.

Transport.LocalCatalogUpsert input
FieldTypeRequiredDescriptionAllowed
skustringoptionalLocal product sku — the primary key and the first half of every local variant key.
catalog_itemobjectoptionalWhole product record, when authoring more than the basics.
kindstringoptionalPrint method.dtg, dtf, heat_press, embroidery, sticker, 3d_print, other
3 rows
Calls and output
  • 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.

Transport.LocalShippingUpsert input
FieldTypeRequiredDescriptionAllowed
shipping_tableobjectoptionalWhole rate table: mode, currency, flat rate, weight tiers.
modestringoptionalRate mode.flat, weight_tiers, pickup
2 rows
Calls and output
  • 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.

Transport.PrintRun input
FieldTypeRequiredDescriptionAllowed
supplier_providerrequired
referencerequired
recipientrequired
linesrequired
submitoptional
5 rows
Calls and output
  • 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.

Calls and output
  • 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.

Transport.ProductResearch input
FieldTypeRequiredDescriptionAllowed
providerstringoptionalSupplier catalog to search. Default cj.
querystringoptionalSearch words. Required unless category is given.
categorystringoptionalSearched as words when query is empty.
target_retail_minorintegeroptionalPlanned retail price in minor units, for the margin score.
max_candidatesintegeroptionalCandidates returned, 1-25. Default 10.
trend_geostringoptionalTwo-letter country for the trends feed and freight quotes. Default US.
include_trendsbooleanoptionalfalse skips the Google Trends fetch.
include_factsbooleanoptionalAttach a product-landing facts skeleton to every candidate.
8 rows
Calls and output
  • 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.

Transport.ProductionAdvance input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredProduction job to advance.
statusstringrequiredNext job state.queued, printing, qc, packed, shipped
tracking_numberstringoptionalRequired when shipping, unless this is a counter pickup.
carrier_namestringoptionalBuyer-facing carrier for a shipped job.
pickupbooleanoptionalCounter handoff: ship with no tracking number.
machine_receiptobjectoptionalWhat 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.
6 rows
Calls and output
  • 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.

Transport.ProductionClaim input
FieldTypeRequiredDescriptionAllowed
station_idstringrequiredStation doing the claiming.
operator_peer_idstringoptionalOperator taking the job; defaults to the station's operator.
2 rows
Calls and output
  • 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.

Transport.ProductionFail input
FieldTypeRequiredDescriptionAllowed
job_idstringrequiredProduction job that failed.
reasonstringrequiredWhy it failed — recorded on the job verbatim.
requeuebooleanoptionalPut the job back at the head of the queue.
overflowbooleanoptionalReturn the overflow directive for the caller to act on.
machine_receiptobjectoptionalWhat the machine reported when it failed, same shape as on ProductionAdvance.
5 rows
Calls and output
  • 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.

Transport.ProductionQueue input
FieldTypeRequiredDescriptionAllowed
station_idstringoptionalOnly jobs held by this station.
statusstringoptionalOnly jobs in this state.
2 rows
Calls and output
  • 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.

Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • GET /transport/providersHTTP route

Transport.QuotePreview

Quote supplier shipping for a prospective order. Reads only -- nothing is created.

Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/quoteHTTP route

Transport.ShipmentAdvance

Advance a shipment to its next lifecycle state.

Transport.ShipmentAdvance input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to advance.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/shipment/advanceHTTP route

Transport.ShipmentCreate

Create a shipment record for an order.

Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/shipmentHTTP route

Transport.ShipmentGet

Read one shipment and its tracking history.

Transport.ShipmentGet input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to read.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • GET /transport/shipmentHTTP route

Transport.ShipmentList

List shipments.

Calls and output
  • 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.

Transport.ShippingSetup input
FieldTypeRequiredDescriptionAllowed
shop_idstringrequiredShop to set up.
namestringrequiredSender name printed on the label.
companystringoptionalCompany printed on the label.
street1stringrequiredStreet address.
street2stringoptionalUnit, suite or floor.
citystringrequiredCity.
statestringrequiredState or region.
zipstringrequiredPostal code.
countrystringrequiredTwo-letter country code.
phonestringoptionalSender phone, which some carriers require.
emailstringoptionalSender email.
length_instringoptionalUsual box length in inches.
width_instringoptionalUsual box width in inches.
height_instringoptionalUsual box height in inches.
weight_ozstringoptionalUsual packed weight in ounces.
label_formatstringoptionalLabel file format.
16 rows
Calls and output
  • 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.

Transport.ShippingState input
FieldTypeRequiredDescriptionAllowed
shop_idstringrequiredShop to read.
1 row
Calls and output
  • 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.

Transport.StationArm input
FieldTypeRequiredDescriptionAllowed
station_idstringrequiredStation being armed.
armedbooleanoptionalfalse withdraws an arm; omitted or true arms.
2 rows
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/station/armHTTP route

Transport.StationList

List production stations with their current work-in-progress and free capacity.

Transport.StationList input
FieldTypeRequiredDescriptionAllowed
kindstringoptionalFilter by station kind.
statusstringoptionalFilter by station status.
2 rows
Calls and output
  • 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.

Transport.StationUpsert input
FieldTypeRequiredDescriptionAllowed
station_idstringoptionalStation id; generated when omitted.
kindstringoptionalWhat the station can make.dtg, dtf, heat_press, embroidery, sticker, 3d_print, other
statusstringoptionalOnly an online station is routed work.online, offline, maintenance
device_idstringoptionalcre8-app-device peripheral this station drives, by reference.
chapter_slugstringoptionalChapter hosting the station.
vehicle_idstringoptionalVehicle hosting the station — a van is a station host too.
capacityintegeroptionalConcurrent jobs this station will hold.
requires_armingbooleanoptionalClaim only after a person arms the station, one job per arm. Always on for 3d_print.
8 rows
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/stationHTTP route

Transport.Status

Transport app health, supplier wiring and counters.

Calls and output
  • 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.

Transport.SupplierCancel input
FieldTypeRequiredDescriptionAllowed
supplier_providerstringrequiredSupplier holding the order.printful, gelato, printify, fake, local
shop_order_idstringoptionalOur order id.
external_order_idstringoptionalThe supplier's id for the same order.
3 rows
Calls and output
  • 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.

Transport.SupplierConfirm input
FieldTypeRequiredDescriptionAllowed
supplier_providerstringrequiredSupplier to confirm with.printful, gelato, printify, fake, local
shop_order_idstringoptionalOur order id.
external_order_idstringoptionalThe supplier's id for the same order.
3 rows
Calls and output
  • 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.

Transport.SupplierOnboard input
FieldTypeRequiredDescriptionAllowed
supplier_providerstringrequiredSupplier being onboarded.printful, gelato, printify, fake, local
credential_valuestringrequiredSupplier API key. A `mock_` prefix gives offline catalog and quote behaviour.
store_idstringoptionalSupplier store id. Required by Gelato and Printify (the numeric Printify shop id); positive numeric ID for Printful store selection and connection checks.
webhook_secretstringoptionalShared token used to gate inbound supplier webhooks.
4 rows
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/supplier/onboardHTTP route

Transport.SupplierWebhook

Supplier callback carrying fulfillment state. Verified before it is applied; not agent-facing.

Transport.SupplierWebhook input
FieldTypeRequiredDescriptionAllowed
supplier_providerstringrequiredSupplier that sent the callback.
raw_bodystringrequiredVerbatim supplier request body, for signature checks.
signaturestringoptionalSupplier signature header, when the vendor signs.
callback_tokenstringoptionalShared token, for vendors with unsigned webhooks.
4 rows
Calls and output
  • 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.

Transport.SupplierWebhookRegister input
FieldTypeRequiredDescriptionAllowed
supplier_providerstringrequiredSupplier to register with.
webhook_urlstringrequiredPublicly reachable callback URL.
2 rows
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/supplier/webhook/registerHTTP route

Transport.Track

Look up carrier tracking for a tracking number.

Transport.Track input
FieldTypeRequiredDescriptionAllowed
tracking_numberstringrequiredCarrier tracking number.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • GET /transport/trackHTTP route

Transport.TrackingAppend

Append a tracking event to a shipment. Notifies the buyer on shipped/delivered transitions.

Transport.TrackingAppend input
FieldTypeRequiredDescriptionAllowed
shipment_idstringrequiredShipment to append to.
1 row
Calls and output
  • Output keytransport.result
  • Classificationunclassified
  • POST /transport/trackingHTTP route

Other routes · 1

Routes without a connection
MethodPathKind
GET/view/transport/printful-setupraw handler
1 row

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authoritysql_compat
  • Preferred truthsql_compat
  • App ownerTransport
  • SQL projectionlegacy_truth_until_hyper_model · DDL declarations: 25
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
  • None declared.
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • warningApp still declares SQL DDL without a declared Hyper graph model. (sql_without_hyper_model)
SQL tables
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
11 rows

Capabilities and dependencies

Depends on
  • Shop
  • Location

Structure review · 1

Warnings · 1
  • Transport · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)