Submit Order to 3PL
teapplix_submit_3plSubmit an order to a 3PL (third-party logistics) vendor for fulfillment. Handles both unshipped orders (submit path) and already-shipped orders (review path, when a tracking number exists). Status is one of: Accepted, Declined, NotFound. Use teapplix_get_ship_methods with Carrier=<3PLType> to discover valid ShipMethod values for the vendor. [DEMO]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| TxnId | Yes | Teapplix order ID to submit to the 3PL. | |
| 3PLKey | No | If you linked more than one account with the same 3PLType, 3PLKey uniquely identifies the account. | |
| Weight | No | Total weight of the order items. Optional; many 3PLs will compute this themselves based on item info in the order. | |
| 3PLType | Yes | 3PL vendor type (e.g. "lingxingwms", "eccangwms"). The value of this is typcally provided from request context. | |
| ShipMethod | No | 3PL service code or ship method requested. May be required for certain 3PLs; for others it may be computed based on other parameters. | |
| 3PLWarehouseCode | No | For most 3PLs, an id indicating requested warehouse facility to ship the order out of. For 3PLType="teapplix" this is the receiver_account_name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| TxnId | No | Original Teapplix TxnId | |
| Status | No | Accepted vs Declined | |
| Message | No | ||
| Success | No | true for success, false for failure | |
| DropshipTxnId | No | 3PL assigned order id. This is saved internally also to Teapplix so you not have to remember them |