Skip to content

List products

GET
/products
curl --request GET \
--url https://api.getdpd.com/v2/products \
--header 'Authorization: Basic <credentials>'
storefront_id
integer

Only products in this storefront. Defaults to all storefronts.

page
integer
>= 1

Page number, 100 records per page. Leave it off to try to get every record.

The products in your account.

Media typeapplication/json
Array<object>
object
id
integer
created_at

UNIX timestamp (seconds).

integer
updated_at

UNIX timestamp (seconds).

integer
storefront_id
integer
name
string
description

Short description.

string
long_description
string
price
string
sku
string
image_file_name

The image’s file name, for building an image URL.

string
image_updated_at

UNIX timestamp (seconds).

integer
mime_type
string
file_size
integer
file_name
string
prices
Array<object>
object
id
integer
name
string
price
string
weight
integer
visibility

0 is hidden, 1 is displayed.

integer
Allowed values: 0 1

Example

[
{
"price": "19.99",
"prices": [
{
"price": "19.99"
}
],
"visibility": 0
}
]

The username or API password is wrong.

Nothing found: the record doesn’t exist or isn’t yours, the list is empty, or the page is past the last one.

Media typeapplication/json
object
status
string
Allowed value: NOTFOUND

Example

{
"status": "NOTFOUND"
}