Create an order
extensiv_create_orderWRITE: submit a new outbound order for a customer and facility (the warehouse will pick and ship it). Not idempotent: calling twice creates two orders, so check extensiv_list_orders for the reference_num first. Needs ids from extensiv_list_customers, extensiv_list_facilities and SKUs from extensiv_list_items; billing_code, carrier and mode are required by Extensiv and must come from extensiv_list_carriers. POST /orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | The carrier's service mode code (from extensiv_list_carriers). | |
| items | Yes | The order lines. | |
| notes | No | Warehouse instructions. | |
| account | No | The shipper account number for third-party or collect billing. | |
| carrier | Yes | Carrier name, for example UPS (from extensiv_list_carriers). | |
| ship_to | Yes | The ship-to address. | |
| customer_id | Yes | The customer id the order is for. | |
| facility_id | Yes | The facility id that fulfils it. | |
| billing_code | Yes | Freight billing code as listed for the carrier by extensiv_list_carriers (billingCodes), for example Prepaid or BillThirdParty. | |
| reference_num | Yes | Your reference number for the order (for example a PO or web-shop order number). | |
| shipping_notes | No | Carrier-specific shipping instructions. |