Actions119
- Products Actions
- Categories Actions
- Customers Actions
- Customer Groups Actions
- Agents Actions
- Contacts Actions
- Orders Actions
- Offers Actions
- Preorders Actions
- Payment Methods Actions
- Pricelists Actions
- Product Units Actions
- Product Types Actions
- Tags Actions
- Tag Types Actions
- Tax Rates Actions
- Reorder Reminders Actions
- Prospects Actions
- Activities Actions
- Statistics Actions
Prospects → Book
AI-generatedSummary
Book a prospect for an agent by sending a booking request with the prospect's ID and the agent's ID, which associates the prospect with the agent unless re-booking is blocked.
Inputs
- Id (required) — The unique identifier of the prospect to be booked.
- Agent Id (required) — The identifier of the agent that books the prospect, sent as a query parameter (agentId).
Output shape
a single JSON object containing the booking confirmation or error information.
Returns a JSON response from the API indicating success or failure of the booking operation. If booking is blocked due to anti re-booking rules, a 409 error is expected.