https://api.clakta.com/v1/ordersRecord a new order for a project. The owning project is resolved from the `projectId` field in the request body. Orders count towards your team's monthly order limit.
Projects using the `privacy_friendly` tracking mode must omit every personal field from `customer` and send only `ip` and `userAgent` — the order is then attached to an anonymous visitor derived from a server-computed daily session hash.
Send your API key as a bearer token in the Authorization header.
See Authentication for how to create and scope an API key.
projectIdThe project ID (e.g. proj_xxx) or slug that owns the order
orderIdThe order ID in your system
platformThe platform (e.g. shopify, woocommerce, etc.)
paymentMethodThe payment method
Allowed values:credit_carddebit_cardpixboletopaypalapple_paygoogle_paysamsung_paystripe_link
statusThe status
Allowed values:paidpendingrejectedrefundedcanceled
currencyThe currency in ISO 4217 format (e.g. USD, BRL, etc.) - defaults to the project currency if not provided
totalPriceThe total order price in floating point number (e.g. 10.4 for $10.40)
productstrackingcreatedAtThe order created at, defaults to the current date
approvedDateThe order approved date
refundedAtThe order refunded at
customerThe customer
The created order
messageA confirmation message.
data