NOTE: Used only in Distribution API. Attributes
Data ExamplesJSON { "id": "", "name": " Pets Super Magazine, Inc.",
XML <account> <id>speru293erfweyrf02yer0fwyr8</id> <name>Pets Super Magazine, Inc.</name> <website_url>http://petsupermagazine.com/</website_url> <status>active</status> </account> ActionsYou can create, update and delete accounts. Create AccountSome text... POST /accounts JSON Request {
"account": {
"name": "mySimon, Inc.", "website_url": "http://dailydeals.mysimon.com"
}
} Response HTTP/1.1 200 OK
{
"status": "OK",
"account": {
"id": "erfu2098fu2uer02fu0reu2290e8fr",
"name": " mySimon, Inc. ",
"website_url": "http://dailydeals.mysimon.com",
"status": "pending"
}
} XML Request <?xml version="1.0" encoding="UTF-8"?> <account> <name>mySimon, Inc.</name> <website_url>http://dailydeals.mysimon.com</website_url> </account> Response HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>OK</status>
<account>
<id>3iery928yrefwy0e827y9erbyq</id>
<name> mySimon, Inc. </name> <website_url>http://dailydeals.mysimon.com</website_url> <status>pending</status>
</account>
</response> Update AccountPUT /accounts/:id Query AccountsGET /accounts Get Account DetailsGET /accounts/:id Delete AccountDELETE /accounts/:id |
8 API Reference > Resources >