Item

postItemCategory

Adds new items category

post/postItemCategory

Request

  • Base URL
    https://api.cloudbeds.com/api/v1.3
  • URL
    https://api.cloudbeds.com/api/v1.3/postItemCategory
  • Auth
    • API key in header x-api-key
    • or OAuth 2
      Authorization code
      Scopes: write:item

Request body application/x-www-form-urlencoded

propertyIDstring nullable

Property ID

categoryNamestring

Category name

categoryCodestring nullable

Category code

itemIDinteger[] nullable

Existing ItemIDs to reassign to new category

categoryColorstring nullable

Category color (like #3b7be7)

Response

200 Response

successboolean

Returns if the request could be completed

categoryIDstring nullable

Category unique identifier (if success = true)

messagestring nullable

To be used in case any error occurs (if success = false). If success = true, it does not exist.

Changes

No recorded changes to this operation across all 2 revisions of this API.