complete_purchase
Complete a checkout and place the order.
Only call this when the checkout status is 'ready_for_complete'. Records the purchase as a conversion in telemetry and ends the attribution session.
Returns the order confirmation with order ID and receipt link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session identifier for telemetry. Use the same one from search/checkout. | |
| checkout_id | Yes | The checkout session ID to complete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |