List Products

This endpoint retrieves a list of products based on specified criteria such as product name, SKU, barcode, category, stock status, and expiration status.

Endpoint

GET https://api.keepup.store/v2.0/products

Headers

Authorization: Bearer API_KEY

Query Parameters

product_name

string

optional

Name of the product to filter by. Example: "Widget A"

SKU

string

optional

Stock Keeping Unit to filter by. Example: "SKU12345"

barcode

string

optional

Barcode to filter by. Example: "0123456789012"

category

string

optional

Category of the products. Example: "Electronics"

status

string

optional

Stock status to filter by, options are 'in_stock', 'out_of_stock', 'low_stock', 'all'. Example: "in_stock"

expired

string

optional

Filter for products based on expiration, options are 'yes', 'no'. Example: "no"

limit

string

optional

Limits the number of products returned. Use 'all' for no limit. Example: "10"

page

string

optional

Specifies the page number for pagination. Example: "1"

Sample Requests

Sample Response

Last updated