List products
Get a list of products for the specified business id and branch id. List can be filtered by product type, DateTime of update, name and barcode and possibility to include archived products in the list or only to list archived, low in stock or out of stock products
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
type of product to filter by
query to search for a product by name or barcode
list only archived products
list only out of stock products
list only low in stock products
include archived products in the list
date-time from which the products has been updated onwards
date-time to which the products has been updated backwards
number of products records to return, max is 200
page number, default is 0 and is optional
Response
Products listed
Example response
{
"_embedded": {
"products": [
{
"productId": "12323",
"parentProductId": "12323",
"name": "Gentle Foaming Cleanser Combination/Oily Skin",
"brandId": "123",
"brandName": "100% Pure",
"categoryId": "123456",
"categoryName": "2 Minute Root Touch-ups",
"price": 30,
"minQuantity": 1,
"maxQuantity": 19,
"type": "RETAIL, COLOUR, PROFESSIONAL",
"barcode": "2313131312",
"measurementQuantity": 8,
"measurementUnit": "ml",
"reorderCount": 10,
"reorderCost": 20,
"quantityInStock": -2,
"code": "134"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.