Created
April 1, 2015 23:46
-
-
Save predictioniogists/45a3f718b85de528605c to your computer and use it in GitHub Desktop.
Create new order event example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i -X POST http://localhost:7070/events.json?accessKey=nE9KITDzprLR6utwUJ9a4qDhscsKsjKFlXMcMsxVEdbkQjqYRm8pFcHHDdrM6Cid -H "Content-Type: application/json" -d '{ | |
> "event" : "$set", | |
> "entityType" : "order", | |
> "entityId" : "3", | |
> | |
> "properties" : { | |
> "spend" : "4.01", | |
> "city" : "san francisco", | |
> "state" : "CA", | |
> "store" : "Men Apparel" | |
> “customer” : “1” | |
> }, | |
> }' | |
HTTP/1.1 201 Created |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment