/erp/sc/routing/data/local_inventory/productAuxList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/data/local_inventory/productAuxList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "80E9323C-CF3A-7A1F-B9A1-D4A988635AC8",
"response_time": "2023-03-09 15:58:12",
"data": [
{
"aux_relation_product": [
{
"pid": 2125093,
"product_name": "AUX11111",
"sku": "AUX11111",
"quantity": 2
},
{
"pid": 2125091,
"product_name": "钢化玻璃膜2",
"sku": "SKU2986DFA",
"quantity": 2
}
],
"purchase_supplier_quote": {
"product_id": 2125093,
"cg_price": "0.0000",
"has_cg_permission": 1,
"suppliers": {
"1": {
"supplier_id": 1,
"is_primary": 1,
"supplier_name": "供应商1",
"contact_person": "",
"contact_number": "",
"province": "",
"city": "",
"address": "",
"supplier_product_url": [
"https://detail.1688.com/offer/669376802464.html?spm=a260j.12536015.jr601u7p.1.29d4700ecBBrdJ",
"https://detail.1688.com/offer/669376802464.html?spm=a260j.12536015.jr601u7p.1.29d4700ecBBrdJ"
],
"quotes": {
"CNY": {
"currency": "CNY",
"currency_icon": "¥",
"is_tax": 0,
"tax_rate": 0,
"step_prices": [
{
"price_with_tax": "0.0000",
"price": "0.0000",
"moq": 0
}
]
}
}
},
"245": {
"supplier_id": 245,
"is_primary": 0,
"supplier_name": "新增供应商NXthJByPZt",
"contact_person": "",
"contact_number": "",
"province": "",
"city": "",
"address": "",
"supplier_product_url": [],
"quotes": {
"CNY": {
"currency": "CNY",
"currency_icon": "¥",
"is_tax": 0,
"tax_rate": 0,
"step_prices": [
{
"price_with_tax": "0.0000",
"price": "0.0000",
"moq": 0
}
]
}
}
}
}
},
"id": 4532,
"sku": "asdfasd",
"product_name": "chaolia",
"cid": 0,
"cg_price": "0.0000",
"cg_product_length": "0.00",
"cg_product_width": "0.00",
"cg_product_height": "0.00",
"cg_product_net_weight": "0.00",
"remark": "",
"is_aux": 1
}
],
"total": 42
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | Optional | 分页长度,默认1000,上限1000 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 6D1422D5-B767-675D-42F6-F604319C2333 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-03-09 14:45:40 | Required | 响应时间 |
| 6 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 6.1 | id | 辅料id | integer | 1 | Required | 辅料id |
| 6.2 | sku | sku | string | 视觉111 | Required | SKU |
| 6.3 | product_name | 品名 | string | 经济 | Required | 品名 |
| 6.4 | product_creator_realname | 辅料创建人姓名 | string | — | Required | 辅料创建人姓名 |
| 6.5 | permission_user_info | 辅料负责人姓名列表 | array<string> | — | Required | 辅料负责人姓名列表 |
| 6.6 | cg_price | 采购成本(人民币) | number | 1 | Required | 采购成本(人民币) |
| 6.7 | cg_product_length | 单品规格长(CM) | number | 测试账号2 | Required | 单品规格长(CM) |
| 6.8 | cg_product_width | 单品规格宽(CM) | number | — | Required | 单品规格宽(CM) |
| 6.9 | cg_product_height | 单品规格高(CM) | number | — | Required | 单品规格高(CM) |
| 6.10 | cg_product_net_weight | 单品净重(G) | number | — | Required | 单品净重(G) |
| 6.11 | remark | 备注 | string | — | Required | 备注 |
| 6.12 | purchase_supplier_quote | 供应商报价信息 | object | — | Required | 供应商报价信息 |
| 6.12.1 | product_id | 产品ID | integer | 2 | Required | 产品ID |
| 6.12.2 | cg_price | 采购 | number | 33 | Required | 采购:采购成本(人民币) |
| 6.12.3 | has_cg_permission | 是否有采购成本权限 | integer | 1 | Required | 是否有采购成本权限:0-无,1-有 |
| 6.12.4 | suppliers | suppliers | object | — | Required | |
| 6.12.4.1 | supplier_id | 供应商ID | integer | 12 | Required | 供应商ID |
| 6.12.4.2 | is_primary | 是否首选供应商 | integer | 1 | Required | 是否首选供应商:0-否,1-是 |
| 6.12.4.3 | supplier_name | 供应商名称 | string | 供应商1 | Required | 供应商名称 |
| 6.12.4.4 | contact_person | 供应商联系人 | string | XXX | Required | 供应商联系人 |
| 6.12.4.5 | contact_number | 供应商联系电话 | string | 18000000 | Required | 供应商联系电话 |
| 6.12.4.6 | province | 供应商地址 | string | 广东省 | Required | 供应商地址:省 |
| 6.12.4.7 | city | 供应商地址 | string | 深圳市 | Required | 供应商地址:城市 |
| 6.12.4.8 | address | 供应商地址 | string | 西丽街道 | Required | 供应商地址:详细地址 |
| 6.12.4.9 | supplier_product_url | 供应商链接 | array<any> | — | Required | 供应商链接 |
| 6.12.4.10 | quotes | 供应商报价 | array<object> | — | Required | 供应商报价 |
| 6.12.4.10.1 | currency | 报价币种 | string | — | Required | 报价币种 |
| 6.12.4.10.2 | currency_icon | 报价币种符号 | string | — | Required | 报价币种符号 |
| 6.12.4.10.3 | is_tax | 是否含税 | integer | — | Required | 是否含税:0-否,1-是 |
| 6.12.4.10.4 | tax_rate | 税率(百分比) | number | — | Required | 税率(百分比) |
| 6.12.4.10.5 | step_prices | 报价梯度 | array<object> | — | Required | 报价梯度 |
| 6.12.4.10.5.1 | price_with_tax | 含税单价 | number | 9.9 | Required | 含税单价 |
| 6.12.4.10.5.2 | price | 不含税单价 | number | — | Required | 不含税单价 |
| 6.12.4.10.5.3 | moq | 最小起购量 | integer | 10 | Required | 最小起购量 |
| 6.13 | aux_relation_product | 关联产品 | array<object> | — | Required | 关联产品 |
| 6.13.1 | pid | 产品id | integer | — | Required | 产品id |
| 6.13.2 | product_name | 产品名称 | string | — | Required | 产品名称 |
| 6.13.3 | sku | sku | string | — | Required | sku |
| 6.13.4 | quantity | 关联辅料的数量 | integer | | Required | 关联辅料的数量 |
The 查询产品辅料列表 API (/erp/sc/routing/data/local_inventory/productAuxList) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.