API - Get Product List By Time
Get product data by time.
API Get Product List
URL: https://www.daviddropship.com/index.php?route=api/v1/product_list_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 |
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_total | True | Int | product total |
> product_list | True | Array | product list |
> > product_id | True | Int | product id |
> > sku | True | String | sku |
> > group_sku | True | String | group_sku |
> > color | True | String | color |
> > size | False | String | size |
> > quantity | True | Int | quantity |
> > image | True | String | product main image |
> > price | True | Float | price |
> > weight | False | Float | weight (g) |
> > length | False | Float | length (mm) |
> > width | False | Float | width (mm) |
> > height | False | Float | height (mm) |
> > minimum | False | Int | mini number |
> > date_added | True | String | added date |
> > date_modified | True | String | modified date |
> > add_or_modify | True | String | enum values: [add, modify] |
> > description | False | String | description |
> > additional_images | False | Array | product additional images |
Request Example:
Response Example: