category

category.add

Add new category in store

post/category.add.json

Request

  • Base URL: https://api.api2cart.com/v1.1
  • URL: https://api.api2cart.com/v1.1/category.add.json
  • Auth: API key in header x-api-key and API key in header x-store-key

Query parameters

namestring required

Defines category's name that has to be added

descriptionstring

Defines category's description

short_descriptionstring

Defines short description

parent_idstring

Adds categories specified by parent id

availboolean

Defines category's visibility status

created_timestring

Entity's date creation

modified_timestring

Entity's date modification

sort_orderinteger

Sort number in the list

meta_titlestring

Defines unique meta title for each entity

meta_descriptionstring

Defines unique meta description of a entity

meta_keywordsstring

Defines unique meta keywords for each entity

seo_urlstring

Defines unique category's URL for SEO

store_idstring

Store Id

stores_idsstring

Create category in the stores that is specified by comma-separated stores' id

lang_idstring

Language id

idempotency_keystring

A unique identifier associated with a specific request. Repeated requests with the same <strong>idempotency_key</strong> return a cached response without re-executing the business logic. <strong>Please note that the cache lifetime is 15 minutes.</strong>

Response

successful operation

return_codeinteger
return_messagestring

Changes

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