{
"accountNumber": "string",
"sellerId": "string",
"compressFlag": "true",
"compressedData": "string",
"compressedPayload": {
"freightItemDTO": {
"itemId": 0,
"cateIds": [
"string"
],
"freightId": "string",
"regionalPricingCountries": [
"string"
],
"semiChoiceCountries": [
"string"
],
"taxType": "string",
"skuList": [
{
"skuId": 0,
"skuName": "string",
"length": "string",
"width": "string",
"height": "string",
"weight": "string",
"propertyDTOList": [
{
"pid": 0,
"vid": 0,
"pText": "string",
"vText": "string",
"alias": "string"
}
],
"logisticsAttribute": [
"string"
],
"shipFrom": "string",
"currencyCode": "string",
"regionPriceList": [
{
"country": "string",
"price": 0
}
],
"skuCargoPrice": "string",
"globalPrice": "string",
"skuUniqueKey": "string"
}
]
},
"sellerIntentionDTO": {
"globalBlackShippingCountry": [
"string"
],
"globalPreferDeliveryOption": [
"string"
],
"globalBlackDeliveryOption": [
"string"
],
"currentFreeShippingCountries": [
"string"
],
"currentBaseShippingCountry": [
"string"
],
"currentBlackShippingCountry": [
"string"
]
},
"scenarioBehaviorInfoDTO": {
"currentPageScenario": "string",
"currentPopupSource": "string",
"triggerEventType": "string",
"inspectionTaskId": "string"
}
}
}curl --location --request POST 'http://localhost/smt/aiFreightTemplate/template/recommend' \
--header 'Authorization: erp-usermgt-n-token:eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiIxODI2ODAiLCJzdWIiOiIxODI2ODAiLCJpc3MiOiJaU1RELU5FVyIsImlhdCI6MTcyNjYyMjc2MX0.xFQK8jvjI-t1UV19tgI4ehe4akkfuy9BEhnQ5RdJznZCh1ZrgfD7DVzyxCDlviUqei4Cpb0snd6qZML-kZSQBQ' \
--header 'Username: 182680' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountNumber": "string",
"sellerId": "string",
"compressFlag": "true",
"compressedData": "string",
"compressedPayload": {
"freightItemDTO": {
"itemId": 0,
"cateIds": [
"string"
],
"freightId": "string",
"regionalPricingCountries": [
"string"
],
"semiChoiceCountries": [
"string"
],
"taxType": "string",
"skuList": [
{
"skuId": 0,
"skuName": "string",
"length": "string",
"width": "string",
"height": "string",
"weight": "string",
"propertyDTOList": [
{
"pid": 0,
"vid": 0,
"pText": "string",
"vText": "string",
"alias": "string"
}
],
"logisticsAttribute": [
"string"
],
"shipFrom": "string",
"currencyCode": "string",
"regionPriceList": [
{
"country": "string",
"price": 0
}
],
"skuCargoPrice": "string",
"globalPrice": "string",
"skuUniqueKey": "string"
}
]
},
"sellerIntentionDTO": {
"globalBlackShippingCountry": [
"string"
],
"globalPreferDeliveryOption": [
"string"
],
"globalBlackDeliveryOption": [
"string"
],
"currentFreeShippingCountries": [
"string"
],
"currentBaseShippingCountry": [
"string"
],
"currentBlackShippingCountry": [
"string"
]
},
"scenarioBehaviorInfoDTO": {
"currentPageScenario": "string",
"currentPopupSource": "string",
"triggerEventType": "string",
"inspectionTaskId": "string"
}
}
}'{
"success": true,
"businessId": 0,
"result": {
"itemId": 0,
"freightId": "string",
"regionalPricingCountries": [
"string"
],
"semiChoiceCountries": [
"string"
],
"benefitContext": "string",
"cateIds": [
"string"
],
"isBlockEditByItem": true,
"currencyTransformTag": true,
"sellerIntentionDTO": {
"globalBlackShippingCountry": [
"string"
],
"globalPreferDeliveryOption": [
"string"
],
"globalBlackDeliveryOption": [
"string"
],
"currentFreeShippingCountries": [
"string"
],
"currentBaseShippingCountry": [
"string"
],
"currentBlackShippingCountry": [
"string"
]
},
"popupBenefitRenderDTO": {
"strategyTextList": [
"string"
],
"resultTextList": [
"string"
],
"aiSummaryText": "string",
"indicatorTextList": [
{
"indexName": "string",
"indexValue": "string",
"subIndexHover": "string"
}
]
},
"deliveryOptionInfoList": [
{
"deliveryOption": "string",
"deliveryOptionName": "string"
}
],
"deliveryVersionMap": {
"key": "string"
},
"aplCountryList": [
"string"
],
"aplNewFlag": true,
"destinations": [
{
"code": "string",
"name": "string"
}
],
"skuResponseList": [
{
"skuId": "string",
"skuUniqueKey": "string",
"skuUniqueKeyForISV": "string",
"skuName": "string",
"skuFinalUniqueKey": "string",
"freightId": "string",
"skuCargoPrice": "string",
"currencyCode": "string",
"algoGlobalPrice": "string",
"algoGlobalPriceAiFlag": true,
"algoGlobalPriceCalculateProcess": "string",
"globalPrice": "string",
"logisticsAttributeDisplay": "string",
"logisticsAttribute": [
"string"
],
"length": "string",
"width": "string",
"height": "string",
"weight": "string",
"currentTemplateInValid": true,
"propertyDTOList": [
{
"pid": 0,
"vid": 0,
"pText": "string",
"vText": "string",
"alias": "string"
}
],
"freightTemplateDetailList": [
{
"id": "string",
"deliveryOptionCode": "string",
"deliveryOptionName": "string",
"destination": "string",
"destinationName": "string",
"currency": "string",
"price": "string",
"algoPrice": "string",
"algoPriceAiFlag": true,
"algoPriceCalculateProcess": "string",
"customType": "string",
"customTypeName": "string",
"shippingCost": "string",
"shippingFee": "string",
"shippingFeeAiFlag": true,
"reCalculateOverShippingCost": true,
"shippingFeeCalculateProcess": "string",
"discountRatio": 0,
"discountRatioStr": "string",
"benchmarkCost": "string",
"benchmarkFlag": true,
"benchmarkCountryFlag": true,
"reachable": true,
"canReplaceDeliveryCodeList": [
"string"
],
"priceReductionReachableFlag": true,
"priceReductionReachableRenderStr": "string",
"deliveryLevel": "string",
"deliveryLevelDisplay": "string",
"deliveryLevelTip": "string",
"aplSort": 0,
"aplRecommendMinDay": 0,
"aplRecommendMaxDay": 0,
"aplMinDay": 0,
"aplMaxDay": 0,
"recommendReasonTag": "string",
"curLevelFirstDelivery": true,
"curLevelRecommendFlag": true
}
]
}
]
},
"errorMsg": "string"
}