Create Product Groups

You can create your own group as you wish with the following required information

API Endpoint

URL {base url}/api/Product/CreateProductGroup
Method POST
Authorization Bearer Token
Content-Type application/json

Request Headers

Parameter Type Required Description
APIKEY string true System key code

Request Parameters

Parameter Type Required Description
Code string true Product group code
Name string true Product group name
Tag string false tag word sample #car,#skincare

Request JSON Example


{
  "Code": "trv-2500336",
  "Name": "Ticket & Hotel",
  "Tag": "#travel"
}
    

Response Parameters

Parameter Type Description
Id integer Error status (0 = no error)
Success boolean Status of the request
Message string Response message
RequestId string Reference ID for the request
Size integer Number of records returned
Data object Product group data

Data

Parameter Type Description
ProductGroupId string return your created id

Response JSON Example


{
    "Id": 0,
    "Success": true,
    "Message": "SUCCESS",
    "RequestId": "4D1856EE-D806-4B23-86A8-AD889F819FE7",
    "Size": 1,
    "Data": {
        "ProductGroupId": "668CCFBD-E6F6-4F5D-AAB0-9F404D6AA0CB"
    }
}