Schema interface for product full update. QPS(Invoke per second) for this API is limited to 100 for each appkey and 50 for each seller.
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
schema_full_update_request | String | 必须 | {"category_id":200000346,"title_multi_language_list":[{"locale":"es_ES","title":"test"}],"description_multi_language_list":[{"locale":"es_ES","module_list":[{"type":"html","html":{"content":"test"}}]}],"locale":"es_ES","product_units_type":"100000000","image_url_list":["https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg"],"category_attributes":{"Brand Name":{"value":"200010868"},"Material":{"value":["47","49"]},"Clothing Length":{"value":"1876"}},"sku_info_list":[{"sku_code":"234","inventory":234,"price":23,"discount_price":12,"sku_attributes":{"Size":{"value":"200000989"},"Color":{"alias":"32","sku_image_url":"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg","value":"771"}}}],"inventory_deduction_strategy":"place_order_withhold","package_weight":234,"package_length":234,"package_height":234,"package_width":234,"shipping_preparation_time":3,"shipping_template_id":"1000","service_template_id":"0","aliexpress_product_id":32985684727} | Product full update request. To learn how to generate the content, please refer to https://developers.aliexpress.com/en/doc.htm?docId=109760&docType=1. Be aware that the aliexpress_product_id field should be replaced by the product ID belonged to the seller. | |
developer_features | String | 可选 | {"source":"Lengow"} | More information of the request. |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
product_id | Number | 32985684727 | Product id that has been updated. |
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressSolutionSchemaProductFullUpdateRequest req = new AliexpressSolutionSchemaProductFullUpdateRequest(); req.setSchemaFullUpdateRequest( "{\"category_id\":200000346,\"title_multi_language_list\":[{\"locale\":\"es_ES\",\"title\":\"test\"}],\"description_multi_language_list\":[{\"locale\":\"es_ES\",\"module_list\":[{\"type\":\"html\",\"html\":{\"content\":\"test\"}}]}],\"locale\":\"es_ES\",\"product_units_type\":\"100000000\",\"image_url_list\":[\"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg\"],\"category_attributes\":{\"Brand Name\":{\"value\":\"200010868\"},\"Material\":{\"value\":[\"47\",\"49\"]},\"Clothing Length\":{\"value\":\"1876\"}},\"sku_info_list\":[{\"sku_code\":\"234\",\"inventory\":234,\"price\":23,\"discount_price\":12,\"sku_attributes\":{\"Size\":{\"value\":\"200000989\"},\"Color\":{\"alias\":\"32\",\"sku_image_url\":\"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg\",\"value\":\"771\"}}}],\"inventory_deduction_strategy\":\"place_order_withhold\",\"package_weight\":234,\"package_length\":234,\"package_height\":234,\"package_width\":234,\"shipping_preparation_time\":3,\"shipping_template_id\":\"1000\",\"service_template_id\":\"0\",\"aliexpress_product_id\":32985684727}" ); req.setDeveloperFeatures( "{\"source\":\"Lengow\"}" ); AliexpressSolutionSchemaProductFullUpdateResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 | < aliexpress_solution_schema_product_full_update_response > < product_id >32985684727</ product_id > </ aliexpress_solution_schema_product_full_update_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|