< Back to zoomrank.com

Update Account

URL

http://vendor.zoomrank.com/accounts/:id.json

Supported formats

JSON

Supported request methods

PUT

Example

Update account with ID 1

http://vendor.zoomrank.com/accounts/1.json

Arguments

Argument Description Format
account The JSON object for the updated account (See example request) JSON

Considerations

Only the name and external_id fields can be updated.

Account Object

Field Description Format
external_id Your unique identifier char(125)
name Person/Company/Client name char(50)
dow Weekly ranking day-of-week 0 - 6 (0 = Sunday)

Response Codes

200 - Success (updated)
304 - Not modified.
400 - Bad request. See error response.
500 - Unexpected error. Try again.

Example Request

{
	"external_id": "4321",
	"name": "My Updated Account"
}

Example Response

{
	"id": 1,
	"external_id": "4321",
	"name": "My Updated Account",
	"dow": null
}