sfc_preview_order
Build and validate an SFC addOrder payload locally without submitting; review details and get customer approval before creating the order with confirmation.
Instructions
Build and validate an addOrder payload locally. Does NOT submit. Call sfc_create_order with confirm=true after customer approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| divisionId | No | opDivision; defaults to configured division | |
| goodsWidth | No | ||
| goodsHeight | No | ||
| goodsLength | No | ||
| goodsWeight | No | ||
| orderStatus | No | confirmed or preprocess | confirmed |
| pieceNumber | No | ||
| withBattery | No | ||
| goodsDetails | Yes | ||
| recipientCity | No | ||
| recipientName | Yes | ||
| worthCurrency | No | USD | |
| recipientEmail | No | ||
| recipientPhone | No | ||
| recipientState | No | ||
| shippingMethod | Yes | SFC shipping method code from list/rates | |
| customerOrderNo | No | Customer reference / unique order code | |
| goodsDescription | Yes | Order / parcel description | |
| recipientAddress | Yes | ||
| recipientCountry | Yes | ||
| recipientZipCode | No | ||
| goodsDeclareWorth | Yes | Total declared value | |
| recipientOrganization | No |