Categories

​The Category Object

Categories returned by the API take this format: { // Dates "created_at": ISODate("2016-06-26T15:30:38.731Z"), "updated_at": ISODate("2016-06-26T15:40:28.926Z"), // Identifiers "account_id": "test_ac…

Taylor Sloane
Updated by Taylor Sloane

Creating a Category

POST /category Arguments Required? title Yes description No Example response: { "category": Category }

Taylor Sloane
Updated by Taylor Sloane

Deleting a Category

DELETE /category/:category_id Arguments Required? category_id Yes Example response: { "success": true }

Taylor Sloane
Updated by Taylor Sloane

Getting Categories

GET /category Example response: { "categories": [ Category ] }

Taylor Sloane
Updated by Taylor Sloane

Getting a Single Category

GET /category/:category_id Arguments category_id Required ID of the category you're trying to GET Example response: { "category": Category }

Taylor Sloane
Updated by Taylor Sloane

Updating a Category

PATCH /category/:category_id Arguments Required? category_id String Yes title String No description String No multilingual CategoryMultilingual Array No Example response: { "category": Category } Upd…

Taylor Sloane
Updated by Taylor Sloane

Contact

This site is protected by hCaptcha and its Privacy Policy and Terms of Service apply.