PunchOutSetupRequest
A PunchOutSetupRequest is the cXML document a procurement system posts to the supplier’s PunchOut URL to start a session, saying who is shopping, how to authenticate them and where to send the cart back.
It is sent server to server when a buyer clicks your catalogue. The header identifies the buying organisation (From), you (To) and the transmitting system (Sender, with the SharedSecret). The body carries an operation attribute, the BuyerCookie, optional Extrinsic values about the shopper, the BrowserFormPost return URL, and optionally a contact, a ship-to address or a SelectedItem.
Your endpoint authenticates the sender, creates a session holding the cookie and return URL, and answers in the same HTTP connection with a PunchOutSetupResponse. Its operation is create for a new cart, edit or inspect to reopen an earlier one; the DTD also defines source, used for sourcing events.
Most first-time failures are here. Checking the secret in From instead of Sender, letting the XML parser resolve external entities, answering with an HTML error page instead of a cXML Status, or doing slow work before replying so the buyer’s system times out.
Go deeper
Related terms
Has a buyer asked you for PunchOut?
Reading up on PunchOutSetupRequest because of it? A free PunchOut shop gets you a catalogue your buyer can test: upload it from Excel, run a cXML or OCI round trip yourself and invite them. Free until they go live.
Start free Talk to us instead