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

Athenian SwapShop for WooCommerce

v0.4.8 October 6, 2026
Structured peer-to-peer swaps, settlement orders, fulfillment, trust, and resolution workflows inside WooCommerce.

Overview

Product overview

Athenian Swap Shop adds a structured peer-to-peer exchange marketplace layer to WooCommerce. Instead of treating every transaction as a one-way purchase from the store, it supports two-sided product and service trades where each participant may contribute one or more listings, negotiate terms, add cash or store-credit adjustments, choose shipping or pickup fulfillment, confirm settlement, complete delivery or service milestones, and leave feedback after the trade.

The plugin is designed for marketplace operators who want swaps to behave like managed commerce transactions rather than loose message threads. It models the full lifecycle: listing creation, browsing, wanted-post demand capture, AI-assisted listing enrichment, alerts, match suggestions, offer and counteroffer negotiation, WooCommerce settlement order creation, credit reservations, label generation, carrier tracking, service scheduling, feedback, payout release, dispute handling, reminders, and administrative operations reporting.

From a business standpoint, Swap Shop expands WooCommerce beyond standard catalog checkout into community commerce, member exchanges, service swaps, equipment trades, creator marketplaces, local trade networks, and value-balanced barter workflows. From a technical standpoint, it is implemented as a modular PHP 8 WordPress plugin with custom post types, registered post meta schemas, REST endpoints, shortcodes, WooCommerce account integration, WP-Cron tracking and reminder jobs, admin operations pages, email templates, optional Athenian ecosystem integrations, and support for external carrier, payment, credit, social, and analytics services.

---

Listings, wanted posts, browsing, matching, and AI-assisted listing support.
Offer, counteroffer, value-balancing, and settlement-order workflows.
Shipping, tracking, service milestones, feedback, payout, and dispute surfaces.
REST, shortcodes, cron, admin, email, and Athenian ecosystem integration points.

Use cases

  • Peer-to-peer exchanges
  • Service swaps
  • Marketplace settlement
  • Trade fulfillment

Developer

Developer starting point

This baseline documents SwapShop's marketplace and settlement architecture. It does not claim that a live listing, offer, order, credit reservation, shipment, payout, or dispute mutation has been exercised.

User-Facing Workflow

1. Create a Listing

A member creates a product or service listing from the front-end listing form or WooCommerce account area. The listing can include title, description, category, tags, condition, estimated value, desired items, cash/credit preferences, shipping options, package details, pickup notes, location, service data, photos, and evidence.

2. Browse and Discover Matches

Other members browse the marketplace, filter listings, view map or explorer layouts, and review listing pages with media, summary details, highlights, trader information, trade notes, evidence, matches, and offer actions.

3. Propose a Swap

A member chooses one or more of their own open listings and proposes a swap against another member's listing. The proposal can include item selections, cash or credit terms, shipping/pickup methods, selected shipping rates, and a message.

4. Negotiate Terms

The counterparty can accept, decline, withdraw, or counter the offer. The current terms stay attached to the swap thread, and each offer revision is preserved as its own record.

5. Confirm Settlement

After an offer is accepted, each side confirms the settlement state. WooCommerce orders are created when cash, shipping, credit top-ups, or operational order records are needed. Credit holds can be confirmed through the Store Credits integration.

6. Fulfill the Trade

For physical trades, each side ships, tracks, and confirms receipt as applicable. For service trades, participants propose a schedule, approve it, start the service, request completion, and approve completion.

7. Complete, Review, and Release

When fulfillment requirements are satisfied, the swap can complete. Completion may trigger feedback prompts, credit transfer, credit rewards, payout release, analytics events, and final status updates.

8. Resolve Issues When Needed

If something goes wrong, participants can open a resolution case. The resolution workflow keeps the trade, settlement, shipping, service, feedback, and participant history in one place for admin review.

---

Administrator Workflow

Listing and Trade Management

Admins can manage listings, swaps, offers, alerts, and taxonomies from WordPress admin screens. Custom metaboxes replace generic post editing with purpose-built controls for listing details, galleries, trade state, settlement values, offer terms, resolution state, and feedback moderation.

