create_replenishment
Raise a replenishment order when stock vs POS delta reaches 6 or more, ordering in case-pack multiples.
Instructions
Raise a replenishment order when get_on_hand_vs_pos delta >= 6.
Call after get_on_hand_vs_pos when units_sold − available is at least 6. Prefer ordering in multiples of product.case_pack from that response.
Args: store_id: Store identifier (e.g. 47). sku: Product SKU to replenish (e.g. 8847291). quantity: Units to order (must be > 0; prefer case_pack multiples). reason: Why you are raising this order (required for audit). order_reason: Optional note stored on the replenishment order record. priority: One of low, normal, high, urgent (default normal).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | ||
| reason | Yes | ||
| priority | No | normal | |
| quantity | Yes | ||
| store_id | Yes | ||
| order_reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |