定向共享产品
- jim (Unlicensed)
- Devin (Unlicensed)
- elio (Unlicensed)
- nnxxnx (Unlicensed)
Owned by jim (Unlicensed)
添加定向共享产品
URL | https://test.birdsystem.com/client/Directional-Shared-Product/ | ||
---|---|---|---|
接口功能 | 给指定客户定向共享产品 | ||
支持格式 | JSON | 开发人员 | |
请求方式 | POST | 发布日期 |
参数
字段 | 备注 | 是否必填 | 类型 |
---|---|---|---|
product_id | 要共享的产品ID | Y | INT |
client_id | 共享至哪个客户的id | Y | INT |
quantity | 共享产品件数 | Y | INT |
price | 价格 | Y | Decimal(10,2) |
返回
Expand source
{ "data": { "status": null, "warehouse_id_list": null, "id": "2941863_4648_36", "product_id": 2941863, "client_id": 4648, "company_id": 36, "warehouse_id": null, "price": "1.22", "price_internal": "0.00", "quantity": "5", "primary_keys": [ "product_id", "client_id", "company_id" ] }, "success": true, "moduleName": "client" }
说明
字段 | 备注 |
---|---|
id | 产品ID__被共享客户的ID__哪个站点共享 |
product_id | 共享产品ID |
client_id | 被共享的客户ID |
price | 共享价格 |
price_internal | 内部价格 |
quantity | 共享件数 |
获取共享给我的产品
URL | https://test.birdsystem.com/client/Directional-Shared-Product/ | ||
---|---|---|---|
接口功能 | 获取共享给我的产品 | ||
支持格式 | JSON | 开发人员 | |
请求方式 | GET | 发布日期 |
参数
字段 | 备注 | 类型 |
---|---|---|
products_shared_to_me | 获取别人共享给自己的产品 (必填:products_shared_to_me=1) | BOOL |
返回
Expand source
{ "total": 4, "data": [ { "status": null, "warehouse_id_list": null, "id": "2990287_4648_36", "product_id": 2990287, "client_id": 4648, "company_id": 36, "warehouse_id": null, "price": "5.26", "price_internal": "0.00", "quantity": "5", "primary_keys": [ "product_id", "client_id", "company_id" ], "temp_consignment_info_product_reference": "4648#2990287#D", "product-client_id": 47, "attachment-url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/8/d/09df0651956a13b5ee46fe66d7e6163f.jpg" ], "attachment-medium_url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/8/d/09df0651956a13b5ee46fe66d7e6163f_medium.jpg" ], "attachment-thumb_url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/8/d/09df0651956a13b5ee46fe66d7e6163f_thumb.jpg" ], "customs_category-customs_category_full_name": null, "customs_category_code": null, "customs_category-customs_category_full_name_chinese": null, "warehouse-name": null }, { "status": null, "warehouse_id_list": null, "id": "2990289_4648_36", "product_id": 2990289, "client_id": 4648, "company_id": 36, "warehouse_id": null, "price": "5.00", "price_internal": "0.00", "quantity": "5", "primary_keys": [ "product_id", "client_id", "company_id" ], "temp_consignment_info_product_reference": "4648#2990289#D", "product-client_id": 47, "attachment-url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/0/1/a0ed33b07dfecd294831c4b529393b85.jpeg" ], "attachment-medium_url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/0/1/a0ed33b07dfecd294831c4b529393b85_medium.jpeg" ], "attachment-thumb_url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/0/1/a0ed33b07dfecd294831c4b529393b85_thumb.jpeg" ], "customs_category-customs_category_full_name": null, "customs_category_code": null, "customs_category-customs_category_full_name_chinese": null, "warehouse-name": null }, { "status": null, "warehouse_id_list": null, "id": "2990294_4648_36", "product_id": 2990294, "client_id": 4648, "company_id": 36, "warehouse_id": null, "price": "1.20", "price_internal": "0.00", "quantity": "5", "primary_keys": [ "product_id", "client_id", "company_id" ], "temp_consignment_info_product_reference": "4648#2990294#D", "product-client_id": 47, "attachment-url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/e/a/9b74ae4bcbb9a799ff134f453884a753.bmp" ], "attachment-medium_url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/e/a/9b74ae4bcbb9a799ff134f453884a753_medium.bmp" ], "attachment-thumb_url": [ "http://birdsystem-test.s3.amazonaws.com/ATTACHMENT/PRODUCT/e/a/9b74ae4bcbb9a799ff134f453884a753_thumb.bmp" ], "customs_category-customs_category_full_name": null, "customs_category_code": null, "customs_category-customs_category_full_name_chinese": null, "warehouse-name": null }, { "status": null, "warehouse_id_list": null, "id": "2990388_4648_36", "product_id": 2990388, "client_id": 4648, "company_id": 36, "warehouse_id": null, "price": "1.03", "price_internal": "0.00", "quantity": "15", "primary_keys": [ "product_id", "client_id", "company_id" ], "temp_consignment_info_product_reference": "4648#2990388#D", "product-client_id": 47, "attachment-url": null, "attachment-medium_url": null, "attachment-thumb_url": null, "customs_category-customs_category_full_name": null, "customs_category_code": null, "customs_category-customs_category_full_name_chinese": null, "warehouse-name": null } ], "success": true, "moduleName": "client" }
说明
字段 | 备注 |
---|---|
id | 产品ID__被共享客户的ID__哪个站点共享 |
product_id | 共享产品ID |
client_id | 被共享的客户ID |
company_id | 站点ID |
price | 共享价格 |
price_internal | 内部价格 |
quantity | 共享件数 |
temp_consignment_info_product_reference | 临时寄售信息产品参考 |
product-client_id | 共享产品给我的客户ID |
attachment-medium_url | 图片链接 |