Operations Console

The operations page is designed for daily marketplace oversight. It highlights active swaps, completed swaps, open cases, unpaid settlement items, payout issues, and shipping exceptions. Admins can open trades, trigger tracking syncs, and manage payout actions from the same console.

Feedback Moderation

The feedback page groups flagged and recent feedback into moderation tables. Staff can review ratings, breakdown scores, comments, flag reasons, moderation notes, and save updated moderation statuses.

Analytics Console

The analytics admin page embeds the Swap Shop analytics shortcode in platform scope. It is intended to show growth, liquidity, negotiation throughput, and operational friction over a configurable time window.

Trader Risk Console

The trader risk page surfaces high-risk, watchlist, and trusted trader segments. It includes trade metrics, trust/fulfillment scores, open cases, flagged feedback, risk flags, and shortcuts to edit users or review their listings.

Email Event Management

The plugin includes a Swap Emails admin area for reviewing and triggering configured email events. This is useful for testing and managing communication flows across the swap lifecycle.

---

Technical Architecture

Main Bootstrap

The main plugin file defines constants and boots Athenian\SwapShop\Plugin on plugins_loaded priority 20.

define('ATH_SWAP_FILE', __FILE__);
define('ATH_SWAP_DIR', plugin_dir_path(__FILE__));
define('ATH_SWAP_URL', plugin_dir_url(__FILE__));
define('ATH_SWAP_VERSION', '0.3.52');

The plugin registers activation and deactivation hooks to set defaults, register post types and meta, add rewrite endpoints, schedule cron jobs, and flush rewrite rules.

Service-Oriented Boot Process

The Plugin class loads and boots services for settings, post types, meta registration, assets, admin UI, email events, notifications, shipping estimates, labels, tracking, reminders, confirm-swap endpoint, WooCommerce account endpoint, settlement manager, alerts, and integrations.

Core services include:

  • Settings
  • PostTypes
  • Meta
  • Assets
  • Admin
  • Email_Events
  • Notifications
  • Shipping_Estimates
  • Labels
  • Tracking
  • Reminders
  • Confirm_Swap_Endpoint
  • Woo\Account
  • Woo\Settlement_Manager
  • Domain\Alerts
  • Integrations\ASU
  • Integrations\ADI
  • Integrations\OwlPay
  • Integrations\StoreCredits

Shortcodes and REST routes are registered after services boot.

---

Custom Post Types and Taxonomies

Custom Post Types

| Post Type | Purpose | Visibility | |---|---|---| | ath_swap_listing | Public swap listings, wanted posts, products, and services | Public, REST-enabled | | ath_swap_trade | Private swap negotiation and fulfillment record | Admin UI, REST-enabled | | ath_swap_offer | Private offer/counteroffer records attached to swaps | Admin UI, REST-enabled | | ath_swap_alert | Saved alerts and wanted-post match rules | Admin UI, REST-enabled |

Taxonomies

| Taxonomy | Applies To | Purpose | |---|---|---| | ath_swap_listing_cat | Listings and swaps | Hierarchical swap categories | | ath_swap_listing_tag | Listings | Free-form swap tags | | ath_swap_listing_condition | Listings | Listing condition labels | | ath_swap_exchange_type | Swaps | Exchange type classification |

On first registration, the plugin can seed default listing conditions such as New, Like New, Excellent, Good, Fair, and Parts or Repair.

---

Data Model Summary

Listing Metadata

Listing records store owner identity, listing state, trade preferences, condition, value, credit market settings, fulfillment configuration, shipping package fields, pickup availability, geolocation, service data, wants/desired terms, gallery media, and active trade count.

Important listing fields include:

  • owner_user_id
  • owner_person_id
  • owner_vendor_id
  • listing_status
  • listing_kind
  • listing_asset_type
  • condition_note
  • desired_items
  • estimated_value
  • cash_preference
  • accepts_credit_bids
  • accepts_credit_buy_now
  • credit_bid_floor
  • credit_bid_increment
  • credit_buy_now_price
  • allow_shipping
  • allow_local_pickup
  • package_weight
  • package_length
  • package_width
  • package_height
  • location_label
  • geo_lat
  • geo_lng
  • service_offer_id
  • service_duration_minutes
  • service_radius_miles
  • wants_json
  • gallery_image_ids
  • active_swap_count

