Skip to main content

Get All Products

Endpoint for getting all Products.

info

Please be aware that this endpoint requires a Manage Products API Key.

GET /api/v1/groups/{group_id}/products

Query Parameters

NameDescriptionType
limitOptional parameter to limit the number of results in the query.uint64
offsetThe number of Products to skip before starting to collect the result set.uint64
nameThe name of the Product.string

Response

CodeDescription
200Success
400Bad Request / Validation error
500Internal Error

Example Usage

getAll.js
var headers = new Headers();
headers.append('Authorization', 'API_KEY');

var requestOptions = {
method: 'GET',
headers: headers,
redirect: 'follow'
};
const group_id = '';
const url = `https://api.reverepayments.dev/api/v1/groups/${group_id}/products`;
fetch(url, requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.log('error', error));

Example Success Response

{
"data": {
"items": [
{
"id": "c2f2a400-f937-4073-a160-75e58feddb40",
"group_id": "655e5d89-5541-4852-b284-58772dbdfd90",
"name": "Cappuccino S",
"description": "Steamed milk, including a layer of milk foam, simple espresso.",
"amount": 475,
"included_tax_amount": 45,
"unit_of_measure": "pc",
"created_at": "2025-10-15T12:14:03.36672Z",
"updated_at": "2025-11-06T12:22:34.936989Z"
},
{
"id": "eef1b240-6e4d-42f7-93ea-873d165aa696",
"group_id": "eef1b240-6e4d-42f7-93ea-873d165aa696",
"name": "Flat white",
"description": "Steamed milk, double espresso.",
"amount": 670,
"included_tax_amount": 50,
"unit_of_measure": "pc",
"created_at": "2025-08-18T00:00:00Z",
"updated_at": "2025-08-18T00:00:00Z"
},
{
"id": "bfe6280a-2b63-4c16-8e0e-2c13f548bafb",
"group_id": "655e5d89-5541-4852-b284-58772dbdfd90",
"name": "Cappuccino M",
"description": "Steamed milk, including a layer of milk foam, double espresso.",
"amount": 572,
"included_tax_amount": 52,
"unit_of_measure": "pc",
"created_at": "2025-05-12T08:38:29.128305Z",
"updated_at": "2025-05-12T08:39:46.437993Z"
},
{
"id": "9ff3c38f-8942-48d6-a2c2-173cdbe34296",
"group_id": "655e5d89-5541-4852-b284-58772dbdfd90",
"name": "Cappuccino L",
"description": "Steamed milk, including a layer of milk foam, triple espresso.",
"amount": 702,
"included_tax_amount": 62,
"unit_of_measure": "pc",
"created_at": "2025-05-08T11:02:31.556411Z",
"updated_at": "2025-05-12T08:36:43.518346Z"
},
{
"id": "877bcce8-bff1-43fe-abf6-3990fd8775c2",
"group_id": "655e5d89-5541-4852-b284-58772dbdfd90",
"name": "Espresso Macchiato",
"description": "Espresso with a layer of milk foam.",
"amount": 365,
"included_tax_amount": 40,
"unit_of_measure": "pc",
"created_at": "2025-05-08T11:06:37.735413Z",
"updated_at": "2025-05-08T11:06:37.735413Z"
}
],
"total_count": 5
}
}