Credit hold
core_hold_customerPut a customer on credit hold: no new orders confirm until released. A hold outranks the limit: however much room the numbers show, nothing confirms while it is on. Already-confirmed orders are not touched — fulfil and bill them as agreed; the hold is about taking on NEW exposure. Holds are for judgment the formula cannot see: a bounced check, a dispute turning sour, news about the customer. Effects: customer.on_hold set; o2c_confirm_order refuses while held.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why. Shown whenever the hold blocks something. | |
| customer_id | Yes | The customer. An existing customer id. |