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

发布日期

 

请求描述

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

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

Python_requests请求方式:

Code Block
languagepyjson
import requests
url = "https://test.birdsystem.comPOST /client/productProduct/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"
}