Swap Metadata

Swap records store participant identity, listing selections, cash and credit terms, shipping estimates, payer maps, offer state, swap lifecycle state, WooCommerce order IDs, settlement state, payout state, label and tracking data, service schedule data, feedback, resolution data, reminders, and audit logs.

Important swap fields include:

  • initiator_listing_id
  • counterparty_listing_id
  • initiator_user_id
  • counterparty_user_id
  • initiator_cash
  • counterparty_cash
  • initiator_settlement_type
  • counterparty_settlement_type
  • initiator_credit_units
  • counterparty_credit_units
  • shipping_estimate_json
  • shipping_payers_json
  • fulfillment_methods_json
  • current_offer_id
  • accepted_offer_id
  • offer_count
  • swap_status
  • swap_fulfillment_mode
  • initiator_order_id
  • counterparty_order_id
  • settlement_status
  • payments_cleared_at
  • payout_status
  • initiator_label_path
  • counterparty_label_path
  • initiator_tracking
  • counterparty_tracking
  • initiator_tracking_status
  • counterparty_tracking_status
  • service_status
  • service_scheduled_start
  • service_scheduled_end
  • service_schedule_location
  • completed_at
  • cancelled_at
  • resolution_status
  • resolution_updates
  • audit_log

Offer Metadata

Offer records store the proposed terms for a specific negotiation step.

Important offer fields include:

  • swap_id
  • parent_offer_id
  • sender_user_id
  • recipient_user_id
  • sender_role
  • initiator_listing_id
  • counterparty_listing_id
  • initiator_cash
  • counterparty_cash
  • initiator_settlement_type
  • counterparty_settlement_type
  • initiator_credit_units
  • counterparty_credit_units
  • shipping_estimate_json
  • shipping_payers_json
  • fulfillment_methods_json
  • proposal_type
  • message
  • offer_status
  • responded_at

Alert Metadata

Alert records store saved matching rules and notification state.

Important alert fields include:

  • user_id
  • keywords
  • category_id
  • subcategory_id
  • listing_kind
  • source_listing_id
  • is_active
  • match_count
  • matched_listing_ids
  • last_sent_at

---

REST API Surface

The plugin registers routes under the ath-swap/v1 namespace.

| Route | Methods | Purpose | |---|---:|---| | /ping | GET | Basic availability check | | /listings | GET | Query listings, including current user's listings | | /listings | POST | Create a listing | | /listings/{id} | GET | Read editable listing details | | /listings/{id} | POST | Update a listing | | /browse/listings | GET | Public marketplace browse query | | /browse/value-range | GET | Value range for filters | | /listings/{id}/swap-options | GET | Eligible proposal options for a target listing | | /listings/{id}/message-owner | POST | Send contextual owner message when ASU is available | | /categories | GET | Listing category lookup | | /tags | GET | Listing tag lookup | | /conditions | GET | Condition lookup | | /service-offers | GET | Service offer lookup | | /listings/ai-suggest | POST | AI listing enrichment suggestions | | /dashboard | GET | Member dashboard payload | | /dashboard/payouts | GET | Payout and credit dashboard payload | | /dashboard/payouts/cashout | POST | Request credit cashout | | /dashboard/payouts/request | POST | Request OwlPay payout | | /analytics | GET | Analytics dashboard data | | /suggestions | GET | Suggested matches | | /alerts | GET | List current user's alerts | | /alerts | POST | Create an alert | | /alerts/{id} | DELETE | Delete an alert | | /swaps | POST | Create a proposal | | /shipping/estimate | POST | Estimate shipping for selected trade terms | | /swaps/{id}/accept | POST | Accept current offer | | /swaps/{id}/confirmation | POST | Confirm accepted swap terms | | /swaps/{id}/checkout/confirm | POST | Confirm checkout/credit hold state | | /swaps/{id}/offers | POST | Create counteroffer | | /swaps/{id}/message | POST | Send trade-context message | | /swaps/{id}/decline | POST | Decline current offer | | /swaps/{id}/withdraw | POST | Withdraw current offer | | /swaps/{id}/cancel | POST | Cancel open negotiation | | /swaps/{id}/feedback | POST | Submit post-completion feedback | | /swaps/{id}/resolution | POST | Open a resolution case | | /swaps/{id}/resolution/reply | POST | Add resolution note | | /swaps/{id}/service/schedule | POST | Propose service schedule | | /swaps/{id}/service/approve-schedule | POST | Approve service schedule | | /swaps/{id}/service/start | POST | Start service work | | /swaps/{id}/service/complete | POST | Request/mark service completion | | /swaps/{id}/service/approve-completion | POST | Approve service completion | | /swaps/{id}/ship | POST | Mark a side shipped | | /swaps/{id}/receive | POST | Mark incoming shipment received |

