Create order
documentedCreate an order.
POST /3dCartWebAPI/v1/OrdersOrdersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://apirest.3dcart.com/3dCartWebAPI/v1/Orders" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"InvoiceNumberPrefix": "{{$invoice_prefix}}", "InvoiceNumber": {{$invoice_number}}, "OrderID": {{$order_id}}, "CustomerID": {{$customer_id}}, "OrderDate": "{{$order_date}}", "OrderStatusID": {{$order_status_id}}, "BillingAddress": {"FirstName": "{{$billing_first_name}}", "LastName": "{{$billing_last_name}}", "Email": "{{$billing_email}}", "Address1": "{{$billing_address1}}", "City": "{{$billing_city}}", "Region": "{{$billing_region}}", "PostalCode": "{{$billing_postal}}", "Country": "{{$billing_country}}"}}}'