According to the product ID and the material replacement information returned in the viewer, get the detailed information of the product that belongs to you. If the product does not belong to you, no data will be returned.
Product information can be edited on the product details page of the merchant backend
API
POST https://openapi.kujiale.com/v2/commodity/viewer/detail
Content-Type: application/json;x-qh-id: null;
The rendering status of the viewer generated by the corresponding brandgood will be obtained according to the total account information of the authenticated merchant and the brandgoodid information entered in the body.
If the brandgood does not belong to this user (including sub-accounts), the returned object of the corresponding brandgoodid will not appear in the returned d.list list.
If the brandgood does not generate a viewer, the returned object of the corresponding brandgoodid will not appear in the returned d.list list.
API
POST https://openapi.kujiale.com/v2/commodity/viewer/status
Content-Type: application/json;
Entry
Request Body
The number of obsbgid should not be more than 50
[
"3FO4KKRRWIXR"
]
Request body parameter description:
Join the list of brandgoodid
Returned products generate viewer status object list
d.status
No
number
Corresponding viewer generation status, please refer to appendix 1 for status enumeration
d.obsBrandGoodId
No
string
Brandgoodid of the entry
Appendix
Appendix 1: Viewer Status Enumeration
status
Chinese progress
5
Successful rendering
6
Rendering failed
0
Building
Get product details
Description
According to the product ID to obtain the detailed information of the product under the account system, if the product does not belong to the current account system, no data will be returned. Product information can be edited on the product details page of the merchant backend
API
GET https://openapi.kujiale.com/v2/commodity/detail
The upper limit of the number of pulls at one time. Considering data security and performance, the maximum value of num is limited to 50. If you need to pull more data, please initiate multiple requests. If the amount of remaining data is less than num, all remaining data will be returned. For example, start=0&num=10 means to pull the 1st to 10th data, start=10&num=10 means to pull the 11th to 20th data.
q
no
string
The query term will be used to fuzzy match the product name.
code
no
string
Commodity code is an identification field set by merchants for commodities under their own account system.
lastModifiedStart
no
long
The starting value in the time range of the most recent product update, accurate to milliseconds. The default is to start from the beginning of the product creation.
lastModifiedEnd
no
long
The end value in the time range of the most recent product update, accurate to milliseconds. The default is the current time.
Commodity type, the optional values are "hard outfit" and "soft outfit". When in doubt or inaccurate about this value, the more detailed subType shall prevail
d.result.subType
yes
number
For a more detailed classification of commodity types, see the enumeration in the appendix
d.result.size
no
object
Product size, the size information is only available when the subType of the product is 1. x, y, z represent the length, width, and height of the product
d.result.size.x
no
number
null
d.result.size.y
no
number
null
d.result.size.z
no
number
null
d.result.largeImgUrl
no
string
The URL of the product preview image
d.result.imgUrl
yes
string
Product preview URL.
d.result.brandName
no
string
Commodity brand name.
d.result.brandLogo
no
string
The URL of the product brand logo image
d.result.customTexture
no
string
product quality
d.result.code
no
string
Commodity code is an identification field set by merchants for commodities under their own account system
d.result.created
no
number
Creation timestamp
d.result.lastModified
no
number
Last modified timestamp
error code
code
name
description
21610000
Server Error
Server Error
appendix
catGroup enumeration value
Value
meaning
1
Model library
2
Post Gallery
3
Pave
4
Lines/wall panels
5
Cabinet tools
6
Wardrobe tools
subType enumeration value
value
meaning
1
model
3
hard outfit
4
Gusset
5
Skirting
8
Hardware
9
Parametric model
10
Brick
11
Wave line
12
Floor tile style
13
Integrated wall panel
14
Parametric lines
15
Parametric combination model
16
Combination model
17
contour line
18
Waterjet parquet
19
No physical model
Kooviewer obtains product replaceable materials
Description
Obtain product information about replaceable materials
API
GET https://openapi.kujiale.com/v2/modelviewer/commodity/replace
Entry
Query Param
Parameter
Is it necessary
Parameter type
Parameter description
brandgoodid
yes
string
Commodity id, only supports model type commodities