Connect a mock catalogue
How to register one of these supplier catalogues in your e-procurement system (SAP MM/SRM, Ariba, Coupa, etc.). Point the external catalogue / punchout config at this mock server — same URL shapes and credentials as a real supplier OCI or cXML shop.
Base URL for this host: https://mock-server.oscar-int.prc.re
1. Pick a supplier catalogue
Each row is a separate external catalogue in the buyer system. Use the punchout URL for that slug.
| Supplier | Slug | OCI punchout URL |
|---|---|---|
| CleanWorks | cleanworks | https://mock-server.oscar-int.prc.re/punchout/cleanworks |
| OfficePro | officepro | https://mock-server.oscar-int.prc.re/punchout/officepro |
| PrintMax | printmax | https://mock-server.oscar-int.prc.re/punchout/printmax |
| SafeGuard | safeguard | https://mock-server.oscar-int.prc.re/punchout/safeguard |
| TechLine | techline | https://mock-server.oscar-int.prc.re/punchout/techline |
| WorkSpace | workspace | https://mock-server.oscar-int.prc.re/punchout/workspace |
| Würth | wurth | https://mock-server.oscar-int.prc.re/punchout/wurth |
2. OCI punchout (SAP-style)
Create an external catalogue / OCI call-up in the e-procurement admin. Typical field mapping:
| Buyer config field | Value |
|---|---|
| Catalogue / punchout URL | https://mock-server.oscar-int.prc.re/punchout/cleanworks |
| HTTP method | POST (form-urlencoded) |
| USERNAME | procureai |
| PASSWORD | demo |
| HOOK_URL | Buyer return URL (your system fills this — cart posts OCI NEW_ITEM-* fields back here) |
| OCI_VERSION (optional) | 5.0 |
Optional OCI functions
- Background search:
https://mock-server.oscar-int.prc.re/punchout/cleanworks/background-searchwithSEARCHSTRING - Validate:
https://mock-server.oscar-int.prc.re/punchout/cleanworks/validatewithPRODUCTID={exampleSlug}:…andQUANTITY
After checkout in the mock shop, the browser POSTs the OCI cart to HOOK_URL. Product IDs are global: cleanworks:HAM-001.
3. cXML punchout
For buyers that use cXML PunchOutSetupRequest instead of OCI call-up:
| Buyer config field | Value |
|---|---|
| PunchOut setup URL | https://mock-server.oscar-int.prc.re/cxml/cleanworks/punchout |
| Content-Type | text/xml |
| SharedSecret | cxml-secret |
| BrowserFormPost URL | Buyer return URL inside the PunchOutSetupRequest (cart returns as cxml-urlencoded) |
4. Unite marketplace search
Federated search across all mock suppliers (one marketplace connection, not one per supplier):
| Buyer config field | Value |
|---|---|
| Search endpoint | POST https://mock-server.oscar-int.prc.re/v1/search |
| Item detail | GET https://mock-server.oscar-int.prc.re/v1/items/{itemId} |
| Basic auth | procureai / demo |
5. OCI DOWNLOADJSON (catalog sync)
For buyers that pull a JSON catalogue feed instead of interactive punchout:
- Get a token:
POST https://mock-server.oscar-int.prc.re/oauth/tokenwithgrant_type=client_credentials,client_id=oci-download-client,client_secret=oci-download-secret - Per supplier:
GET https://mock-server.oscar-int.prc.re/api/oci/cleanworks/download?FUNCTION=DOWNLOADJSON&PAGESIZE=20&REQUESTEDPAGE=1 - All suppliers:
GET https://mock-server.oscar-int.prc.re/api/oci/download?FUNCTION=DOWNLOADJSON&…
Send Authorization: Bearer <token>.
Checklist
- Network path from buyer system / browser to this host (VPN / allowlist as needed)
- Credentials match the table above (demo defaults — not for production)
- Launch punchout from the buyer UI; browse → add to cart → return; confirm line items land on the requisition / cart
- Debug failed call-ups in /debug/requests
Browse catalogues on the home page without configuring a buyer system.