Sign in

Create or update a batch of carts

documented

Batch-create or batch-update carts.

POST /v2/{account_id}/carts/batchesBatch APIno 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}}", "name": "{{$name}}", "price": {{$price}}, "quantity": {{$quantity}} } ] } ] }'