> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Purchase ## Article: Purchase ## Article Link: https://dev.wix.com/docs/sdk/host-modules/site/events/wix-events/purchase.md ## Article Content: # Purchase Triggered on thank-you-page load. ### Properties |Name|Type|Description| |---|---|---| |`origin`|text|Wix App name, such as Events or Stores.| |`revenue`|number|Total purchase amount.| |`tax`|number|Purchase tax.| |`coupon`|text|Coupon name.| |`contents`|array|All purchased products/events.| |`contents.quantity`|number|Number of tickets.| |`contents.price`|number|Product/event price.| |`contents.currency`|currency|Currency in ISO-4217 format.| |`userId`|text|User ID.| ### Example ```JSON { "origin": "Wix Events", "revenue": 880, "tax": 20, "coupon": "SUMMER2018", "contents": [ { "quantity": 2, "price": 180, "currency": "USD" }, { "quantity": 4, "price": 130, "currency": "USD" } ] } ```