Create order
documentedAdd or update an ecommerce order record.
POST /Ecommerce.svc/OrdersCommerceno 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://integration.delivra.com/DelivraRESTServices/eCommerce.svc/Orders" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "username: {{DELIVRA_USERNAME}}" \
-H "password: {{DELIVRA_PASSWORD}}" \
-H "listname: {{DELIVRA_LISTNAME}}" \
-d '{"orders": [{"ExternalOrderID": "{{$external_order_id}}", "eCommercePortal": "{{$portal}}", "OrderNumber": "{{$order_number}}", "CartToken": "{{$cart_token}}", "EmailAddress": "{{$email}}", "CurrencyCode": "{{$currency}}", "SubTotal": {{$subtotal}}, "Tax": {{$tax}}, "Shipping": {{$shipping}}, "Discount": {{$discount}}, "Total": {{$total}}, "ItemsTotal": {{$items_total}}, "ListName": "{{$list_name}}", "DiscountCode": "{{$discount_code}}", "ShippingMethod": "{{$shipping_method}}", "PaymentMethod": "{{$payment_method}}", "PaymentStatus": "{{$payment_status}}", "StatusCode": "{{$status}}"}]}'