Opens in a new tab
Deliver toTennessee
0 0 0Cart
Get a Project Quote

Athenian Pricing & Inventory Control (APIC)

v1.0.0 October 7, 2026
Operational inventory, supplier, and production-cost intelligence for WooCommerce.

Overview

Product overview

Multi-location warehouses, bins, stock snapshots, reservations, and move history.
Supplier pricing, cost history, receiving, replenishment, and vendor inventory controls.
Material, machine, recipe, waste, and overhead-aware product costing.
WooCommerce-native HPOS-compatible operational data and admin workflows.

Use cases

  • Warehouse inventory control
  • Supplier cost visibility
  • Production-aware product costing
  • Replenishment and receiving operations

Developer

Fleet dependency boundary

APIC 1.0.0 is installed but inactive on Athenian Spa. Its main file matches the reviewed local source at SHA-256 28284b16309af172ad7cc72f224ad70e51176b82577c42037f52170192d64dba. The active Athenian Data Intelligence deployment is a separate 0.1.0 runtime that reads _apic_cost_total as a fallback cost source; the current site contains zero rows for that key. Keep APIC installed and inactive until the owner confirms whether this dormant metadata contract is retired or must remain available for future cost capture.

Developer starting point

This baseline was generated from the local athenian-pricing-inventory-control source folder and the linked product record. The source folder is the reviewed implementation boundary for this pass; runtime behavior remains deployment-dependent; the GitHub repository identity for this documentation baseline is verified.

Technical Architecture

Bootstrap Structure

The main plugin file defines APIC constants, legacy compatibility constants, HPOS compatibility, activation/deactivation hooks, and the boot sequence for three merged layers:

  1. Inventory module — warehouses, bins, stock, moves, reservations, intake, replenishment, vendor inventory, REST, WP-CLI.
  2. PSCT module — supplier cost rows, product/variation cost metadata, cost log table, cost reports REST endpoint.
  3. APIC wrapper module — materials, machines, recipes, cost engine, WooCommerce cost snapshots, dropship PO signals.

The plugin intentionally keeps legacy constants such as AB_SSM_, AB_INV_, and AB_PSCT_* so merged modules can continue working without heavy refactors.

Namespaces

Major namespaces include:

  • Athenian\Inventory
  • Athenian\Inventory\Admin
  • Athenian\Inventory\Admin\Pages
  • Athenian\Inventory\Models
  • Athenian\Inventory\REST
  • Athenian\Inventory\Services
  • Athenian\Inventory\Woo
  • Athenian\Inventory\WPCLI
  • Athenian\PSCT
  • Athenian\PSCT\Admin
  • Athenian\PSCT\DB
  • Athenian\PSCT\REST
  • Athenian\PSCT\Vendors
  • Athenian\APIC
  • Athenian\APIC\Admin\Pages
  • Athenian\APIC\Integrations
  • Athenian\APIC\Schema
  • Athenian\APIC\Services

Main Boot Sequence

On plugins_loaded priority 4, the plugin boots:

\Athenian\Inventory\Plugin::instance()->boot();
\Athenian\PSCT\Plugin::instance()->boot();
\Athenian\APIC\Plugin::instance()->boot();

This creates a layered architecture where inventory functionality, supplier cost tracking, and APIC production-costing primitives can cooperate while remaining separated by namespace.

---

Install

Source and dependencies
  • Reviewed source folder: athenian-pricing-inventory-control
  • Plugin version reviewed: 1.0.0
  • Local source inventory: 53 files (vendor, temporary, and test fixtures excluded).
  • WordPress 6.2 or newer.
  • PHP 8.0 or newer.
  • WooCommerce 7.1 or newer; HPOS compatibility is declared.
  • Optional vendor, purchase-order, and fulfillment modules extend inventory workflows.
  • Athenian Spa fleet observation: installed, inactive, version 1.0.0.
  • Athenian Spa main-file SHA-256: 28284b16309af172ad7cc72f224ad70e51176b82577c42037f52170192d64dba

Configuration

Implementation areas
  • Technical Architecture — see the linked technical reference excerpt.
  • Data Model and Persistence — see the linked technical reference excerpt.
  • Inventory Control Workflow — see the linked technical reference excerpt.
  • Supplier and Cost Tracking — see the linked technical reference excerpt.
  • Replenishment and Receiving — see the linked technical reference excerpt.
  • Integration Points — see the linked technical reference excerpt.
  • Developer Notes — see the linked technical reference excerpt.

Usage

Detected extension surface
  • Shortcodes detected in local PHP source: 1
  • Static action/filter hooks detected in local PHP source: 38
  • REST route registrations detected in local PHP source: 14

Shortcodes

Detected shortcodes
  • abssm_vendor_inventory — includes/Integrations/Dropship.php

REST Endpoints

Detected REST routes
  • /allocate — includes/REST/Controller.php
  • /bins — includes/REST/Controller.php
  • /moves/(?P<id>\d+)/done — includes/REST/Controller.php
  • /moves/(?P<id>\d+) — includes/REST/Controller.php
  • /moves — includes/REST/Controller.php
  • /smart-intake/commit — includes/REST/Controller.php
  • /smart-intake/create-product — includes/REST/Controller.php
  • /smart-intake/enrich — includes/REST/Controller.php
  • /smart-intake/lookup — includes/REST/Controller.php
  • /smart-intake/search — includes/REST/Controller.php
  • /stock — includes/REST/Controller.php
  • /vendor/stock/update — includes/Integrations/Dropship.php
  • /warehouses — includes/REST/Controller.php
  • ab-psct/v1 — includes/psct/includes/REST/Reports_Controller.php

Hooks

