Report a purchase to Button by creating an Order record.

🚧

Line items unlock the ability to set segmented rates, allow for Publishers to run targeted product/category/event campaigns, and permit for easier debugging and customer service. Please read this section for more information.

👍

You should report all orders regardless of the presence of a Button attribution token to allow seamless customer support and investigation with Loyalty & Rewards Publishers. This call must be made with authentication.

Response

You will be returned an object that corresponds to your POST-ed order along with a Button Order ID. You do not need to store this ID as you can always manage orders in Button using the Order ID that you reported with the Order (your Order ID). Note a Button Order ID is not included in 202 Accepted responses.

Language
Authorization
Basic
base64
: