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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shippingMethod": "<shippingMethod>",
"recipientName": "<recipientName>",
"recipientCountry": "<recipientCountry>",
"recipientAddress": "<recipientAddress>",
"goodsDescription": "<goodsDescription>",
"goodsDeclareWorth": "<goodsDeclareWorth>",
"goodsDetails": "<goodsDetails>"
},
"name": "sfc_preview_order"
}
}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 |