拥有研发能力的客户,可通过开放能力接口,将本文档提供的各项功能集成至自身系统中。定制化开发,丰富服务范围,提升用户体验及自身竞争力
{
"uniqueNo": "UUID.randomUUID().toString()",
"time": "System.currentTimeMillis()",
"name": "string",
"code": "string",
"categoryCode": "string",
"commodityType": "1",
"priceType": "1",
"taxRate": 0,
"brandCode": "string",
"slogan": "string",
"sellingPoint": [
"string"
],
"isCrossBorder": "false",
"sendCycle": 0,
"isInvoice": true,
"marks": "string",
"packing": "string",
"afterService": "string",
"title": "string",
"description": "string",
"keywords": "string",
"commodityRemark": {
"video": [
"string"
],
"imageList": [
{
"url": "string",
"linkType": "1",
"link": "string",
"imageType": "1"
}
],
"word": [
"string"
]
},
"logistics": {
"deliveryType": "1",
"carriageType": "1",
"weight": 0
},
"commoditySkuList": [
{
"skuCode": "string",
"unitPrice": 0,
"minPrice": 0,
"commodityPic": [
"string"
],
"name": "string",
"priceRate": 0,
"isMemberPrice": true,
"hsCode": "string",
"saleAttributeValueList": [
{
"attributeCode": "string",
"attributeValue": "string"
}
]
}
],
"remarkAttributeValueList": [
{
"attributeCode": "string",
"attributeValueList": [
"string"
]
}
],
"taxType": "string",
"taxCode": "string",
"isSerial": "false",
"isBatch": "false",
"quality": 0,
"qualityUnit": "string",
"distributionMode": "string",
"isBatchSend": "false",
"maxDeliveryTime": 0,
"maxDeliveryTimeUnit": 0,
"incomeTaxCode": "string",
"incomeTaxRate": "public static final BigDecimal ONE;",
"isPushOrder": "false",
"serviceType": "string",
"isInstall": "false",
"isDoorService": "false",
"isReturn": "false",
"isReturnPromise": "string",
"isGuarantee": "false",
"guaranteeTime": 0,
"guaranteeTimeUnit": "string",
"commodityLicenseList": [
{
"id": 0,
"licenseName": "string",
"licenseType": "string",
"licenseStartTime": "string",
"licenseEndTime": "string",
"licensePic": [
"string"
]
}
]
}curl --location --request POST 'https://dby-gateway-test-2023-v3.dbydata.cn/openApi/product/syncCommodity' \
--header 'Content-Type: application/json' \
--data-raw '{
"uniqueNo": "UUID.randomUUID().toString()",
"time": "System.currentTimeMillis()",
"name": "string",
"code": "string",
"categoryCode": "string",
"commodityType": "1",
"priceType": "1",
"taxRate": 0,
"brandCode": "string",
"slogan": "string",
"sellingPoint": [
"string"
],
"isCrossBorder": "false",
"sendCycle": 0,
"isInvoice": true,
"marks": "string",
"packing": "string",
"afterService": "string",
"title": "string",
"description": "string",
"keywords": "string",
"commodityRemark": {
"video": [
"string"
],
"imageList": [
{
"url": "string",
"linkType": "1",
"link": "string",
"imageType": "1"
}
],
"word": [
"string"
]
},
"logistics": {
"deliveryType": "1",
"carriageType": "1",
"weight": 0
},
"commoditySkuList": [
{
"skuCode": "string",
"unitPrice": 0,
"minPrice": 0,
"commodityPic": [
"string"
],
"name": "string",
"priceRate": 0,
"isMemberPrice": true,
"hsCode": "string",
"saleAttributeValueList": [
{
"attributeCode": "string",
"attributeValue": "string"
}
]
}
],
"remarkAttributeValueList": [
{
"attributeCode": "string",
"attributeValueList": [
"string"
]
}
],
"taxType": "string",
"taxCode": "string",
"isSerial": "false",
"isBatch": "false",
"quality": 0,
"qualityUnit": "string",
"distributionMode": "string",
"isBatchSend": "false",
"maxDeliveryTime": 0,
"maxDeliveryTimeUnit": 0,
"incomeTaxCode": "string",
"incomeTaxRate": "public static final BigDecimal ONE;",
"isPushOrder": "false",
"serviceType": "string",
"isInstall": "false",
"isDoorService": "false",
"isReturn": "false",
"isReturnPromise": "string",
"isGuarantee": "false",
"guaranteeTime": 0,
"guaranteeTimeUnit": "string",
"commodityLicenseList": [
{
"id": 0,
"licenseName": "string",
"licenseType": "string",
"licenseStartTime": "string",
"licenseEndTime": "string",
"licensePic": [
"string"
]
}
]
}'{
"code": 0,
"message": "string",
"data": true,
"time": 0
}