Collection Groups

Update Categories

Update one or more categories.

For each category that you are going to update, only id is required. Fields that you do not want to update may be set to null or omitted fully. Categories that do not exist or user does not own will be ignored.

Default category (id: 0) may have only public property updated. Other properties will be ignored.

This operation is atomic, either all categories update or none. Successful response is the full category list, including categories that were not updated.

patch/collection/groups/v1

Request

  • Base URL: https://api.isthereanydeal.com
  • URL: https://api.isthereanydeal.com/collection/groups/v1
  • Auth: OAuth 2 (authorization code, authorization URL https://isthereanydeal.com/oauth/authorize/, token URL https://isthereanydeal.com/oauth/token/, scopes: coll_write)

Request body

idinteger required
titlestring nullable
publicboolean nullable
positioninteger nullable

Example request

[
  {
    "id": 123,
    "title": "Full update",
    "public": false,
    "position": "1\""
  },
  {
    "id": 0,
    "public": false
  }
]

Response

Success response

idinteger required
titlestring required
publicboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.