Resources

What is cXML PunchOut?

Technical explantation of what happens behind-the-scenes through data and requests via cXML Punchout example:

  • PunchOutSetupRequest (POSR) is made – The data within the post often will contain parameters such as unique identifiers that may include the users email address, business unit ID, DUNS, and others of which vary from e-procurement systems to system and buyer to buyer that is used by the e-commerce application to properly authenticate the user and reflect the correct offering, pricing, experience, etc. The data from this generally will include the following as examples:
    • FirstName: John
    • Last Name: Doe
    • UniqueName: BUZf6d8
    • UserEmail: [email protected]
    • User: BUZf6d8
    • BusinessUnit: 13843
    • contact: email: [email protected]
    • name: BUZf6d8
    • unique: BUZf6d8
    • buyercookie: 7555371f46f7a5d057ac3567a2df12c2
    • postform: https://acme_buyer.coupahost.com/punchout/checkout?id=1
  • PunchOut Setup Response – The vendor’s e-commerce application returns a URL that redirects the user to to begin their shopping experience directly on the vendor’s e-commerce application. The response, if successful, will provide a 200 and redirect the browser to the URL from the response, ie. https://www.SomeSupplier.com.
  • PunchOutOrderMessage (POOM) – When the user selects to transfer the cart, the data included per line item will generally consist of at least the following parameters that will get posted to “postform” referenced in step 1.
    • Description: Some Great Product Name
    • Classification: 80141611 (UNSPSC or sometimes different and will vary from buyer to buyer)
    • PartID: 1234567 (Product SKU)
    • PartAuxiliaryID: 8888/65689 (References the cart data against the session)
    • Quantity: 1
    • Unit Price: 55.68
    • UOM: EA (The Unit of Measure (ie. Each, Case, etc., will also vary from buyer to buyer)
    • Currency: USD