API - Get Stock And Price By Time
Get product stock and price info by time.
API Get Stock And Price By Time
URL: https://www.daviddropship.com/index.php?route=api/v1/product_stock_price_by_time
Format: json
Method: post
Body Form-Data:
Param | Required | Type | Description |
---|---|---|---|
api_token | True | String | api token |
datetime | True | String | required, eg.: 2021-02-01 01:01:01 |
page | False | Int | page number, default 1 |
Request Example:
Return Param
Format: json
Param | Required | Type | Description |
---|---|---|---|
code | True | int | status code, 200 mean success |
message | False | String | message |
data | True | String | data |
> product_id | True | int | product_id |
> quantity | True | int | quantity |
> price | True | Float | price |
Example: