商品库添加
POST
/回调地址
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
type
string
必需
data
object
必需
goodsIds
array[integer]
必需
id
number
推送id,唯一
push_time
number
必需
示例
{
"type": "string",
"data": {
"goodsIds": [
0
]
},
"id": 0,
"push_time": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/回调地址' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "string",
"data": {
"goodsIds": [
0
]
},
"id": 0,
"push_time": 0
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2023-08-23 03:47:05