Welcome‎ > ‎Version 2‎ > ‎Publisher Api (Read/Write)‎ > ‎Data Structures‎ > ‎

Order Detail

Will include the details about a previous order.

Fields:
  firstName - The first name for the purchase.
  isGift - Bool value whether this purchase is a gift.
  lastName - The last name for the purchase.
  price - The price paid for the purchase.
  quantity - The number of items purchased.
  vouchers - The list of vouchers if they have been generated.

Sample XML Response:
<orderDetail>
    <firstName>noahfriend</firstName>
    <isGift>true</isGift>
    <lastName i:nil="true"/>
    <price>70</price>
    <quantity>1</quantity>
    <vouchers>
        <voucher>
            <redemptionUrl i:nil="true"/>
            <voucherUrl>http://rewards.staging.thrillist.com/voucher?SecretKey=JNZnzeylec%2bg%2f67fjw41z64ApiioSNfy&amp;Code=F-1EE-00-75C</voucherUrl>
        </voucher>
    </vouchers>
</orderDetail>



Sample JSON Response:
{
    "firstName": "noah",
    "isGift": false,
    "lastName": "blumenthal",
    "price": 40,
    "quantity": 1,
    "vouchers": [
        {
            "redemptionUrl": null,
            "voucherUrl": "http://rewards.staging.thrillist.com/voucher?SecretKey=jH0YtKWDhL6AJhqeT0qLibbrgbkal%2fHs&Code=P-1027-266-FFE"
        }
    ]
}
Comments