Testing in sandbox

Validate the full flow against the sandbox before going live. Sandbox uses the same protocols and field shapes as production.

Base URL: https://sandbox.api.glede.app (setup: /cxml/punchout or /oci/punchout/setup).

Steps

  1. Ask Glede for sandbox buyer credentials and your HOOK_URL allowlist entry.
  2. Point your procurement system's sandbox/test punchout config at the sandbox setup URL.
  3. Run a punchout: confirm you are redirected to the Glede shopping flow, build a cart, and check out.
  4. Confirm your system receives the cart return (NEW_ITEM-* for OCI, PunchOutOrderMessage for cXML) and that the line VENDORMAT / SupplierPartAuxiliaryID carries <sessionId>:<lineId>.
  5. For cXML, send the approved OrderRequest back and confirm the order is created.

When everything checks out, Glede issues production credentials and you switch the base URL to https://api.glede.app. No code changes between sandbox and production — only the credentials and host differ.