{
"productType": 0,
"saleMode": 0,
"presaleConfig": {
"presaleId": 0,
"productId": 0,
"saleMode": 0,
"depositType": 0,
"depositRatio": 0,
"isRoundDown": 0,
"depositFixedAmount": 0,
"finalPaymentType": 0,
"finalPaymentRelativeDays": 0,
"finalPaymentDurationDays": 0,
"finalPaymentDurationHours": 0,
"finalPaymentStartTime": "string",
"finalPaymentEndTime": "string",
"finalPaymentStartTimeStamp": 0,
"finalPaymentEndTimeStamp": 0,
"deliveryType": 0,
"deliveryRelativeDays": 0,
"deliveryRelativeHours": 0,
"deliveryDate": "string",
"deliveryDateTimestamp": 0,
"status": 0,
"createTime": 0,
"updateTime": 0
},
"deliveryMode": 0,
"cycleConfig": {
"settingMode": 0,
"cycleSpecs": [
0
],
"timesPerPeriod": 0,
"cycleType": 0,
"cycleInterval": 0,
"timesPerCycle": 0,
"deliveryWeekdays": [
0
],
"deliveryDays": [
0
],
"orderCutoffDays": 0,
"orderCutoffTime": "string",
"status": 0,
"specs": [
{
"periodNum": 0,
"cycleSpecId": 0,
"periodName": "string",
"originalPrice": 0,
"cyclePrice": 0,
"displayName": "string",
"disabled": 0,
"skuSpecs": [
{
"cycleSpecId": 0,
"skuId": 0,
"skuValue": "string",
"periodName": "string",
"originalPrice": 0,
"cyclePrice": 0,
"disabled": 0,
"displayName": "string"
}
]
}
],
"deliveryType": 0,
"redeemTotalTimes": 0,
"effectiveType": 0,
"effectiveDelayValue": 0,
"effectiveDelayUnit": 0,
"validityType": 0,
"validityValue": 0,
"validityUnit": 0,
"validityStartDate": "string",
"validityEndDate": "string"
},
"productStock": 999999,
"freeShipping": 0,
"shopCategoryId": 0,
"productStatus": 0,
"giveIntegral": 0,
"rankIntegral": 0,
"integral": 0,
"productWeight": 0,
"productDescArr": [
{
"type": "string",
"pic": "string",
"html": "string",
"cover": "string",
"videoUrl": "string"
}
],
"productRelated": [
0
],
"serviceList": [
{
"productServiceId": 0,
"productServiceName": "string",
"productServiceDesc": "string",
"icoImg": "string",
"sortOrder": 0,
"defaultOn": 0,
"shopId": 0
}
],
"productId": 0,
"productName": "string",
"seoIdentification": "string",
"productSn": "string",
"productTsn": "string",
"productPrice": 0,
"marketPrice": 0,
"costPrice": 0,
"shippingTplId": 0,
"categoryId": 0,
"brandId": 0,
"shopId": 0,
"keywords": "string",
"checkStatus": 0,
"checkReason": "string",
"clickCount": 0,
"isPromote": true,
"isPromoteActivity": true,
"promotePrice": 0,
"promoteStartDate": "string",
"promoteEndDate": "string",
"seckillMaxNum": 0,
"productBrief": "string",
"productDesc": "string",
"picUrl": "string",
"picThumb": "string",
"picOriginal": "string",
"commentTag": "string",
"addTime": "string",
"sortOrder": 0,
"storeSortOrder": 0,
"isDelete": 0,
"isBest": 0,
"isNew": 0,
"isHot": 0,
"fixedShippingType": 0,
"fixedShippingFee": 0,
"lastUpdate": "string",
"remark": "string",
"suppliersId": 0,
"virtualSales": 0,
"limitNumber": 0,
"productCare": "string",
"productServiceIds": [
0
],
"isSupportReturn": 0,
"isSupportCod": 0,
"productVideo": "string",
"prepayPrice": 0,
"cardGroupId": 0,
"virtualSample": "string",
"paidContent": [
{}
],
"noShipping": 0,
"imgList": [
{
"picId": 0,
"shopId": 0,
"galleryId": 0,
"picOwerId": 0,
"picUrl": "string",
"picName": "string",
"picThumb": "string",
"addTime": "string",
"vendorId": 0,
"hidden": 0,
"picWidth": 0,
"picHeight": 0,
"picSize": 0,
"fileType": "string",
"picSort": 0,
"source": "string"
}
],
"productVideoInfo": [
{
"id": 0,
"videoId": 0,
"productId": 0,
"videoUrl": "string",
"videoCover": "string",
"format": "string"
}
],
"productWeightByUnit": 0,
"productArticleList": [
0
],
"attrList": {
"normal": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
],
"spe": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
],
"extra": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
]
},
"productList": [
{
"skuId": 0,
"productId": 0,
"skuValue": "string",
"skuData": [
{
"name": "string",
"value": "string",
"attrPicThumb": "string"
}
],
"skuSn": "string",
"skuStock": 0,
"skuTsn": "string",
"skuPrice": "string",
"marketPrice": 0,
"costPrice": 0,
"deliveryServiceFeeType": 0,
"deliveryServiceFeeValue": 0,
"serverServiceFeeType": 0,
"serverServiceFeeValue": 0,
"platformDeliveryServiceFeeType": 0,
"platformDeliveryServiceFeeValue": 0,
"platformServerServiceFeeType": 0,
"platformServerServiceFeeValue": 0,
"storeDeliveryServiceFeeType": 0,
"storeDeliveryServiceFeeValue": 0,
"storeServerServiceFeeType": 0,
"storeServerServiceFeeValue": 0,
"vendorProductSkuId": 0,
"depositAmount": 0,
"finalPaymentAmount": 0,
"supplyPrice": 0,
"attrNames": [
"string"
],
"attrValues": [
"string"
],
"attrs": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
]
}
],
"skuType": 0,
"deliveryServiceFeeType": 0,
"deliveryServiceFeeValue": 0,
"serverServiceFeeType": 0,
"serverServiceFeeValue": 0,
"errcode": 0,
"message": "string",
"suppliersList": [
{
"suppliersId": 0,
"suppliersName": "string",
"suppliersDesc": "string",
"isShow": 0,
"isCheck": 0,
"country": 0,
"province": 0,
"city": 0,
"district": 0,
"contactName": "string",
"contactPhone": "string",
"contactAddress": "string",
"shopId": 0
}
],
"shippingTplList": [
{
"shippingTplId": 0,
"shippingTime": "string",
"shippingTplName": "string",
"isFree": 0,
"pricingType": 0,
"isDefault": 0,
"shopId": 0
}
],
"productInfo": "string",
"seoProductTitle": "string",
"attrChanged": true,
"cartId": 0,
"skuId": 0,
"activityInfo": [
{
"promotionId": 0,
"promotionName": "string",
"startTime": "string",
"endTime": "string",
"type": 0,
"shopId": 0,
"relationId": 0,
"range": 0,
"rangeData": [
0
],
"skuIds": [
0
],
"isAvailable": 0,
"isDelete": 0,
"typeText": "string",
"data": {
"property1": {},
"property2": {}
},
"isReceive": 0,
"amount": 0,
"timeText": "string",
"memberRange": 0,
"memberMarks": [
0
]
}
],
"isChecked": true,
"isShopPickup": 0,
"isLogistics": 0,
"isShopDelivery": 0,
"shopPickupTplId": 0,
"reservationTplId": 0,
"reservationTimes": [
{
"startTime": "string",
"endTime": "string"
}
],
"giftCardGroupsId": 0,
"productUnit": "string",
"attributesTplId": 0,
"autoOnlineTime": "string",
"autoOfflineTime": "string"
}curl --location '/adminapi/setting/config/saveProduct' \
--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJseWVjc0AyMDIzIiwiYXVkIjoiIiwiaWF0IjoxNzcwMTkyNjg0LCJuYmYiOjE3NzAxOTI2ODQsImV4cCI6MTc3MTQ4ODY4NCwiZGF0YSI6eyJhcHBJZCI6IjEiLCJ1dWlkIjoiMWZlMzNjOWY4MGZkYTg0NzcyMTRhMzcwZmRjNzM3MDQifX0.IfHrDPDf_7VMF2QcHrRdLlu6s50fDPBD-svlGpj0EFE' \
--header 'X-Shop-Id: 0' \
--header 'x-vendor-id;' \
--header 'x-admin-type: admin' \
--header 'Content-Type: application/json' \
--data '{
"productType": 0,
"saleMode": 0,
"presaleConfig": {
"presaleId": 0,
"productId": 0,
"saleMode": 0,
"depositType": 0,
"depositRatio": 0,
"isRoundDown": 0,
"depositFixedAmount": 0,
"finalPaymentType": 0,
"finalPaymentRelativeDays": 0,
"finalPaymentDurationDays": 0,
"finalPaymentDurationHours": 0,
"finalPaymentStartTime": "string",
"finalPaymentEndTime": "string",
"finalPaymentStartTimeStamp": 0,
"finalPaymentEndTimeStamp": 0,
"deliveryType": 0,
"deliveryRelativeDays": 0,
"deliveryRelativeHours": 0,
"deliveryDate": "string",
"deliveryDateTimestamp": 0,
"status": 0,
"createTime": 0,
"updateTime": 0
},
"deliveryMode": 0,
"cycleConfig": {
"settingMode": 0,
"cycleSpecs": [
0
],
"timesPerPeriod": 0,
"cycleType": 0,
"cycleInterval": 0,
"timesPerCycle": 0,
"deliveryWeekdays": [
0
],
"deliveryDays": [
0
],
"orderCutoffDays": 0,
"orderCutoffTime": "string",
"status": 0,
"specs": [
{
"periodNum": 0,
"cycleSpecId": 0,
"periodName": "string",
"originalPrice": 0,
"cyclePrice": 0,
"displayName": "string",
"disabled": 0,
"skuSpecs": [
{
"cycleSpecId": 0,
"skuId": 0,
"skuValue": "string",
"periodName": "string",
"originalPrice": 0,
"cyclePrice": 0,
"disabled": 0,
"displayName": "string"
}
]
}
],
"deliveryType": 0,
"redeemTotalTimes": 0,
"effectiveType": 0,
"effectiveDelayValue": 0,
"effectiveDelayUnit": 0,
"validityType": 0,
"validityValue": 0,
"validityUnit": 0,
"validityStartDate": "string",
"validityEndDate": "string"
},
"productStock": 999999,
"freeShipping": 0,
"shopCategoryId": 0,
"productStatus": 0,
"giveIntegral": 0,
"rankIntegral": 0,
"integral": 0,
"productWeight": 0,
"productDescArr": [
{
"type": "string",
"pic": "string",
"html": "string",
"cover": "string",
"videoUrl": "string"
}
],
"productRelated": [
0
],
"serviceList": [
{
"productServiceId": 0,
"productServiceName": "string",
"productServiceDesc": "string",
"icoImg": "string",
"sortOrder": 0,
"defaultOn": 0,
"shopId": 0
}
],
"productId": 0,
"productName": "string",
"seoIdentification": "string",
"productSn": "string",
"productTsn": "string",
"productPrice": 0,
"marketPrice": 0,
"costPrice": 0,
"shippingTplId": 0,
"categoryId": 0,
"brandId": 0,
"shopId": 0,
"keywords": "string",
"checkStatus": 0,
"checkReason": "string",
"clickCount": 0,
"isPromote": true,
"isPromoteActivity": true,
"promotePrice": 0,
"promoteStartDate": "string",
"promoteEndDate": "string",
"seckillMaxNum": 0,
"productBrief": "string",
"productDesc": "string",
"picUrl": "string",
"picThumb": "string",
"picOriginal": "string",
"commentTag": "string",
"addTime": "string",
"sortOrder": 0,
"storeSortOrder": 0,
"isDelete": 0,
"isBest": 0,
"isNew": 0,
"isHot": 0,
"fixedShippingType": 0,
"fixedShippingFee": 0,
"lastUpdate": "string",
"remark": "string",
"suppliersId": 0,
"virtualSales": 0,
"limitNumber": 0,
"productCare": "string",
"productServiceIds": [
0
],
"isSupportReturn": 0,
"isSupportCod": 0,
"productVideo": "string",
"prepayPrice": 0,
"cardGroupId": 0,
"virtualSample": "string",
"paidContent": [
{}
],
"noShipping": 0,
"imgList": [
{
"picId": 0,
"shopId": 0,
"galleryId": 0,
"picOwerId": 0,
"picUrl": "string",
"picName": "string",
"picThumb": "string",
"addTime": "string",
"vendorId": 0,
"hidden": 0,
"picWidth": 0,
"picHeight": 0,
"picSize": 0,
"fileType": "string",
"picSort": 0,
"source": "string"
}
],
"productVideoInfo": [
{
"id": 0,
"videoId": 0,
"productId": 0,
"videoUrl": "string",
"videoCover": "string",
"format": "string"
}
],
"productWeightByUnit": 0,
"productArticleList": [
0
],
"attrList": {
"normal": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
],
"spe": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
],
"extra": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
]
},
"productList": [
{
"skuId": 0,
"productId": 0,
"skuValue": "string",
"skuData": [
{
"name": "string",
"value": "string",
"attrPicThumb": "string"
}
],
"skuSn": "string",
"skuStock": 0,
"skuTsn": "string",
"skuPrice": "string",
"marketPrice": 0,
"costPrice": 0,
"deliveryServiceFeeType": 0,
"deliveryServiceFeeValue": 0,
"serverServiceFeeType": 0,
"serverServiceFeeValue": 0,
"platformDeliveryServiceFeeType": 0,
"platformDeliveryServiceFeeValue": 0,
"platformServerServiceFeeType": 0,
"platformServerServiceFeeValue": 0,
"storeDeliveryServiceFeeType": 0,
"storeDeliveryServiceFeeValue": 0,
"storeServerServiceFeeType": 0,
"storeServerServiceFeeValue": 0,
"vendorProductSkuId": 0,
"depositAmount": 0,
"finalPaymentAmount": 0,
"supplyPrice": 0,
"attrNames": [
"string"
],
"attrValues": [
"string"
],
"attrs": [
{
"attrName": "string",
"attrValues": [
"string"
]
}
]
}
],
"skuType": 0,
"deliveryServiceFeeType": 0,
"deliveryServiceFeeValue": 0,
"serverServiceFeeType": 0,
"serverServiceFeeValue": 0,
"errcode": 0,
"message": "string",
"suppliersList": [
{
"suppliersId": 0,
"suppliersName": "string",
"suppliersDesc": "string",
"isShow": 0,
"isCheck": 0,
"country": 0,
"province": 0,
"city": 0,
"district": 0,
"contactName": "string",
"contactPhone": "string",
"contactAddress": "string",
"shopId": 0
}
],
"shippingTplList": [
{
"shippingTplId": 0,
"shippingTime": "string",
"shippingTplName": "string",
"isFree": 0,
"pricingType": 0,
"isDefault": 0,
"shopId": 0
}
],
"productInfo": "string",
"seoProductTitle": "string",
"attrChanged": true,
"cartId": 0,
"skuId": 0,
"activityInfo": [
{
"promotionId": 0,
"promotionName": "string",
"startTime": "string",
"endTime": "string",
"type": 0,
"shopId": 0,
"relationId": 0,
"range": 0,
"rangeData": [
0
],
"skuIds": [
0
],
"isAvailable": 0,
"isDelete": 0,
"typeText": "string",
"data": {
"property1": {},
"property2": {}
},
"isReceive": 0,
"amount": 0,
"timeText": "string",
"memberRange": 0,
"memberMarks": [
0
]
}
],
"isChecked": true,
"isShopPickup": 0,
"isLogistics": 0,
"isShopDelivery": 0,
"shopPickupTplId": 0,
"reservationTplId": 0,
"reservationTimes": [
{
"startTime": "string",
"endTime": "string"
}
],
"giftCardGroupsId": 0,
"productUnit": "string",
"attributesTplId": 0,
"autoOnlineTime": "string",
"autoOfflineTime": "string"
}'