The following payloads lay out an example lifecycle for a Private Offer. These payloads contain mock data in example formats. Payloads for all cloud marketplaces will follow the same format.

A new Private Offer is created

{
    "actor": {
        "email": "[email protected]",
        "name": "Jonathan Dawe",
        "picture": "https://lh4.googleusercontent.com/-34CkWg7CSZ8/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuck7Gd4gdy-6NI4bqRQc3wCTeftWIQ/s96-c/photo.jpg",
        "user_id": "google-oauth2|108769125278993842279"
    },
    "marketplace": "aws",
    "created_at": "2021-02-16T14:48:06.460998+00:00",
    "customerid": "ij3sXMkN3or",
    "destination": "callback",
    "event_type": "private_offer_created",
    "extra_data": {},
    "group_id": "5e7b1ec8-2595-40c7-b6f1-3b0d1fd1ed9e",
    "offerid": "offer-abcdefghijkl1",
    "po_id": "7ec896c2-6cff-4a46-b55a-039db504422d",
    "productid": "A0BCD23E",
    "source": "po_url",
    "private_offer_metadata": {},
    "vendorid": "U9T21A"
}

Purchase instructions are sent

{
    "actor": {
        "email": "[email protected]",
        "name": "Jonathan Dawe",
        "picture": "https://lh4.googleusercontent.com/-34CkWg7CSZ8/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuck7Gd4gdy-6NI4bqRQc3wCTeftWIQ/s96-c/photo.jpg",
        "user_id": "google-oauth2|108769125278993842279"
    },
    "marketplace": "aws",
    "created_at": "2021-02-05T23:00:31.215975+00:00",
    "customerid": "IJjandEMmnB",
    "destination": "callback",
    "event_type": "private_offer_purchase_instructions_sent",
    "extra_data": {},
    "group_id": "2222c189-6617-4b7c-a52f-e70f07f06a34",
    "offerid": "offer-abcdefghijkl1",
    "po_id": "7ec896c2-6cff-4a46-b55a-039db504422d",
    "productid": "A0BCD23E",
    "source": "po_url",
    "private_offer_metadata": {},
    "vendorid": "U9T21A"
}

Buyer opened the purchase instructions email

{
    "actor": {
        "email": "[email protected]",
        "name": "Jonathan Dawe",
        "picture": "https://lh4.googleusercontent.com/-34CkWg7CSZ8/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuck7Gd4gdy-6NI4bqRQc3wCTeftWIQ/s96-c/photo.jpg",
        "user_id": "google-oauth2|108769125278993842279"
    },
    "marketplace": "aws",
    "created_at": "2021-02-10T15:18:17.584888+00:00",
    "customerid": "IJjandEMmnB",
    "destination": "callback",
    "event_type": "po_invitation_opened",
    "extra_data": {
        "users": [
            {
                "buyer": null,
                "email": "[email protected]",
                "name": "Brian Levenson",
                "picture": "https://lh5.googleusercontent.com/-QMVY0SvdyT0/AAAAAAAAAAI/AAAAAAAAAAA/AMZuucnyRpk0Yn1rkHadiWbNEPOTBCG9Uw/s96-c/photo.jpg",
                "user_id": "google-oauth2|104359829503500435928"
            }
        ]
    },
    "group_id": "f579b0c2-837b-4b77-84fa-32ded5d65566",
    "offerid": "offer-abcdefghijkl1",
    "po_id": "7ec896c2-6cff-4a46-b55a-039db504422d",
    "productid": "A0BCD23E",
    "source": "email-webhook",
    "private_offer_metadata": {},
    "vendorid": "U9T21A"
}

Buyer has viewed the private offer

{
    "actor": {
        "email": "[email protected]",
        "name": "Jonathan Dawe",
        "picture": "https://lh4.googleusercontent.com/-34CkWg7CSZ8/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuck7Gd4gdy-6NI4bqRQc3wCTeftWIQ/s96-c/photo.jpg",
        "user_id": "google-oauth2|108769125278993842279"
    },
    "marketplace": "aws",
    "created_at": "2021-02-05T23:00:31.334844+00:00",
    "customerid": "IJjandEMmnB",
    "destination": "callback",
    "event_type": "po_viewed",
    "extra_data": {},
    "group_id": "251d238f-1bef-46d0-b01f-6628027ef4d9",
    "offerid": "offer-abcdefghijkl1",
    "po_id": "7ec896c2-6cff-4a46-b55a-039db504422d",
    "productid": "A0BCD23E",
    "source": "po_url",
    "private_offer_metadata": {},
    "vendorid": "U9T21A"
}

Buyer has accepted the private offer

{
    "actor": {
        "email": "[email protected]",
        "name": "Jonathan Dawe",
        "picture": "https://lh4.googleusercontent.com/-34CkWg7CSZ8/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuck7Gd4gdy-6NI4bqRQc3wCTeftWIQ/s96-c/photo.jpg",
        "user_id": "google-oauth2|108769125278993842279"
    },
    "marketplace": "aws",
    "created_at": "2021-02-05T23:00:31.254540+00:00",
    "customerid": "IJjandEMmnB",
    "destination": "callback",
    "event_type": "po_accepted",
    "extra_data": {
        "users": [
            "[email protected]"
        ]
    },
    "group_id": "b28304c8-f42d-455b-86f1-eb05c0777f01",
    "offerid": "offer-abcdefghijkl1",
    "po_id": "7ec896c2-6cff-4a46-b55a-039db504422d",
    "productid": "A0BCD23E",
    "source": "saas-url",
    "private_offer_metadata": {},
    "vendorid": "U9T21A"
}