wafle_orders_create
Create orders manually for migrations or telephone sales, bypassing the storefront. Safe to retry on transient errors.
Instructions
Manually create an order. Use only for migrations or telephone sales — normal orders flow from the storefront.
Body uses canonical snake_case shape: items[]+payment_method+gateway_id (see waffle-docs/API-CONVENTIONS.md). Idempotency-Key header is auto-set; safe to retry on transient errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| items | Yes | ||
| customer | Yes | ||
| metadata | No | ||
| shipping | No | ||
| gateway_id | No | Explicit gateway id — overrides payment_method routing. | |
| coupon_code | No | ||
| payment_method | No | Payment method routing — wafle picks the matching gateway unless gateway_id is set. | transfer |