Create an order
ezrentout_create_orderCreate a new rental order (a draft until it is booked or rented out) for a customer, optionally with assets and dates. If the customer belongs to several businesses, pass business_id. Does not rent anything out and does not charge. POST /baskets.api.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due_date | No | Due (return) date (mm/dd/yyyy). | |
| business_id | No | The business, when the contact is part of several. | |
| customer_id | Yes | The customer or business-contact id, from ezrentout_list_customers. | |
| description | No | Order description. | |
| asset_numbers | No | Assets to add (asset numbers; a bundle as <id>-b). | |
| expected_checkout_date | No | Expected check-out date (mm/dd/yyyy). | |
| expected_checkout_time | No | Expected check-out time (hh:mm, 24 hours). |