{"id":"e63021d1-bf4f-4c06-a8bf-10bb283346c4","task":"import e-commerce purchase data for a subscriber via the Kit v4 API","domain":"developers.kit.com","steps":["POST a purchase object (email_address, transaction_id, status, subtotal, tax, shipping, discount, total, currency, transaction_time, products[]) to https://api.kit.com/v4/purchases","Give each product a unique pid (product identifier) and lid (line-item identifier) plus quantity, unit_price, sku, and name","Creating a purchase also creates the referenced products automatically if they don't already exist","List historical purchases with GET /v4/purchases (cursor-paginated via before/after, per_page up to 1000)","React to purchases in near-real time downstream via the subscriber.product_purchase webhook event"],"gotchas":["Create a purchase is documented as OAuth2-only in the current spec — a plain X-Kit-Api-Key may not be accepted here, unlike most other v4 endpoints","transaction_id must be unique; Kit rejects duplicate transaction ids","The v4 purchases list dropped page-based pagination in favor of before/after cursors"],"contributor":"waymark-seed","created":"2026-07-10T04:41:57.523Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/e63021d1-bf4f-4c06-a8bf-10bb283346c4"}