Most write routes require a logged-in user and rely on capability checks or swap/listing ownership validation.

---

Shortcodes

| Shortcode | Purpose | |---|---| | [ath_swap_shop] | Marketplace wrapper/entry point | | [ath_swap_listing_form] | Front-end listing composer | | [ath_swap_browse_explorer] | Combined marketplace browser | | [ath_swap_browse_search] | Browse search component | | [ath_swap_browse_filters] | Browse filter component | | [ath_swap_browse_results] | Browse result component | | [ath_swap_browse_map] | Map component | | [ath_swap_dashboard] | Member swap dashboard | | [ath_swap_dashboard_widget] | Compact dashboard widget | | [ath_swap_alert_form] | Saved alert form | | [ath_swap_confirm] | Accepted swap confirmation UI | | [ath_swap_checkout] | Swap checkout/settlement review UI | | [ath_swap_analytics] | Analytics dashboard | | [ath_swap_trader_profile] | Public/member trader profile | | [ath_swap_resolution_center] | Resolution center UI | | [ath_swap_listing_single] | Full single-listing display | | [ath_swap_listing_single_hero] | Single-listing hero fragment | | [ath_swap_listing_single_media] | Single-listing media fragment | | [ath_swap_listing_single_gallery] | Single-listing gallery fragment | | [ath_swap_listing_single_summary] | Single-listing summary fragment | | [ath_swap_listing_single_highlights] | Single-listing highlights fragment | | [ath_swap_listing_single_description] | Single-listing description fragment | | [ath_swap_listing_single_trade_notes] | Single-listing trade notes fragment | | [ath_swap_listing_single_evidence] | Single-listing evidence fragment | | [ath_swap_listing_single_matches] | Single-listing match suggestions fragment | | [ath_swap_listing_single_trader] | Single-listing trader fragment | | [ath_swap_listing_single_offer] | Single-listing offer/proposal fragment |

The fragment shortcodes make it easier to build custom Bricks/WordPress layouts while still using the plugin's underlying listing data and interaction model.

---

Ecosystem Integrations

WooCommerce

WooCommerce is the required settlement backbone. Swap Shop uses WooCommerce customer identity, orders, account endpoints, order status hooks, shipping item metadata, currency helpers, and product records for support products.

Athenian Store Credits

The Store Credits integration supports credit normalization, credit balance checks, credit reservations, checkout holds, credit transfers, cancellation releases, shipping credit handling, completion rewards, and credit cashout payloads.

OwlPay

The OwlPay integration supports held payouts, payout release, payout blocking when resolutions open, admin release behavior, user payout snapshots, and payout requests.

Athenian Social Users Core

The ASU integration connects Swap Shop to richer identity, messaging, alerts, person records, score events, trader snapshots, person-editor panels, contextual messaging permissions, and trust score enrichment.

Athenian Data Intelligence

The ADI integration emits lifecycle events such as listing created, offer created, offer accepted, payments cleared, labels ready, delivered tracking, tracking exceptions, resolutions, feedback, payout release/block, and completion.

Shipping Integrations

The shipping layer can work with Athenian carrier methods/classes for UPS, FedEx, USPS, and internal logistics when available. It also exposes filters for custom carrier rates, tracking lookup, registered carrier labels, and cache context.

