Collections
...
Collections API
Collections

Update Collection

3min

Update Collection

Collections can be updated by making an HTTP PUT to the /collections/COLLECTION_ID endpoint (where COLLECTION_ID is the id of the Collection). The body can be either x-www-form-urlencoded parameters or a JSON object.

The parameters for updating a Collection are the same as those used when creating a Collection.



Example

PUT /collections/COLLECTION_ID

In the example below we update a Collection with id=123456 to run weekly, on Monday at 8am:

Curl
Node.js
Python
PHP


Rainforest API responds with a JSON object containing details of the updated Collection.

A Collection can only be updated when it is not running. To check whether a Collection is currently running use the Get Collection endpoint.



Next Steps      Start Collection      Get Collection