Replenish or edit slot product information. stock is the target stock after replenishment, not an increment. The endpoint writes road_history, may trigger slot webhooks, and notifies the device to refresh products.
请求参数
Query 参数
Header 参数
请求示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.en.gdlykj.com/adminapi/openapi_saveRoad?id=10001&pid=606&stock=20&maxstock=30&price=100&sku=undefined' \
--header'token;'