Skip to main content

Get Categories By Store ID

POST/v3/service
  • Using storeId to get categories

Request Parameters

serviceString

alacarte service

Example: "alacarte"

versionString

Currently only support 'v1"

Example: "v1"

functionString

Function that provide by alacarte

Example: "get.category"

requestObject

Refer to explanation below

Example: (Refer to explanation below)

storeIdString

ID of the Store that Create from RM

Example: "1556079400120532579"

Response Parameters

itemsArray

(Refer to explanation below)

Example: (Refer to explanation below)

cursorString

Optional, if pagination exists.

Example: "0"

countUint

Current page record

Example: 2

categoryIdString

Category ID

Example: "5f68485ccb3285b9d3955696"

storeIdString

ID of the Store that Create from RM

Example: "1556079400120532579"

itemIdsArray

Category Items

Example: ["5f68485ccb3285b9d3955699"]

nameString

Item Name

Example: "Drinks"

statusString

Status of Category "ACTIVE" and "INACTIVE"

Example: "ACTIVE"

positionUint

Current position among Category

Example: 0

createdAtDateTime

Creation date time

Example: "2020-09-21T06:29:48.839Z"

updatedAtDateTime

Last update date time

Example: "2020-09-21T06:29:48.839Z"