/api/v1/salesRead purchases and attribution
Read native and external purchases in your account. Filter by purchase_id or order_ref and paginate with limit (1–200) and starting_after, preserving filters. id identifies the purchase and visitor_id the buyer; email is the current address. attribution is the snapshot saved with the purchase, not the current contact profile. Historical purchases without data return null. New native payments retain UTM and ref carried by the payment without reconstructing first_touch or last_touch. This query does not calculate commissions or pay affiliates. billing is null unless you turn on “Include the buyer's billing details (tax ID and address) in the sale notice” (send_purchase_billing in /api/v1/webhook): then it carries the invoice details saved with the sale, whether paid by card, installments, subscription or PayPal: name, email, tax_id (the form's “Fiscal ID”), vat_id (EU VAT number) and address (line1, line2, city, postal_code, state, country). Also null when the account didn't ask for them or for sales before 10 Nov 2026.
Query parameters
limitinteger 1..200starting_afterintegerpurchase_idintegerorder_refstring 1..120curl "https://www.clonify.com/api/v1/sales" \
-H "Authorization: Bearer clk_live_…"{
"object": "list",
"data": [
{
"id": 91,
"visitor_id": 54,
"contact_id": 70,
"email": "buyer@example.com",
"product_id": 12,
"product_title": "Curso",
"amount_cents": 19900,
"refunded_amount_cents": 0,
"currency": "eur",
"source_ref": "ext:PED-1042",
"order_ref": "PED-1042",
"created_at": "2026-10-27T10:00:00.000Z",
"attribution": {
"utm_source": "newsletter",
"ref": "partner-7",
"first_touch": {
"utm_source": "partner",
"ref": "partner-7",
"occurred_at": "2026-10-20T08:00:00Z"
},
"last_touch": {
"utm_source": "newsletter",
"occurred_at": "2026-10-27T09:00:00Z"
}
},
"billing": {
"name": "Ejemplo Formación S.L.",
"email": "buyer@example.com",
"tax_id": "12345678Z",
"vat_id": null,
"address": {
"line1": "Calle Mayor 1",
"line2": null,
"city": "Madrid",
"postal_code": "28001",
"state": null,
"country": "ES"
}
}
}
],
"has_more": false,
"next_starting_after": null
}