Catalogues

Assign or unassign items to/from a catalogue

Assign items to a catalogue or unassign them to make them standalone.

post/catalogues/items/assign

Request

  • Base URL: https://api.yourang.ai/v1
  • URL: https://api.yourang.ai/v1/catalogues/items/assign
  • Auth: API Key (a scheme the document does not define)

Request body

catalogue_idstring uuid nullable

Catalogue ID to assign items to (null or omit to unassign)

item_idsstring[] required

List of item IDs to assign/unassign

Example request

{
  "catalogue_id": "123e4567-e89b-12d3-a456-426614174000",
  "item_ids": [
    "789e0123-e89b-12d3-a456-426614174002",
    "890e0123-e89b-12d3-a456-426614174003"
  ]
}

Response

Items assigned/unassigned successfully

okboolean

Changes

No recorded changes to this endpoint across all 8 revisions of this API.