Skip to main content

Prototype by Boffin Coders using sample supplier data. Prices and images are placeholders.

Simulate date
WPWS DemoWorkwear, PPE and school uniform
Viewing as Visitor

How it connects to Profit4

The website handles what customers see. Profit4 stays the system for stock, accounts and invoicing. This page shows the proposed data flow. Details are to be confirmed with WPWS and OGL.

Data flow

  1. Supplier files are uploaded on the website. Staff review the changes and apply them to the website catalogue.
  2. Customers order on the website. Each order is sent to Profit4 as a sales order.
  3. Card payments are taken by Stripe or PayPal. The payment reference goes with the order to Profit4.
  4. Profit4 sends stock levels and customer accounts back to the website.

Which system owns what

DataOwnerNotes
Products for display (names, categories, descriptions, search words)WebsiteBuilt from supplier files and enrichment; staff can edit.
Stock records (stock codes)Profit4Only for products WPWS chooses to sell.
Supplier list pricesTo confirm with WPWS and OGLSupplier price lists could load into the website or into Profit4.
Contract pricesTo confirm with WPWS and OGLDoes Profit4 hold them today? The website keeps them separate and never changes them on import.
Stock levelsProfit4Sent to the website on a schedule.
OrdersWebsite → Profit4Created on the website, then sent to Profit4 for fulfilment and invoicing.
PaymentsStripe / PayPalReference stored with the order and sent to Profit4.
Customer accountsTo confirm with WPWS and OGLCompany accounts, allowances and approvers.
VATProfit4VAT codes from the supplier file are shown as “to confirm”.

Only products WPWS chooses to sell get a Profit4 stock record — not all 91,000 rows of the supplier catalogue. The website can show the wider catalogue and create the stock record when a product is first sold or listed.

Order message to Profit4

Proposed — to be confirmed with OGL

The latest demo order, WP-100005. Customer account, lines, prices, VAT, payment reference and delivery.

{
  "messageType": "SalesOrder.Create",
  "format": "Proposed — to be confirmed with OGL",
  "source": "wpws-website (demo)",
  "sentAt": "2026-11-22T10:37:52.724Z",
  "order": {
    "webReference": "WP-100005",
    "channel": "company",
    "status": "on-account",
    "orderDate": "2026-11-22",
    "customerAccount": {
      "accountCode": "EXAMPLE-CONSTRUCTION (demo account)",
      "name": "Taylor Example",
      "email": "taylor@example-construction.test"
    },
    "delivery": {
      "method": "Deliver to site",
      "line1": "Example Construction Ltd, Site 4, Example Road",
      "town": "Exampleton",
      "postcode": "EX1 1AA"
    },
    "lines": [
      {
        "lineNo": 1,
        "stockCode": "RS903 BLK S",
        "style": "RS903",
        "description": "Result Recycled Fleece Polarthermic Jacket, Black, S",
        "quantity": 1,
        "unitPrice": "14.75",
        "priceRule": "contract",
        "lineNet": "14.75",
        "vatCode": "1",
        "vatRate": 20
      }
    ],
    "totals": {
      "net": "14.75",
      "vat": "2.95",
      "gross": "17.70",
      "currency": "GBP"
    },
    "payment": {
      "method": "On account (invoice from Profit4)"
    }
  }
}