Contains all the categories that are required for a specific site.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
name Type: string Required | Name of the category. Example: Women's Apparels | ||||||
alias Type: string | A unique handler string for a categories. Automatically generated from the name of categories. Example: women-apparels | ||||||
description Type: string | Brief description about the category. Example: A variety of women products. | ||||||
images Type: array | Multiple images related to the category. Example:
| ||||||
parent Type: string | Parent category (if any) of the category. Example: Apparels | ||||||
count Type: string Read Only | Number of products saved under the category. | ||||||
SEO Type: object | Contains SEO variables like title, description, keywords, canonical url and sitemap priority. Example:
| ||||||
metafield_sets Type: array | Meta fields to be used in case extend entity is used. | ||||||
publish Type: string | Flag that determines if a category is published i.e. visible to users. | ||||||
default_sort_order Type: string | Order by which a category's children will be sorted. Example: By date: Newest to oldest |
Name | Routes |
---|---|
add | post /api/1/entity/ms.categories TRY IT ! |
edit | put /api/1/entity/ms.categories/{_id} TRY IT ! |
list | get /api/1/entity/ms.categories TRY IT ! |
get | get /api/1/entity/ms.categories/{_id} TRY IT ! |
delete | delete /api/1/entity/ms.categories/{_id} TRY IT ! |
duplicate | put /api/1/entity/ms.categories/{_id}/_duplicate TRY IT ! |
Contains all the categories that are required for a specific site.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
name Type: string Required | Name of the category. Example: Women's Apparels | ||||||
alias Type: string | A unique handler string for a categories. Automatically generated from the name of categories. Example: women-apparels | ||||||
description Type: string | Brief description about the category. Example: A variety of women products. | ||||||
images Type: array | Multiple images related to the category. Example:
| ||||||
parent Type: string | Parent category (if any) of the category. Example: Apparels | ||||||
count Type: string Read Only | Number of products saved under the category. | ||||||
SEO Type: object | Contains SEO variables like title, description, keywords, canonical url and sitemap priority. Example:
| ||||||
metafield_sets Type: array | Meta fields to be used in case extend entity is used. | ||||||
publish Type: string | Flag that determines if a category is published i.e. visible to users. | ||||||
default_sort_order Type: string | Order by which a category's children will be sorted. Example: By date: Newest to oldest |
Name | Routes |
---|---|
add | post /api/1/entity/ms.categories TRY IT ! |
edit | put /api/1/entity/ms.categories/{_id} TRY IT ! |
list | get /api/1/entity/ms.categories TRY IT ! |
get | get /api/1/entity/ms.categories/{_id} TRY IT ! |
delete | delete /api/1/entity/ms.categories/{_id} TRY IT ! |
duplicate | put /api/1/entity/ms.categories/{_id}/_duplicate TRY IT ! |
Contains all the categories that are required for a specific site.
Name | Description | ||||||
---|---|---|---|---|---|---|---|
name Type: string Required | Name of the category. Example: Women's Apparels | ||||||
alias Type: string | A unique handler string for a categories. Automatically generated from the name of categories. Example: women-apparels | ||||||
description Type: string | Brief description about the category. Example: A variety of women products. | ||||||
images.image Type: file Required | Single image related to the category. Example: sample-image-women.png | ||||||
images Type: array | Multiple images related to the category. Example:
| ||||||
fields Type: array | |||||||
parent Type: string | Parent category (if any) of the category. Example: Apparels | ||||||
count Type: string Read Only | Number of products saved under the category. | ||||||
SEO Type: object | Contains SEO variables like title, description, keywords, canonical url and sitemap priority. Example:
| ||||||
metafield_sets Type: array | Meta fields to be used in case extend entity is used. | ||||||
publish Type: string | Flag that determines if a category is published i.e. visible to users. | ||||||
attributes Type: array | |||||||
default_sort_order Type: string | Order by which a category's children will be sorted. Example: By date: Newest to oldest | ||||||
images.caption Type: string | This field holds text which acts as title of image on storefront. Example: Women Apparels | ||||||
SEO.title Type: string | The title of the product to specify a custom title for the product page for SEO. If you do not specify this field, the product name is used as the title. Example: Beautiful Sarees | ||||||
SEO.keyword Type: string | Enter the keywords to specify custom meta keywords for the product page for SEO. It should be separated by commas. Example: Saree,Beautiful,Designer,Latest | ||||||
SEO.description Type: string | The description of the product to specify a custom meta description for the product page for SEO. If you do not specify this field, the product description is used as the meta description. Example: Write here a short note of 30-100 words that describes your product the best. |
Name | Routes |
---|---|
add | post /api/1/entity/ms.categories TRY IT ! |
edit | put /api/1/entity/ms.categories/{_id} TRY IT ! |
list | get /api/1/entity/ms.categories TRY IT ! |
get | get /api/1/entity/ms.categories/{_id} TRY IT ! |
delete | delete /api/1/entity/ms.categories/{_id} TRY IT ! |
duplicate | put /api/1/entity/ms.categories/{_id}/_duplicate TRY IT ! |