One row per field. Required means the request will be rejected without it; all other fields are optional and fall back to server-side defaults when omitted. Max is the server-side storage width — values longer than this are either silently truncated (on the truncating fields listed in § 04) or stored up to the listed limit. Field names are case-sensitive.
Top-level order fields
| Field | Type | Required | Max | Notes |
|---|---|---|---|---|
| JOB_NAME | string | optional | 20 | Job / project name. Prints on packing slip and order documents. Silently truncated to 20 chars server-side. |
| SHIP_TO_FNAME | string | optional | — | First name of ship-to contact. Combined with SHIP_TO_LNAME. Combined contact name is stored up to ~30 chars. |
| SHIP_TO_LNAME | string | optional | — | Last name of ship-to contact. |
| SHIP_TO_COMPANY | string | optional | 30 | Ship-to company / business name. Silently truncated to 30 chars. |
| SHIP_TO_ADDRESS | string | optional | 30 | Single-line street address. Include suite / unit in this field. Silently truncated to 30 chars. |
| SHIP_TO_CITY | string | optional | — | Composed with state, ZIP, country into a single display line server-side. |
| SHIP_TO_STATE | string | optional | 2 | Two-letter US state / province code. |
| SHIP_TO_ZIP | string | optional | 10 | NNNNN or NNNNN-NNNN. |
| SHIP_TO_COUNTRY | string | optional | 2 | ISO 3166-1 alpha-2 code. Defaults to US. |
| SHIP_TO_PHONE | string | optional | — | Any format. Server strips non-digits, drops leading 1 if 11 digits, reformats as NNN/NNN-NNNN. |
| SHIP_VIA | string, enum | optional | 2 | Carrier code. See § 03. If omitted, FHC default carrier used. Server may substitute based on customer & destination. |
| PURCHASE_ORDER | string | optional | 15 | Your internal PO reference. Silently truncated to 15 chars. |
| ORDER_COMMENTS | string | optional | unlimited | Free text. Split server-side at 30-char word boundaries and stored as a multi-value list. |
| ORDR_EMAIL | string, email | optional | ~40 | Contact email. Note attribute spelling (ORDR_EMAIL, not ORDER_EMAIL). |
| LOC | string, enum | optional | 2 | Warehouse code. See § 02. |
| REQUESTED_BY | string | optional | ~15 | Name of the person requesting the order. |
| ORDER_LINES | array | required | — | At least one line item. |
ORDER_LINES item fields
| Field | Type | Required | Max | Notes |
|---|---|---|---|---|
| PRODUCT_CODE | string | required | 15 | FHC product SKU. Uppercase required — pattern ^[A-Z0-9-]+$. |
| ORDER_QUANTITY | integer | required | 6-digit | Positive integer, minimum 1. |
Injected server-side (do not send)
| Field | Type | Source | Max | Notes |
|---|---|---|---|---|
| CUSTOMER_NUMBER | integer | token | — | Force-injected from the authenticated token. Any value in request body is ignored. |