{"customer": {"email": "sample@test.com"},"opted_in": true,"subscriptions": [{"name": "True List Name","list_id": "sample_list","subscribed": true}]}
{"title": "Bad Request","status": 400,"timestamp": "2018-09-10T21:07:10-05:00","detail": {"invalids": []}}
{"message": "Forbidden"}
{"title": "Not Found","status": 404,"timestamp": "2018-09-10T21:07:10-05:00","detail": {"message": "Customer with email sample@zaius.com was not found"}}
curl -iX GET \'https://api.zaius.com/v3/lists/subscriptions?email=sample@test.com' \-H 'x-api-key: example.apiKey'
{"updates": [{"list_id": "sample_list","email": "sample@test.com","subscribed": true}]}
{"title": "Bad Request","status": 400,"timestamp": "2018-09-10T21:07:10-05:00","detail": {"invalids": [{"event": 0,"message": "Missing required field `product_id`"}]}}
{"message": "Forbidden"}
{"title": "Not Found","status": 404,"timestamp": "2018-09-10T21:07:10-05:00","detail": {"message": "Customer with email sample@zaius.com was not found"}}
Example Payload{"list_id": "sample_list","email": "sample@test.com","subscribed": false}
{"lists": [{"name": "Example List","created_at": "2018-09-10T21:07:10+00:00","list_id": "example_list"},{"name": "Example List 2","created_at": "2018-10-15T13:43:46+00:00","list_id": "example_list_2"}]}
{"title": "Forbidden","status": 403,"timestamp": "2018-09-10T21:07:10-05:00","detail": {"message": "Insufficient privileges to access this resource."}}
curl -iX GET \'https://api.zaius.com/v3/lists' \-H 'x-api-key: example.apiKey'
{"created": {"list_id": "sample_list","name": "Example List"}}
Example Payload{"name": "My List"}
​