Purchase
POST https://api.attentivemobile.com/v1/events/ecommerce/purchase
Request Body
{"items"=>[{"productId"=>"AB12345", "productVariantId"=>"CD12345", "productImage"=>"http://my.cdn.com/products/new-product.png", "productUrl"=>"http://my-store.com/products/shirts/my-shirt", "name"=>"T-Shirt", "price"=>[{"value"=>19.99, "currency"=>"USD"}], "quantity"=>1}], "user"=>{"phone"=>"{{phone}}", "email"=>"{{email}}", "externalIdentifiers"=>{"clientUserId"=>"{{clientUserId}}", "customIdentifiers"=>[{"name"=>"string", "value"=>"string"}]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |