Skip to main content

Create Category

POST/v3/service
  • Using storeId name and status to create a category

Request Parameters

serviceString

alacarte service

Example: "alacarte"

versionString

Currently only support 'v1"

Example: "v1"

functionString

Function that provide by alacarte

Example: "create.category"

requestObject

Refer to explanation below

Example: (Refer to explanation below)

storeIdString

ID of the Store that Create from RM

Example: "1556079400120532579"

nameString

Category name

Example: "Drinks"

statusString

Status of Category "ACTIVE" and "INACTIVE"

Example: "ACTIVE"

Response Parameters

cursorString

Optional, if pagination exists.

Example: ""

countUint

Current page record

Example: 1

itemObject

(Refer to explanation below)

Example: (Refer to explanation below)

categoryIdString

Category ID

Example: "5f697cb3585d7cc1ae35a37f"

storeIdString

ID of the Store that Create from RM

Example: "1556079400120532579"

itemIdsArray

Category Items

Example: null

nameString

Item Name

Example: "Drinks"

statusString

Status of Category "ACTIVE" and "INACTIVE"

Example: "ACTIVE"

positionUint

Current position among Category

Example: 7

createdAtDateTime

Creation date time

Example: "2020-09-22T04:25:23.684330293Z"

updatedAtDateTime

Last update date time

Example: "2020-09-22T04:25:23.684330293Z"