cXML Flow

The cXML flow supports setup and transfer with context persistence.

Step 1: PunchOutSetupRequest

The setup endpoint validates buyer, security, authentication, and hook URL constraints.

The module extracts request fields and creates a Punchout context with token and correlation.

Step 2: Optional level-2 handling

For setup requests carrying level-2 metadata, the module resolves selected-item context and can provide a deterministic deep-link hint.

Step 3: PunchOutOrderMessage transfer

The transfer endpoint builds outbound cXML payload using cart content plus mapping profile logic.

Document feedback scope

After Punchout transfer, document-level processing runs through dedicated document endpoints (PO inbound, ASN outbound, invoice outbound).
The cXML transfer route itself remains focused on cart transfer payload generation.

Operational notes

  • idempotency handling is supported on transfer
  • trace entries include in/out direction and correlation
  • payload logging is sanitized for sensitive fields

Template references

For faster onboarding, start from vendor-specific cXML templates:

Found an issue with this documentation? Let us know