Athenian Platform Core AI

When Athenian Platform Core AI is available, the listing assistant can call a chat.complete capability and request structured JSON listing suggestions.

---

Important Hooks and Extension Points

Actions

| Hook | Purpose | |---|---| | ath_swap_booted | Fired after plugin services and routes are registered | | ath_swap_listing_created | Fired when a listing is created | | ath_swap_offer_created | Fired when an offer is created | | ath_swap_offer_accepted | Fired when an offer is accepted | | ath_swap_payments_cleared | Fired when settlement requirements clear | | ath_swap_labels_ready | Fired when labels are generated/ready | | ath_swap_side_marked_shipped | Fired when a side marks shipped | | ath_swap_tracking_delivered | Fired when tracking reports delivered | | ath_swap_tracking_exception | Fired when tracking reports exception | | ath_swap_tracking_synced | Fired after tracking sync | | ath_swap_resolution_opened | Fired when a resolution opens | | ath_swap_resolution_status_updated | Fired when resolution status changes | | ath_swap_feedback_submitted | Fired when feedback is submitted | | ath_swap_feedback_moderated | Fired when feedback moderation changes | | ath_swap_payout_released | Fired when payout release occurs | | ath_swap_payout_blocked | Fired when payout is blocked | | ath_swap_completed | Fired when a swap completes | | ath_swap_cancelled | Fired when a swap is cancelled |

Filters

| Filter | Purpose | |---|---| | ath_swap_shipping_estimate_cache_context | Customize shipping estimate cache context | | ath_swap_shipping_estimate_cache_ttl | Customize shipping estimate cache duration | | ath_swap_shipping_rates | Inject or modify swap shipping rates | | ath_swap_generate_label | Generate label artifacts for a swap side | | ath_sm_registered_carriers | Register carrier label callbacks | | ath_swap_tracking_lookup | Provide live carrier tracking lookup results | | asu_person_meta_schema | Extend ASU person schema with swap fields | | asu_message_send_allowed | Allow contextual swap messages through ASU | | asu_person_score_calculated | Enrich canonical ASU person scores with swap behavior |

---

Security and Permissions Notes

  • The plugin uses WordPress login checks and ownership validation for listing edits and swap actions.
  • Write routes generally require current_user_can('read') and additional contextual validation.
  • Admin operations pages require manage_woocommerce or manage_options.
  • Admin AJAX lookup uses a nonce.
  • Settings are sanitized through the WordPress Settings API.
  • Registered post meta uses sanitization callbacks based on field type.
  • Public browsing routes intentionally expose open listings, while private negotiation, dashboard, settlement, and management routes require authentication.
  • The plugin prevents users from targeting their own listings for swap proposals and blocks conflicting proposals when a listing is unavailable, reserved, closed, wanted-only, or already involved in active trade activity.

---

Install

Source and dependencies
  • Reviewed source folder: athenian-swap-shop
  • Plugin version reviewed: 0.4.8
  • Local source inventory: 932 files (temporary, test, and Git metadata excluded).
  • GitHub baseline: https://github.com/Athenian-Brands/athenian-swap-shop at baseline/devdocs-0.4.8-20261006d / be7e97e988fbe9890a6cc7736ec6c42433fdbb83.
  • WordPress 6.2+, PHP 8.0+, and WooCommerce.
  • Payment, credit, carrier, shipping label, identity, payout, provider, and dispute behavior require separate authenticated target verification.

Configuration

Implementation reference sections
  • Executive Summary — see the linked technical reference excerpt.
  • Short Description — see the linked technical reference excerpt.
  • Marketing Description — see the linked technical reference excerpt.
  • Core Value Proposition — see the linked technical reference excerpt.
  • Feature Highlights — see the linked technical reference excerpt.
  • Ideal Use Cases — see the linked technical reference excerpt.
  • Suggested Positioning — see the linked technical reference excerpt.
  • Suggested Taglines — see the linked technical reference excerpt.
  • Suggested Marketing Snippet — see the linked technical reference excerpt.
  • User-Facing Workflow — see the linked technical reference excerpt.
  • Administrator Workflow — see the linked technical reference excerpt.
  • Technical Architecture — see the linked technical reference excerpt.
  • Custom Post Types and Taxonomies — see the linked technical reference excerpt.
  • Data Model Summary — see the linked technical reference excerpt.

