当configuration_type为
时格式如下
[ {"shiptoCountry":"US","percentage":"5"}, {"shiptoCountry":"RU","percentage":"-2"} ]
当configuration_type为absolute(直接报价)时格式如下。其中absoluteQuoteMap(价格调整信息)的key的格式是“
[ {"absoluteQuoteMap":{"14:193":84.99,"14:771":84.99},"shiptoCountry":"FR"}, {"absoluteQuoteMap":{"14:193":89.99,"14:771":89.99},"shiptoCountry":"ES"} ]
新格式将不再使用percentage字段,统一用absoluteQuoteMap。旧格式使用percentage或者relative的时候只能对所有sku统一调价。新格式使用absoluteQuoteMap可以对任意一个或者多个sku调价。absoluteQuoteMap的值的含义根configuration_type的值有关。absoluteQuoteMap的key的格式不变
configuration_type | absoluteQuoteMap的值的含义 |
---|---|
percentage | 相对于基准价的调价比例(百分比整数,支持负数,当前限制>=-30 && <=100) |
relative | 相对基准价的调整值,支持负数 |
absolute | 直接设置具体数值,不支持负数 |
例子
[ {"absoluteQuoteMap":{"14:193":1.0},"shiptoCountry":"RU"}, {"absoluteQuoteMap":{"14:193":2.0},"shiptoCountry":"US"} ]