Get Product List
Request Service
- getProductList
Request Method:
- POST
Request Sample:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
<SOAP-ENV:Body>
<ns1:callService>
<paramsJson>
{
"pageSize":"10",
"page":1,
"product_sku":"",
"product_sku_arr":["MAG100019-01","MAG100018-01"],
"platform_sku":"",
"platform_sku_arr":["4N1","5N1"],
"product_barcode":"",
"product_barcode_arr":["XX-4N1","XX-5N1"],
"product_status":1,
"time_type":"1",
"start_time":"2010-01-01 10:00:00",
"end_time":"2020-01-01 10:00:00",
}
</paramsJson>
<appToken>appToken</appToken>
<appKey>appKey</appKey>
<service>getProductList</service>
</ns1:callService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Request Parameter:
Parameter | Type | Required | Remark | Length Limited |
---|---|---|---|---|
pageSize | int | Y | Page size | |
page | int | Y | Current page | |
product_sku | String | N | SKU | 50 |
product_sku_arr | Object | N | Multiple SKU, Array object | 200 |
platform_sku | String | N | Relation SKU | 50 |
platform_sku_arr | Object | N | Multiple relation SKU,Array object | 200 |
product_barcode | String | N | Product barcode | 50 |
product_barcode_arr | Object | N | Multiple product barcode,Array object | 200 |
product_status | int | N | Product Status:0 Disable; 1 Normarl; 2 Pending; 3 Rejected; 4 Deleted; 5 Draft | |
time_type | String | N | Peroid type:1 Create Time (default);2 Update Time | |
start_time | String | N | Start time | |
end_time | String | N | End time |
Response Sample:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:callServiceResponse>
<response>
{
"ask":"Success",
"count":"2",
"data":[
{
"attribute_type":1,
"cat_id_level0":601084,
"cat_id_level1":0,
"cat_id_level2":601086,
"contain_battery":0,
"currency_code":"USD",
"declared_unit":"singl",
"fragile":0,
"hs_code":"999995555",
"manufacturer":"test",
"merge_delivery":1,
"own_package":1,
"product_add_time":1537495226000,
"product_barcode":"AK-USAGT187618",
"product_brand":"华为",
"product_declared_name":"ZXGXGHHHGH",
"product_declared_name_zh":"华为手机",
"product_declared_value":"952.00",
"product_desc_url":"https://tool.oschina.net/codeformat/json",
"product_height":"1.00",
"product_length":"1.00",
"product_material":"dadianhualiaomei",
"product_model":"VS3302",
"product_modify_time":1612176037000,
"product_origin":"",
"product_sku":"MAG100019-01",
"product_status":"1",
"product_title":"ZXGXGHHHGH",
"product_weight":"1.000",
"product_width":"1.00",
"purpose":"dadianhualiaomei",
"reference_no":"USAGT187618",
"related_barcode":[
],
"unpacking":0,
"product_file":[{"file_type":"png","file_url":"http://localhost:8082/product/product/productFiles/63"},{"file_type":"png","file_url":"http://localhost:8082/product/product/productFiles/64"}]
},
},
{
"attribute_type":0,
"cat_id_level0":601084,
"cat_id_level1":0,
"cat_id_level2":601086,
"contain_battery":0,
"currency_code":"USD",
"declared_unit":"",
"fragile":0,
"hs_code":"",
"manufacturer":"",
"merge_delivery":1,
"own_package":1,
"product_add_time":1537495226000,
"product_barcode":"AK-USATC111658",
"product_brand":"",
"product_declared_name":"USATC111658",
"product_declared_name_zh":"USATC111658",
"product_declared_value":"1.00",
"product_desc_url":"",
"product_describe":"",
"product_height":"44.00",
"product_length":"55.00",
"product_material":"",
"product_model":"",
"product_modify_time":1537525711000,
"product_origin":"",
"product_sku":"MAG100018-01",
"product_status":"1",
"product_title":"花型宠物防噎塑料 食盆(蓝色)",
"product_weight":"1.000",
"product_width":"45.00",
"purpose":"",
"product_describe":"",
"reference_no":"USATC111658",
"related_barcode":[
],
"unpacking":0,
"product_file":[{"file_type":"png","file_url":"http://localhost:8082/product/product/productFiles/63"}}],
"product_lucid":"lucid_00001"
}
],
"message":"Success",
"nextPage":false,
"pagination":{
"page":1,
"pageSize":10
}
}
</response>
</ns1:callServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Parameter:
Parameter | Type | Remark |
---|---|---|
product_sku | String | SKU |
product_barcode | String | Product barcode |
reference_no | String | Customer Reference No |
related_barcode | Object | Relation SKU Object |
product_title | String | Product Name |
attribute_type | int | Product Attribute: 1 Normal,2 Battery Inside,3 sharp weapon, 4 liquid, 5 powder, 6 paste, 7 pure battery, 8 weapons, 9 fun goods, 10 textiles, 11 dangerous goods |
cat_id_level0 | int | Product catalog first level, refer to API GetCategory |
cat_id_level1 | int | Product catalog second level, refer to API GetCategory |
cat_id_level2 | int | Product catalog third level, refer to API GetCategory |
currency_code | String | Currency Code, Default USD |
hs_code | String | Custome HS Code |
manufacturer | String | manufacturer |
product_add_time | Date | Create time |
product_brand | String | Brand |
product_declared_name | String | Declared name(English) |
product_declared_name_zh | String | Declared name(Chinese) |
product_declared_value | String | Declared Value |
declared_unit | String | Declare Unit |
product_desc_url | String | Product link |
product_describe | String | Product Description |
product_material | String | Material |
product_model | String | Model |
product_modify_time | Date | Update Time |
product_origin | String | Origin |
product_status | String | Product Status:0 Disable; 1 Normal; 2 Pending; 3 Rejected ; 4 Deleted; 5 Draft |
product_length | String | Lenght(cm) |
product_width | String | Width(cm) |
product_height | String | Height(cm) |
product_weight | String | Weight(kg) |
purpose | String | Purpose |
fragile | int | Fragile:1 Yes,0 No |
contain_battery | int | Battery:1 Yes,0 No |
merge_delivery | int | Bundling:1 Yes,0 No |
own_package | int | Has Package:1 Yes,0 No |
unpacking | int | UnPacking:1 Yes,0 No |
product | Object | Product Attachment Data |
product_lucid | String | Registration code LUCID required by German packaging law, non German warehouse SKU can be ignored |
packaging_type | int | Packaging types: 1. Non soft pack products, 2. Soft pack products |
product_group | String | Product grouping |
cost_price | String | Cost unit price |
export_country_name | String | Export country/region |
export_declared_value | String | Export application quotation |
export_currency_code | String | Export Currency Code |
import_country_name | String | Name of importing country |
import_hs_code | String | Import Customs Code |
作者:WesternPost 创建时间:2021-06-30 00:39
最后编辑:覃超华 更新时间:2024-12-31 02:56
最后编辑:覃超华 更新时间:2024-12-31 02:56