Record an order
documentedRecord a single order activity event.
POST /v3/{account_id}/shopper_activity/orderShopper Activityno 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://api.getdrip.com/v3/{{$account_id}}/shopper_activity/order" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-u {{GETDRIP_API_KEY}}: \
-d '{"provider": "{{$provider}}", "email": "{{$email}}", "action": "placed", "occurred_at": "{{$occurred_at}}", "order_id": "{{$order_id}}", "grand_total": {{$grand_total}}, "currency": "{{$currency}}", "order_url": "{{$order_url}}", "items": [{"product_id": "{{$product_id}}", "name": "{{$product_name}}", "sku": "{{$sku}}", "price": {{$price}}, "quantity": {{$quantity}}}]}'