Commit 9f96ca9a by 岳巧源

add vc price

parent 7e076698
Showing with 8 additions and 16 deletions
...@@ -392,20 +392,17 @@ def modify_jd_vc_market_price(): ...@@ -392,20 +392,17 @@ def modify_jd_vc_market_price():
app_secret = "c92691b2379c48de87e699c4c2f7fb32" app_secret = "c92691b2379c48de87e699c4c2f7fb32"
param = { param = {
"operateRequest": { "operateRequest": {
"appReason": "调整价格测试",
"skuPriceInfo": { "skuPriceInfo": {
"@type": "com.jd.promotion.external.sdk.request.SkuPriceInfo",
"site": 301, "site": 301,
"marketPrice": 143.30, "marketPrice": 199.30,
"salePrice": 131.18, "salePrice": 188.18,
"skuId": 100124748677, "skuId": 100151433074,
}, },
"venderInfo": { "venderInfo": {
"@type": "com.jd.promotion.external.sdk.request.VenderInfo", "supplierCode": "ichunt",
"supplierCode": "10457263",
"applicant": "yqy",
"appReason": "调整价格测试",
}, },
"applicant": "ichunt",
"appReason": "调整价格测试",
} }
} }
ans = request_to_jd_vc(method_name, token, app_key, app_secret, param) ans = request_to_jd_vc(method_name, token, app_key, app_secret, param)
...@@ -540,9 +537,4 @@ def delete_vc_activity(): ...@@ -540,9 +537,4 @@ def delete_vc_activity():
if __name__ == '__main__': if __name__ == '__main__':
# modify_jd_vc_market_price() modify_jd_vc_market_price()
# modify_vc_purchase_price() \ No newline at end of file
# create_vc_promotion()
# get_vc_goods_info("100124748677")
# vc_promotion_add_sku()
delete_vc_activity()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment