Sign in

Create batch cart activity

documented

Create a batch of cart activity events.

POST /v3/{account_id}/shopper_activity/cart/batchShopper Activityno implementation yet0 runs
No 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/cart/batch" \
  -X POST \
  -u {{GETDRIP_API_KEY}}: \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"carts": [{"provider": "{{$provider}}","email": "{{$email}}","action": "{{$action}}","cart_id": "{{$cart_id}}","occurred_at": "{{$occurred_at}}","cart_public_id": "{{$cart_public_id}}","grand_total": {{$grand_total}},"total_discounts": {{$total_discounts}},"currency": "{{$currency}}","cart_url": "{{$cart_url}}","items": [{"product_id": "{{$product_id}}","product_variant_id": "{{$product_variant_id}}","sku": "{{$sku}}","name": "{{$name}}","price": {{$price}},"quantity": {{$quantity}},"discounts": {{$discounts}},"total": {{$total}},"color": "{{$color}}","product_url": "{{$product_url}}","image_url": "{{$image_url}}"}]}]}]}'