Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated links in example to be pointed to staging

Getting a product builder URL with one library item GUID

Request:

POST https://api.staging.milkbooks.com/library/{GUID}c087c127882249f09658414d9a3e2b4c/builder 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: 0

...

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/8.0
X-Powered-By: ServiceStack/3.956 Win32NT/.NET
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?QzpcTWlsa2Jvb2tzXEFQSVxNSUxLQm9va3MuQVBJXGxpYnJhcnlcNkFDRTE1ODEtNjZCQS00MjFBLUI1MUYtRDgyQTNFOTEwRjc4XGJ1aWxkZXI=?=
X-Powered-By: ASP.NET
Date: Mon, 16 Jun 2014 21:27:40 GMT
Content-Length: 131

{"ProductBuilderUrl":"httphttps://productbuildercheckout.api.staging.milkbookswebsite.eid.co.nzmilkbooks.com/builder/start/d4cf0dda-1431-4cc5-b41a-c381d46c9455"}

 

Getting a product builder URL with multiple library item GUIDs

...

{"Guids":["61BE503C-D812-4F6D-A124-3697C087A562","99E0707E-2C9E-40B7-A87A-762366199759"]}

...

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/8.0
X-Powered-By: ServiceStack/3.956 Win32NT/.NET
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?QzpcTWlsa2Jvb2tzXEFQSVxNSUxLQm9va3MuQVBJXGxpYnJhcnlcYnVpbGRlcg==?=
X-Powered-By: ASP.NET
Date: Mon, 16 Jun 2014 21:33:48 GMT
Content-Length: 131

{"ProductBuilderUrl":"httphttps://productbuilder.apicheckout.staging.milkbookswebsite.eid.co.nzmilkbooks.com/builder/start/f5519cff-c867-47ea-8049-0c087315c3bd"}