Detected hooks
  • abinv_smart_intake_create_product — includes/REST/Controller.php
  • abinv_smart_intake_enrich — includes/REST/Controller.php
  • ab_apic_cost_signals — includes/APIC/Integrations/Woo.php
  • ab_apic_open_pos_count — includes/APIC/Integrations/Dropship_PO.php
  • ab_apic_price_floor — includes/APIC/Integrations/Woo.php
  • ab_psct/vendors — includes/psct/includes/Vendors/VendorProvider.php
  • admin_enqueue_scripts — includes/Admin/Menu.php
  • admin_enqueue_scripts — includes/psct/includes/Admin/Admin.php
  • admin_enqueue_scripts — includes/Woo/ProductMeta.php
  • admin_menu — includes/Admin/Menu.php
  • admin_menu — includes/psct/includes/Admin/Admin.php
  • admin_notices — includes/psct/includes/Plugin.php
  • admin_post_abssm_run_replenish — includes/Services/Replenisher.php
  • before_woocommerce_init — athenian-pricing-inventory-control.php
  • init — includes/Services/Replenisher.php
  • init — includes/Woo/ProductMeta.php
  • plugins_loaded — athenian-pricing-inventory-control.php
  • rest_api_init — includes/Integrations/Dropship.php
  • rest_api_init — includes/psct/includes/REST/Reports_Controller.php
  • rest_api_init — includes/REST/Controller.php
  • woocommerce_checkout_create_order_line_item — includes/APIC/Integrations/Woo.php
  • woocommerce_checkout_order_processed — includes/Woo/OrderHooks.php
  • woocommerce_order_status_cancelled — includes/Woo/OrderHooks.php
  • woocommerce_order_status_completed — includes/Woo/OrderHooks.php
  • woocommerce_order_status_failed — includes/Woo/OrderHooks.php
  • woocommerce_process_product_meta — includes/APIC/Integrations/Woo.php
  • woocommerce_process_product_meta — includes/psct/includes/Admin/Admin.php
  • woocommerce_process_product_meta — includes/Woo/ProductMeta.php
  • woocommerce_product_after_variable_attributes — includes/psct/includes/Admin/Admin.php
  • woocommerce_product_after_variable_attributes — includes/Woo/ProductMeta.php
  • woocommerce_product_data_panels — includes/Woo/ProductMeta.php
  • woocommerce_product_data_tabs — includes/Woo/ProductMeta.php
  • woocommerce_product_options_general_product_data — includes/psct/includes/Admin/Admin.php
  • woocommerce_product_options_pricing — includes/APIC/Integrations/Woo.php
  • woocommerce_save_product_variation — includes/APIC/Integrations/Woo.php
  • woocommerce_save_product_variation — includes/psct/includes/Admin/Admin.php
  • woocommerce_save_product_variation — includes/Woo/ProductMeta.php
  • woocommerce_variation_options_pricing — includes/APIC/Integrations/Woo.php

Data Model

Persistence boundary
  • Data Model and Persistence — described in the local technical reference.
  • Integration Points — described in the local technical reference.
  • Cross-plugin dependency: ADI falls back to _apic_cost_total when no ath_adi_order_cost_total filter supplies a value; Athenian Spa currently has 0 stored rows for this key.

API Reference

Source inventory and provenance
  • Local source digest: e2e7854618a1e06f983da41b9ac3b21a3afc63f4cd1df1880db2759e147f8801
  • Repository URL: not present in this local checkout.
  • Repository reference: local-source-baseline
  • Repository commit: 723a02775c0e522fb0bb9bc33580ea16aa0117b6 (verified GitHub baseline branch baseline/devdocs-1.0.0-20261006).

  • Source files include: assets/css/admin.css, assets/js/admin.js, assets/js/smart-intake.js, assets/js/vendor-inventory.js, assets/psct/css/admin.css, assets/psct/js/admin.js, assets/psct/js/reports.js, athenian-pricing-inventory-control.php, athenian-pricing-inventory-control.png, athenian-pricing-inventory-control.zip, docs/apic-marketing-document.md, docs/athenian-platform-marketing.md, docs/athenian-platform-technical.md, docs/technical-marketing.md, includes/APIC/Admin/Pages/Machines.php, includes/APIC/Admin/Pages/Materials.php, includes/APIC/Admin/Pages/Recipes.php, includes/APIC/Integrations/Dropship_PO.php, includes/APIC/Integrations/Woo.php, includes/APIC/Plugin.php, includes/APIC/Schema/Installer.php, includes/APIC/Services/CostEngine.php, …

Troubleshooting

Baseline review boundary
  • This is a published baseline generated from local source documentation and the linked WooCommerce product record.
  • Confirm the deployed plugin version, active dependencies, and current repository tree before using implementation details as a release contract.
  • Treat pricing, payment, vendor, shipment, inventory, and external-provider behavior as integration-dependent until exercised in the target environment.
  • The local source checkout is the baseline; add a verified repository URL and commit if the source is later reconciled to a canonical GitHub tree.
  • Do not remove APIC solely because it is inactive; first confirm whether ADI or future cost integrations still depend on the _apic_cost_total storage contract.

FAQ

What is this page intended to establish?

A versioned, product-linked starting point for iterative developer documentation. It combines the local implementation reference with a compact detected-code inventory so later passes can refine exact contracts.

Is the linked repository commit verified?

Verified GitHub baseline: https://github.com/Athenian-Brands/athenian-pricing-inventory-control at branch baseline/devdocs-1.0.0-20261006 and commit 723a02775c0e522fb0bb9bc33580ea16aa0117b6.

Why is APIC retained while inactive?

The active Data Intelligence runtime still recognizes _apic_cost_total as a fallback cost source. No current rows were observed, but the dependency is a code contract that requires owner confirmation before removal.

Changelog

1.0.0 2026-10-07