Item Categories

Create Item Category

Changed on
post/v1/item_categories

Request

  • Base URL
    https://api.aghanim.com/s2s
  • URL
    https://api.aghanim.com/s2s/v1/item_categories
  • Auth
    HTTP bearer

Request body

namestring required
descriptionstring
positioninteger required
parent_idstring
item_template_idstring
slugstring
iconstring
image_urlstring uri
header_image_urlstring uri
divider_image_urlstring uri
divider_position'top' | 'bottom'
divider_type'image' | 'mask'
background_colorstring
background_image_urlstring uri
background_size'contain' | 'repeat' | 'cover'
render_type'default' | 'carousel'
child_sort_attribute_namestring

Name of a player list attribute holding child category slugs in the order they must be shown.

show_descriptionboolean

Response

Successful Response

namestring required
descriptionstring
positioninteger required
parent_idstring
item_template_idstring
slugstring
iconstring
image_urlstring
header_image_urlstring
divider_image_urlstring
divider_position'top' | 'bottom'
divider_type'image' | 'mask'
background_colorstring
background_image_urlstring
background_size'contain' | 'repeat' | 'cover'
render_type'default' | 'carousel'
child_sort_attribute_namestring

Name of a player list attribute holding child category slugs in the order they must be shown.

show_descriptionboolean
idstring required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      added the new function enum value to the /// response property for the response status

    • info

      added the new optional request property /

    • info

      added the new function enum value to the request property ///

    • info

      added the optional property / to the response with the status