Usage

Detected extension surface
  • Shortcodes detected in local PHP source: 28
  • Static action/filter hooks detected in local PHP source: 100
  • REST route registrations detected in local PHP source: 2

Shortcodes

Detected shortcodes
  • ath_swap_alert_form — includes/Shortcodes/Alerts.php
  • ath_swap_analytics — includes/Shortcodes/Analytics.php
  • ath_swap_browse_explorer — includes/Shortcodes/Browse.php
  • ath_swap_browse_filters — includes/Shortcodes/Browse.php
  • ath_swap_browse_map — includes/Shortcodes/Browse.php
  • ath_swap_browse_results — includes/Shortcodes/Browse.php
  • ath_swap_browse_search — includes/Shortcodes/Browse.php
  • ath_swap_checkout — includes/Shortcodes/Checkout.php
  • ath_swap_confirm — includes/Shortcodes/ConfirmSwap.php
  • ath_swap_dashboard_widget — includes/Shortcodes/DashboardWidget.php
  • ath_swap_dashboard — includes/Shortcodes/Dashboard.php
  • ath_swap_listing_form — includes/Shortcodes/Composer-revised.php
  • ath_swap_listing_form — includes/Shortcodes/Composer.php
  • ath_swap_listing_single_description — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_evidence — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_gallery — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_hero — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_highlights — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_matches — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_media — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_offer — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_summary — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_trader — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single_trade_notes — includes/Shortcodes/SingleListing.php
  • ath_swap_listing_single — includes/Shortcodes/SingleListing.php
  • ath_swap_resolution_center — includes/Shortcodes/ResolutionCenter.php
  • ath_swap_shop — includes/Shortcodes/Marketplace.php
  • ath_swap_trader_profile — includes/Shortcodes/TraderProfile.php

REST Endpoints

Detected REST routes
  • ath-swap/v1 — includes/Labels.php
  • ath-swap/v1 — includes/REST/Routes.php

Hooks

