Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

产品删除:接口描述

URL

http://

test.birdsystem.com

<系统域名>/client/product/Batch-Update-Status/?ids= 3027112_3027111

接口功能

产品删除

支持格式

JSON/TEXT

开发人员

 

请求方式

DELETE

POST

发布日期

 

请求描述

(以下为折叠内容,签署合同时以下信息无需参考,仅供第三方对接参考)

Python_requests请求方式:
Expand
title(以下为折叠内容,签署合同时以下信息无需参考,仅供第三方对接参考)

使用接口调试工具postman

温馨提示:
1、删除产品时,需提供产品ID,举例:("ids":3055881)。
HTTP请求方式:

Code Block
languagepyjson
import requests
url = "https://test.birdsystem.com/client/productPOST /client/Product/Batch-Update-Status/?ids= 3027112_3027111"
payload={}
headers = {
  'company_id': '36',
  'api_key': '${api_key}',
  'Cookie': 'PHPSESSID=g43q2u6egm3vudalg4caa0e606'
}
response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text) HTTP/1.1
Host: {{Bird_URL}}
Headres:
  api_key: {{api_key}}
  company_id: {{company_id}}
  Cookie: PHPSESSID=3s3nejv43u9bhirsrvq9nge254
Body
  raw
{
    "ids":"3055881",
    "status":"DELETED"
} 

Json格式返回结果:

Code Block
{
    "success": true,
    "refresh": false,
    "moduleName": "client"
}