文档中心 > Developing documents(已废弃)

New API - Update Promotion Information

API Document: aliexpress.marketing.limitdiscountpromotion.edit

Example


Request

param_limited_disc_input_dto

{
    "promotion_name":"promotion from open API",
    "promotion_start_time":"2018-07-07 10:53:12",
    "promotion_id":3***1,
    "has_promo":false,
    "promotion_end_time":"2018-07-08 10:53:12"
}

Response

{
    "time_stamp": "2018-07-06 10:53:13",
    "request_id": "i***g"
}

New API - Update Promotion Product Information

Example


Request

param_limited_disc_product_input_dto

{
  "promotion_id": 3***1,
  "store_club_discount_rate": "0",
  "product_objects": [
    {
      "sku_inventory_list": [
        {
          "sku_attr": "14:173",
          "quantity": 15
        }
      ],
      "product_discount_list": [
        {
          "discount": 10,
          "terminal": "ALL"
        }
      ],
      "product_id": 3***3,
      "buy_max_num": 10
    },
    {
      "sku_inventory_list": [
        {
          "sku_attr": "14:173",
          "quantity": 15
        }
      ],
      "product_discount_list": [
        {
          "discount": 10,
          "terminal": "ALL"
        }
      ],
      "product_id": 3***0,
      "buy_max_num": 10
    }
  ]
}

Response

{
    "time_stamp": "2018-07-06 11:02:49",
    "is_success": true,
    "request_id": "c***p"
}

Old API (Deprecated) - Update both Promotion Information and Promotion Product Information

API Document: aliexpress.marketing.redefining.updatelimiteddiscountpromotion

Example


Request

limited_discount_prom_product_d_t_o={"prom_product_sku_d_t_o_list":[{"product_id":3***3,"ipm_sku_stock":500,"prom_product_sku_propertys":[{"property_value_definition_name":"Blue","property_value_id":173,"sku_property_id":14},{"property_value_definition_name":"M","property_value_id":361386,"sku_property_id":5}]}],"mobile_discount":20,"product_id":3***3,"discount":10,"promotion_id":2***8,"purchase_limit":5}
app_key=2***7
method=aliexpress.marketing.redefining.updatelimiteddiscountpromotion
session=5***1
v=2.0
format=json
sign_method=hmac
sign=F***E
simplify=false
timestamp=2018-03-19 16:15:34

Response

{
    "result": {
        "result": true,
        "error_code": 0
    },
    "request_id": "b***o"
}

FAQ

关于此文档暂时还没有FAQ
返回
顶部