Skip to content

List products

Request

Returns your products, newest first. Cursor-paginated.

Security
ClientKey and SecretKey
Query
limitinteger, [ 1 .. 100 ]

How many records to return, 1–100.

Default:10
starting_afterstring

Return records after this one. Pass the token of the last record on the previous page to walk forward.

ending_beforestring

Return records before this one, to walk backward. Pass the token of the first record on the page you have.

statusstring
Enum:"PUBLISHED""DRAFT""all"
min_pricenumber
max_pricenumber
min_inventoryinteger

Minimum quantity in stock.

max_inventoryinteger
searchstring

Matches against the product name.

categorystring

Only products in this category, by the category's token. An unknown token returns an empty list.

Example:category=cat_OwnPgze7_HExqHIKA_LjAgZ9oA_ThPBbj3
curl -i -X GET \
  'https://docs.dimepay.net/_mock/apis/v2/dime-v2/products?limit=10&starting_after=string&ending_before=string&status=PUBLISHED&min_price=0&max_price=0&min_inventory=0&max_inventory=0&search=string&category=cat_OwnPgze7_HExqHIKA_LjAgZ9oA_ThPBbj3' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-Dime-Client: YOUR_API_KEY_HERE'

Responses

A page of products.

Bodyapplication/json
objectstringrequired
Example:"list"
Value:"list"
dataArray of objects(Product)required
has_morebooleanrequired
Example:true
Response
{ "object": "list", "data": [ { … } ], "has_more": false }