interface address | hostname/openapi/v1/productOpenApi/queryProductByUid | ||
Request header | User-Agent: openApi Content-Type: application/json; charset=utf-8 Accept-encoding: gzip,deflate Time-stamp: 1437528688233 Data-signature: BF706E6AC693BA3B1BABD32E6713431D | ||
Request method | POST | ||
Request body | { "appId": "abcdefghijklmn", "productUid": 1366004607492564649 } | ||
parameter name | Is it necessary | Types of | Instructions |
appId | Yes | String | KYBIO configured access credentials |
productUid | Yes | Long | The unique identifier of the product in KYBIO system |
Return result | { "status": "success", "messages": [], "data":{ "uid": 1366004607492564649, "categoryUid": 813701230071893827, "name": "Jade Cabbage" { "barcode": "1001", "buyPrice": 10000, "sellPrice": 15000, "stock": 0, "pinyin": "CYBC", "customerPrice": 15000, "isCustomerDiscount": 1, "description": "Dimensions: Length 18.7 centimeters, width 9.1 centimeters, thickness 5.07 centimeters" "attribute1":"y", "attribute2":"", "attribute3":"", "attribute4":"" } } | ||
Field name | Types of | Instructions | |
Status | String | Whether the request is processed correctly, return success or error, case-insensitive | |
Messages | String[] | Processing result message | |
errorCode | Int | Operation process error code, see error code table | |
Data | Json | Product entity information | |
Uid | Long | Unique identifier of Product entity | |
categoryUid | Long | The unique identifier of the product category | |
Name | String | product name | |
Barcode | String | Product barcode | |
buyPrice | BigDecimal | Product cost price | |
sellPrice | BigDecimal | Product selling price | |
Stock | BigDecimal | Product stocks | |
Pinyin | String | Product Name Pinyin | |
customerPrice | BigDecimal | Product member price | |
isCustomerDiscount | Integer | Whether to open membership discount support, 0 or null does not open; 1 to open | |
Description | String [length 6000] | product description |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article