Example: success
<cXML payloadID="[email protected]" timestamp="2026-11-27T10:00:01+05:30">
<Response>
<Status code="200" text="OK"/>
<PunchOutSetupResponse>
<StartPage><URL>https://shop.supplier.example/punchout/start?sid=7f3a9c2e</URL></StartPage>
</PunchOutSetupResponse>
</Response>
</cXML>
Example: failure
<cXML payloadID="..." timestamp="...">
<Response>
<Status code="401" text="Unauthorized">Shared secret does not match.</Status>
</Response>
</cXML>
Rules
- Respond within a few seconds; procurement systems time out.
- The StartPage URL should be single use and expire quickly; it effectively logs the user in.
- Use standard status codes:
200 success, 400 bad request, 401 authentication failure, 500 internal error. See status codes. - Return
Content-Type: text/xml and valid cXML even for errors.