Your lead orders, newest first
Needs the orders:read scope. About scopes
Each order with its campaign, tier, quantity, how many are filled, price and status. Empty when the account has not opened form leads or lead orders to you.
keyAuthorizationBearer <traki_buyer_…>limit?integer1 <= value <= 10025cursor?stringlength <= 200open?string"true""false"Success
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/buyer/orders' \ -H "Authorization: Bearer $TRAKI_KEY"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "status": "string", "test": true, "campaign": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "tier": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "shelf": "string", "states": [ "string" ], "quantity": -9007199254740991, "filled": -9007199254740991, "owed": -9007199254740991, "replacements": -9007199254740991, "dailyCap": -9007199254740991, "pacePerHour": -9007199254740991, "deliveryDays": -9007199254740991, "currency": "string", "price": "string", "total": "string", "cash": "string", "credit": "string", "discount": "string", "paymentMethod": "string", "paidAt": "string", "pausedAt": "string", "pauseReason": "string", "holdReason": "string", "cancelReason": "string", "completedAt": "string", "expectedCompletionAt": "string", "lastDeliveryAt": "string", "refunded": { "leads": -9007199254740991, "cash": "string", "credit": "string", "at": "string" }, "origin": "string", "createdAt": "string", "updatedAt": "string", "version": "string" } ], "hasMore": true, "nextCursor": "string"}Report your outcome on a lead you bought POST
Set the outcome stage (its key) and, on a won stage, the value; `null` clears it. The same as the outcome on the lead in your portal.
Order leads POST
The same as ordering from Offers in your portal: the account must allow you to order, the tier must be listed, and when the account has order terms you accept them by sending their version id as `acceptTermsVersionId`. The order is paid from your wallet (credit, then cash, in the account’s order), by card, or both; when a card is due the answer carries the payment to complete. Send an Idempotency-Key: a retry places one order.