{
"accountNumber": "string",
"sellerId": "string",
"compressFlag": "true",
"itemId": "string",
"freightId": "string",
"itemTagSet": "string",
"taxType": "string",
"baseShippingCountries": "string",
"freeShippingCountries": "string",
"itemBlackShippingCountries": "string",
"regionalPricingCountries": "string",
"currency": "string",
"compressedData": "string",
"compressedPayload": {
"scenarioBehaviorInfoDTO": {
"currentPageScenario": "string",
"currentPopupSource": "string",
"triggerEventType": "string",
"inspectionTaskId": "string"
},
"skuRequestList": [
{
"freightId": "string",
"propertyDTOList": [
{
"pid": 0,
"vid": 0,
"pText": "string",
"vText": "string",
"alias": "string"
}
],
"logisticsAttribute": [
"string"
],
"length": "string",
"width": "string",
"height": "string",
"weight": "string",
"skuTags": [
0
],
"detailRequestList": [
{
"id": "string",
"deliveryOptionCode": "string",
"destination": "string",
"shippingCost": 0,
"shippingFee": 0,
"price": 0,
"benchmarkFlag": true,
"reachable": true,
"priceReductionReachableFlag": true,
"deliveryLevel": "string"
}
]
}
],
"deliveryVersionMap": {
"key": "string"
},
"confirmRateCardDeliveryList": [
"string"
]
}
}curl --location --request POST 'http://localhost/smt/aiFreightTemplate/template/create' \
--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",
"itemId": "string",
"freightId": "string",
"itemTagSet": "string",
"taxType": "string",
"baseShippingCountries": "string",
"freeShippingCountries": "string",
"itemBlackShippingCountries": "string",
"regionalPricingCountries": "string",
"currency": "string",
"compressedData": "string",
"compressedPayload": {
"scenarioBehaviorInfoDTO": {
"currentPageScenario": "string",
"currentPopupSource": "string",
"triggerEventType": "string",
"inspectionTaskId": "string"
},
"skuRequestList": [
{
"freightId": "string",
"propertyDTOList": [
{
"pid": 0,
"vid": 0,
"pText": "string",
"vText": "string",
"alias": "string"
}
],
"logisticsAttribute": [
"string"
],
"length": "string",
"width": "string",
"height": "string",
"weight": "string",
"skuTags": [
0
],
"detailRequestList": [
{
"id": "string",
"deliveryOptionCode": "string",
"destination": "string",
"shippingCost": 0,
"shippingFee": 0,
"price": 0,
"benchmarkFlag": true,
"reachable": true,
"priceReductionReachableFlag": true,
"deliveryLevel": "string"
}
]
}
],
"deliveryVersionMap": {
"key": "string"
},
"confirmRateCardDeliveryList": [
"string"
]
}
}'{
"success": true,
"businessId": 0,
"result": {
"itemId": 0,
"freightId": "string",
"freightName": "string",
"needConfirmRateCardDeliveryList": [
{
"label": "string",
"value": "string"
}
],
"skuResponseList": [
{
"skuFinalUniqueKey": "string",
"freightId": 0,
"skuUniqueKeyForISV": "string"
}
]
},
"errorMsg": "string"
}