Detected hooks
  • add_meta_boxes — includes/Admin.php
  • admin_enqueue_scripts — includes/Assets.php
  • admin_init — includes/Settings.php
  • admin_menu — includes/Admin.php
  • admin_menu — includes/Settings.php
  • admin_notices — includes/Admin.php
  • admin_post_ath_swap_email_event_save — includes/Email_Events.php
  • admin_post_ath_swap_email_event_trigger — includes/Email_Events.php
  • admin_post_ath_swap_feedback_update — includes/Admin.php
  • admin_post_ath_swap_ops_action — includes/Admin.php
  • admin_post_ath_swap_resolution_update — includes/Admin.php
  • asu_message_send_allowed — includes/Integrations/ASU.php
  • asu_message_sent — includes/Notifications.php
  • asu_person_editor_groups — includes/Integrations/ASU.php
  • asu_person_editor_render_panel — includes/Integrations/ASU.php
  • asu_person_editor_tabs — includes/Integrations/ASU.php
  • asu_person_meta_schema — includes/Integrations/ASU.php
  • asu_person_score_calculated — includes/Integrations/ASU.php
  • athenian_carrier_rate_debug — includes/Shipping_Estimates.php
  • ath_adi_register — includes/Integrations/ADI.php
  • ath_swap_auto_closed — includes/Integrations/ASU.php
  • ath_swap_cancelled — includes/Integrations/ASU.php
  • ath_swap_cancelled — includes/Integrations/StoreCredits.php
  • ath_swap_cancelled — includes/Notifications.php
  • ath_swap_completed — includes/Integrations/ADI.php
  • ath_swap_completed — includes/Integrations/ASU.php
  • ath_swap_completed — includes/Integrations/OwlPay.php
  • ath_swap_completed — includes/Integrations/StoreCredits.php
  • ath_swap_completed — includes/Notifications.php
  • ath_swap_feedback_moderated — includes/Integrations/ASU.php
  • ath_swap_feedback_submitted — includes/Integrations/ADI.php
  • ath_swap_feedback_submitted — includes/Integrations/ASU.php
  • ath_swap_feedback_submitted — includes/Notifications.php
  • ath_swap_generate_label — includes/Shipping_Estimates.php
  • ath_swap_labels_ready — includes/Integrations/ADI.php
  • ath_swap_labels_ready — includes/Notifications.php
  • ath_swap_labels_ready — includes/Tracking.php
  • ath_swap_listing_created — includes/Domain/Alerts.php
  • ath_swap_listing_created — includes/Integrations/ADI.php
  • ath_swap_listing_created — includes/Integrations/ASU.php
  • ath_swap_listing_created — includes/Notifications.php
  • ath_swap_offer_accepted — includes/Integrations/ADI.php
  • ath_swap_offer_accepted — includes/Integrations/ASU.php
  • ath_swap_offer_accepted — includes/Notifications.php
  • ath_swap_offer_accepted — includes/Woo/Settlement_Manager.php
  • ath_swap_offer_created — includes/Integrations/ADI.php
  • ath_swap_offer_created — includes/Integrations/ASU.php
  • ath_swap_offer_created — includes/Notifications.php
  • ath_swap_payments_cleared — includes/Integrations/ADI.php
  • ath_swap_payments_cleared — includes/Integrations/OwlPay.php
  • ath_swap_payments_cleared — includes/Integrations/StoreCredits.php
  • ath_swap_payments_cleared — includes/Labels.php
  • ath_swap_payments_cleared — includes/Notifications.php
  • ath_swap_payout_blocked — includes/Integrations/ADI.php
  • ath_swap_payout_blocked — includes/Notifications.php
  • ath_swap_payout_released — includes/Integrations/ADI.php
  • ath_swap_payout_released — includes/Notifications.php
  • ath_swap_resolution_opened — includes/Integrations/ADI.php
  • ath_swap_resolution_opened — includes/Integrations/ASU.php
  • ath_swap_resolution_opened — includes/Integrations/OwlPay.php
  • ath_swap_resolution_opened — includes/Notifications.php
  • ath_swap_resolution_status_updated — includes/Integrations/OwlPay.php
  • ath_swap_resolution_status_updated — includes/Integrations/StoreCredits.php
  • ath_swap_resolution_status_updated — includes/Notifications.php
  • ath_swap_side_marked_shipped — includes/Notifications.php
  • ath_swap_side_marked_shipped — includes/Tracking.php
  • ath_swap_tracking_delivered — includes/Integrations/ADI.php
  • ath_swap_tracking_exception — includes/Integrations/ADI.php
  • ath_swap_user_payout_requested — includes/Notifications.php
  • ath_swap_ — includes/Notifications.php
  • body_class — includes/Woo/Account.php
  • cron_schedules — includes/Plugin.php
  • cron_schedules — includes/Tracking.php
  • http_response — tools/owlpay-scoped-device-smoke.php
  • init — includes/Confirm_Swap_Endpoint.php
  • init — includes/Meta.php
  • init — includes/PostTypes.php
  • init — includes/Reminders.php
  • init — includes/Tracking.php
  • init — includes/Woo/Account.php
  • manage_ — includes/Admin.php
  • plugins_loaded — athenian-swap-shop.php
  • pre_http_request — tools/swap-simulation/email-relay-smoke.php
  • pre_http_request — tools/swap-simulation/release-smoke.php
  • pre_http_request — tools/swap-simulation/scott-credit-owlpay-smoke.php
  • pre_http_request — tools/swap-simulation/scott-owlpay-smoke.php
  • pre_wp_mail — includes/CLI/Simulation_Command.php
  • pre_wp_mail — tools/swap-simulation/email-relay-smoke.php
  • pre_wp_mail — tools/swap-simulation/release-smoke.php
  • pre_wp_mail — tools/swap-simulation/scott-credit-owlpay-smoke.php
  • pre_wp_mail — tools/swap-simulation/scott-owlpay-smoke.php
  • query_vars — includes/Confirm_Swap_Endpoint.php
  • redirect_canonical — includes/Confirm_Swap_Endpoint.php
  • redirect_post_location — includes/Admin.php
  • rest_api_init — includes/Labels.php
  • rest_api_init — includes/REST/Routes.php
  • rest_pre_serve_request — includes/Labels.php
  • save_post_ath_person — includes/Integrations/ASU.php
  • save_post_ — includes/Admin.php
  • template_redirect — includes/Confirm_Swap_Endpoint.php

