Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

{"Id":30,"EmailAddress":"test2@example.com"}

Creating A Session

Request:

POST http://api.staging.milkbooks.com/session HTTP/1.1
content-type: application/json
accept: application/json
x-milk-api-key: 12345678-1234-1234-1234-123456789012
Host: api.staging.milkbooks.com
Content-Length: 58

...

{"BasketGuid":"80d968618ae54b4bae699a3b39aaadf5","CheckoutUrl":"http://checkout.api.staging.milkbooks.com/start.aspx?token=3456bbc7-0494-435f-b7da-e37d0e696500"}

 

Retrieve Orders

...

(Not deployed to staging yet)

Request:

GET http://api.staging.milkbooks.com/orders HTTP/1.1
content-type: application/json
accept: application/json
x-milk-api-key: 12345678-1234-1234-1234-123456789012
x-milk-session-id: aH41qm9/cnNEMCz3CAgs
Host: api.staging.milkbooks.com
Content-Length: 0

...