agent_buy_course
Build a checkout for one or more courses
Turn a course into a purchase. Give one or more product ids and this creates a real cart on the store and returns a checkout link that completes the sale. Free to call; the course price is paid at checkout. Use agent_search_courses to find the product id first. Multiple ids go in one cart, so a recommended set can be bought together in a single transaction.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | main | |
| product_ids | Yes |