领星ERP添加/编辑本地产品_v1API接口文档
添加/编辑本地产品_v1
接口地址:routing/storage/product/set
请求方法: POST
加工厂: {"operation":{"method":"none"}}
接口请求参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|---|---|---|---|---|---|
| 1 | sku | sku | string | 暂无描述 | 否 | |
| 2 | product_name | product_name | string | 暂无描述 | 否 | |
| 3 | picture_list | picture_list | array | 暂无描述 | 否 | |
| 3.1 | pic_url | pic_url | string | https://xxxx.com/123.jpg | 暂无描述 | 否 |
| 3.2 | is_primary | is_primary | int | 1 | 暂无描述 | 否 |
| 4 | unit | unit | string | 个 | 暂无描述 | 否 |
| 5 | category_id | category_id | int | 2 | 暂无描述 | 否 |
| 6 | category | category | string | 分类5 | 暂无描述 | 否 |
| 7 | model | model | string | 暂无描述 | 否 | |
| 8 | brand_id | brand_id | int | 0 | 暂无描述 | 否 |
| 9 | brand | brand | string | 暂无描述 | 否 | |
| 10 | status | status | int | 0 | 暂无描述 | 否 |
| 11 | description | description | string | 暂无描述 | 否 | |
| 12 | group_list | group_list | array | 暂无描述 | 否 | |
| 12.1 | sku | sku | string | CWZS20A-L | 暂无描述 | 否 |
| 12.2 | quantity | quantity | int | 1 | 暂无描述 | 否 |
| 13 | cg_opt_uid | cg_opt_uid | int | 0 | 暂无描述 | 否 |
| 14 | cg_opt_username | cg_opt_username | string | 暂无描述 | 否 | |
| 15 | product_developer_uid | product_developer_uid | int | 0 | 暂无描述 | 否 |
| 16 | product_developer | product_developer | string | 暂无描述 | 否 | |
| 17 | purchase_remark | purchase_remark | string | 暂无描述 | 否 | |
| 18 | cg_price | cg_price | string | 暂无描述 | 否 | |
| 19 | is_related | is_related | int | 0 | 暂无描述 | 否 |
| 20 | cg_delivery | cg_delivery | int | 0 | 暂无描述 | 否 |
| 21 | cg_product_material | cg_product_material | string | 暂无描述 | 否 | |
| 22 | cg_product_length | cg_product_length | string | 暂无描述 | 否 | |
| 23 | cg_product_width | cg_product_width | string | 暂无描述 | 否 | |
| 24 | cg_product_height | cg_product_height | string | 暂无描述 | 否 | |
| 25 | cg_product_net_weight | cg_product_net_weight | string | 暂无描述 | 否 | |
| 26 | cg_product_gross_weight | cg_product_gross_weight | string | 暂无描述 | 否 | |
| 27 | cg_package_length | cg_package_length | string | 暂无描述 | 否 | |
| 28 | cg_package_width | cg_package_width | string | 暂无描述 | 否 | |
| 29 | cg_package_height | cg_package_height | string | 暂无描述 | 否 | |
| 30 | cg_box_length | cg_box_length | string | 暂无描述 | 否 | |
| 31 | cg_box_width | cg_box_width | string | 暂无描述 | 否 | |
| 32 | cg_box_height | cg_box_height | string | 暂无描述 | 否 | |
| 33 | cg_box_weight | cg_box_weight | string | 暂无描述 | 否 | |
| 34 | cg_box_pcs | cg_box_pcs | int | 0 | 暂无描述 | 否 |
| 35 | bg_customs_export_name | bg_customs_export_name | string | 暂无描述 | 否 | |
| 36 | bg_export_hs_code | bg_export_hs_code | string | 暂无描述 | 否 | |
| 37 | bg_customs_import_name | bg_customs_import_name | string | 暂无描述 | 否 | |
| 38 | currency | currency | string | CNY | 暂无描述 | 否 |
| 39 | bg_customs_import_price | bg_customs_import_price | string | 暂无描述 | 否 | |
| 40 | product_creator_uid | product_creator_uid | int | 0 | 暂无描述 | 否 |
| 41 | product_duty_uids | product_duty_uids | array | 暂无描述 | 否 | |
| 42 | is_append_product_duty | is_append_product_duty | int | 0 | 暂无描述 | 否 |
| 43 | qc_standard | qc_standard | object | 暂无描述 | 否 | |
| 43.1 | custom_qc_template | custom_qc_template | object | 暂无描述 | 否 | |
| 43.1.1 | qc_image | qc_image | array | 暂无描述 | 否 | |
| 43.1.1.1 | file_id | file_id | string | 暂无描述 | 否 | |
| 43.1.1.2 | customer_url | customer_url | string | 暂无描述 | 否 | |
| 44 | product_logistics_list | product_logistics_list | object | 暂无描述 | 否 | |
| 44.1 | US_cg_transport_costs | US_cg_transport_costs | int | 0 | 暂无描述 | 否 |
| 44.2 | US_currency | US_currency | string | 暂无描述 | 否 | |
| 44.3 | US_clearance_price | US_clearance_price | int | 0 | 暂无描述 | 否 |
| 44.4 | US_clearance_price_currency | US_clearance_price_currency | string | 暂无描述 | 否 | |
| 44.5 | US_bg_import_hs_code | US_bg_import_hs_code | string | 暂无描述 | 否 | |
| 44.6 | US_bg_tax_rate | US_bg_tax_rate | int | 0 | 暂无描述 | 否 |
| 45 | supplier_quote | supplier_quote | array | 暂无描述 | 否 | |
| 45.1 | erp_supplier_id | erp_supplier_id | int | 1 | 暂无描述 | 否 |
| 45.2 | supplier_id | supplier_id | int | 0 | 暂无描述 | 否 |
| 45.3 | supplier_product_url | supplier_product_url | array | 暂无描述 | 否 | |
| 45.4 | quote_remark | quote_remark | string | 暂无描述 | 否 | |
| 45.5 | is_primary | is_primary | int | 1 | 暂无描述 | 否 |
| 45.6 | quotes | quotes | array | 暂无描述 | 否 | |
| 45.6.1 | currency | currency | string | CNY | 暂无描述 | 否 |
| 45.6.2 | is_tax | is_tax | int | 0 | 暂无描述 | 否 |
| 45.6.3 | tax_rate | tax_rate | int | 0 | 暂无描述 | 否 |
| 45.6.4 | step_prices | step_prices | array | 暂无描述 | 否 | |
| 45.6.4.1 | moq | moq | int | 0 | 暂无描述 | 否 |
| 45.6.4.2 | price_with_tax | price_with_tax | int | 10 | 暂无描述 | 否 |
| 46 | special_attr | special_attr | array | 暂无描述 | 否 | |
| 47 | declaration | declaration | object | 暂无描述 | 否 | |
| 47.1 | customs_declaration_unit | customs_declaration_unit | string | 暂无描述 | 否 | |
| 47.2 | customs_declaration_spec | customs_declaration_spec | string | 暂无描述 | 否 | |
| 47.3 | customs_declaration_origin_produce | customs_declaration_origin_produce | string | 暂无描述 | 否 | |
| 47.4 | customs_declaration_inlands_source | customs_declaration_inlands_source | string | 暂无描述 | 否 | |
| 47.5 | customs_declaration_exempt | customs_declaration_exempt | string | 暂无描述 | 否 | |
| 48 | clearance | clearance | object | 暂无描述 | 否 | |
| 48.1 | customs_clearance_material | customs_clearance_material | string | 暂无描述 | 否 | |
| 48.2 | customs_clearance_usage | customs_clearance_usage | string | 暂无描述 | 否 | |
| 48.3 | customs_clearance_internal_code | customs_clearance_internal_code | string | 暂无描述 | 否 | |
| 48.4 | customs_clearance_preferential | customs_clearance_preferential | int | 0 | 暂无描述 | 否 |
| 48.5 | customs_clearance_brand_type | customs_clearance_brand_type | int | 0 | 暂无描述 | 否 |
| 48.6 | customs_clearance_product_pattern | customs_clearance_product_pattern | string | 暂无描述 | 否 | |
| 48.7 | allocation_remark | allocation_remark | string | 暂无描述 | 否 | |
| 48.8 | weaving_mode | weaving_mode | int | 0 | 暂无描述 | 否 |
| 48.9 | customs_clearance_pic_url | customs_clearance_pic_url | string | 暂无描述 | 否 |
接口响应参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|
领星ERP的接口:添加/编辑本地产品_v1(routing/storage/product/set),由轻易云数据集成平台API资产管理模块整理收纳,并且根据领星ERP版本更新同步实时更新。通过API资产管理,企业可以更好地控制API的访问权限和使用限制,防止未授权访问和滥用,保障企业数据的安全和合规性。