Data Model

Persistence and integration boundary
  • Custom Post Types and Taxonomies — described in the local technical reference.
  • Data Model Summary — described in the local technical reference.
  • Ecosystem Integrations — described in the local technical reference.

API Reference

Source inventory and provenance
  • Local source digest: 24f92582d03b4770455ac7f8ee5f48a75e6027363552728817cdf3d0f958286a
  • Repository URL: https://github.com/Athenian-Brands/athenian-swap-shop
  • Repository reference: baseline/devdocs-0.4.8-20261006d
  • Repository commit: be7e97e988fbe9890a6cc7736ec6c42433fdbb83
  • Source files include: .playwright-cli/console-2026-03-29T02-27-34-452Z.log, .playwright-cli/console-2026-07-26T16-32-41-941Z.log, .playwright-cli/console-2026-07-26T16-47-38-365Z.log, .playwright-cli/console-2026-07-26T17-15-41-754Z.log, .playwright-cli/console-2026-07-26T17-23-24-996Z.log, .playwright-cli/console-2026-07-26T17-24-00-492Z.log, .playwright-cli/console-2026-07-26T17-24-46-265Z.log, .playwright-cli/console-2026-07-26T17-50-49-071Z.log, .playwright-cli/console-2026-07-26T19-40-16-679Z.log, .playwright-cli/console-2026-07-26T19-43-22-972Z.log, .playwright-cli/console-2026-07-26T19-43-37-309Z.log, .playwright-cli/console-2026-07-26T19-53-58-818Z.log, .playwright-cli/console-2026-07-26T19-56-12-540Z.log, .playwright-cli/console-2026-09-24T17-09-49-213Z.log, .playwright-cli/console-2026-09-24T17-22-15-999Z.log, .playwright-cli/console-2026-09-28T15-13-11-643Z.log, .playwright-cli/console-2026-09-28T15-22-19-454Z.log, .playwright-cli/page-2026-03-29T02-16-49-121Z.yml, .playwright-cli/page-2026-03-29T02-17-59-144Z.yml, .playwright-cli/page-2026-03-29T02-27-36-279Z.yml, .playwright-cli/page-2026-07-26T16-32-43-177Z.yml, .playwright-cli/page-2026-07-26T16-34-09-804Z.yml, .playwright-cli/page-2026-07-26T16-40-49-369Z.yml, .playwright-cli/page-2026-07-26T16-42-51-202Z.png, .playwright-cli/page-2026-07-26T16-43-07-888Z.yml, .playwright-cli/page-2026-07-26T16-45-10-307Z.yml, .playwright-cli/page-2026-07-26T16-47-00-349Z.yml, .playwright-cli/page-2026-07-26T16-47-31-903Z.yml, …

Troubleshooting

Baseline review boundary
  • This baseline documents SwapShop's marketplace and settlement architecture. It does not claim that a live listing, offer, order, credit reservation, shipment, payout, or dispute mutation has been exercised.

  • Confirm the deployed plugin version, active dependencies, and current repository tree before using implementation details as a release contract.
  • Treat payment, carrier, vendor, shipment, inventory, account, credential, tax, AI, and external-provider behavior as integration-dependent until exercised in the target environment.

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 detected-code inventory and a committed GitHub baseline.

Is the linked repository baseline verified?

Yes. The repository URL, ref, and commit recorded on this page were verified from the clean GitHub baseline prepared for this documentation pass. That does not by itself prove fleet deployment parity.

What remains for release-grade documentation?

Reconcile the recorded source baseline with the deployed plugin version, then exercise the relevant authenticated, store, provider, payment, tax, carrier, or generated-artifact paths in the target environment.

Changelog

0.4.8 2026-10-06