Release path
0.1.0Published Mar 3, 2026@pasar6987/shopify-orders
Shopify orders, refunds, abandonment, and fulfillment semantic model
Published package · Latest published 0.1.0 Mar 3, 2026 · 3 datasets / 5 measures in the latest review · Updated Apr 28, 2026
Publisher
@pasar6987Published Mar 3, 2026Structure snapshot
3 datasets5 measures · 12 dimensionsReference context
Secondary package facts stay compact
- Updated
- Apr 28, 2026
- Visibility
- Public hub listing
- License
- Apache-2.0
- Created
- Mar 3, 2026
Reference facts
Secondary package facts after the usage path is clear
Licensing, categorization, ownership, and linked metadata stay below the runnable path so the page reads in the right order.
Format
Upstream
Repository
Domain
Source
Owner
@pasar6987Organization
License
Visibility
Publisher
Latest published version
Tags
Schema preview
SDK handoff
Use this package in code and AI
After structure review, move straight into typed reads with load() or compact LLM context with to_prompt().
Python SDK
Python example for @pasar6987/shopify-orders
This example uses the current package ref and, when preview data is available, fills in real dataset names from the published summary.
import rawctx
model = rawctx.load("@pasar6987/shopify-orders")
prompt = rawctx.to_prompt(
"@pasar6987/shopify-orders",
datasets=["orders", "fulfillments"],
max_tokens=2000,
)
print(model.datasets) # ["orders", "fulfillments", "abandonedCheckouts"]
print(model.measures) # [Measure(name="gmv", ...), Measure(name="aov", ...), Measure(name="refundRate", ...)]
print(model.dimensions) # [Dimension(name="createdAt", ...), Dimension(name="displayFinancialStatus", ...), Dimension(name="displayFulfillmentStatus", ...)]
print(model.relationships) # [Relationship(name='...', ...)]
print(prompt)README
Package narrative and examples
Use documentation after the package clears provenance, ownership, and runnable-path checks.
@pasar6987/shopify-orders
Shopify semantic package for order, refund, abandonment, and fulfillment analytics.
Included datasets
ordersfromshopify.Orderfulfillmentsfromshopify.FulfillmentabandonedCheckoutsfromshopify.AbandonedCheckout
Metrics
gmv:SUM(orders.currentTotalPriceAmount)aov:SUM(orders.currentTotalPriceAmount) / NULLIF(COUNT(DISTINCT orders.id), 0)refundRate:SUM(orders.totalRefundedAmount) / NULLIF(SUM(orders.currentTotalPriceAmount), 0)cartAbandonmentRate:SUM(CASE WHEN abandonedCheckouts.completedAt IS NULL THEN 1 ELSE 0 END) / NULLIF(COUNT(*), 0)fulfillmentTimeHours: average order-to-delivery hours using delivered fulfillments only
Key dimensions
salesChannel(orders.sourceName)orderStatus(orders.displayFulfillmentStatus)discountCode(orders.discountCode)location(fulfillments.locationId)
Caveats
cartAbandonmentRaterequiresmanage_abandoned_checkoutsAPI access.- Without
read_all_orders, order history may be limited by Shopify default window. - Money values are modeled as shop currency amounts. Multi-currency normalization is out of scope.
- Fulfillment records with
deliveredAt IS NULLare excluded fromfulfillmentTimeHours.
Structure review
Inspect package structure after the usage path is clear
Use the structural review when you need the package footprint, field counts, and model paths before a deeper explorer pass.
Topology
Semantic graph
Use the graph last, once provenance, documentation, and the runnable path are already clear.
Semantic Graph
Topology counts appear after the graph loads.
Loading graph
Semantic topology is still loadingCounts and graph nodes appear after the latest published summary has been fetched.
