Picture

Get Product Properties

Picture

Request Header

Name
Type
Required
Description
Authorization
String
Required
OAuth token obtained after the user has provided consent and the authorized partner calls the /authorization/Connect/Token endpoint to retrieve this token
Ocp-Apim-Subscription-Key
String
Required

Example Request

curl --location -g --request GET 'https://api.veniocrm.com/dev/v1/Products/properties' \

--header 'Ocp-Apim-Subscription-Key;<Your Subscription-Key>' \

--header 'Authorization: <Your access_token>'

Download postman Collection

Response

Name
Type
Description
productPropertyId
Integer
รหัสกลุ่ม
propertyName
Integer
ประเภทกลุ่ม
description
Integer
รหัสกลุ่มหลัก
companyId
String
ชื่อกลุ่ม
isActive
Boolean
ใช้งานอยู่หรือไม่
productPropertyValues
List<ProductPropertyValue>
รายการค่าของสินค้า
productPropertyValueId
Long
รหัสค่าของคุณสมบัติ
productPropertyId
Long
รหัสคุณสมบัติ
value
String
ค่าของคุณสมบัติ
isActive
Boolean
สถานะการใช้งาน

Example Response

{

    "data": {

        "value": [

            {

                "productPropertyId": 0,

                "propertyName": "string",

                "description": "string",

                "companyId": 0,

                "isActive": true,

                "productPropertyValues": [

                    {

                        "productPropertyValueId": 0,

                        "productPropertyId": 0,

                        "value": "string",

                        "isActive": true

                    }

                ]

            }

        ],

        "formatters": [],

        "statusCode": 200

    },

    "statusCode": 1000,

    "httpStatusCode": 200

}

Response Codes

HTTP Status Code
Description
200
Get ข้อมูลคุณสมบัติสินค้าสำเร็จ
400
ข้อมูลไม่ถูกต้อง
401
Unauthorized
403
Forbidden
© Copyright 2021 Gofive Co., Ltd. All right reserved.