Product Bundles
ProductBundles object
This operation returns a list of product bundles. Product bundles are groups of products that can have a fixed price and are always sold together as combo meals.
The default page size is 10; page sizes must be integers between 1 and 1000, including for the internal guest-ordering route.
Note: This operation needs Authentication and supports the following JSON:API features:
Relationships -
productBundleItemsusingincludequery parameter.Sparse fieldsets - supports all fields of
productBundleand related resources withfieldsquery parameter.
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
The number of resources to return in a single response.
Unique identifier.
^[a-zA-Z0-9-]+$Unique identifier.
^[a-zA-Z0-9-]+$Filters the objects that were updated after a specified datetime.
Timestamp in RFC 3339 format.
2023-10-16T14:30:00ZDate in RFC 3339 format.
2023-10-16Filters the objects that were updated after or on a specified datetime.
Timestamp in RFC 3339 format.
2023-10-16T14:30:00ZDate in RFC 3339 format.
2023-10-16Successful response with product bundles data in JSON:API format.
Bad request.
Unauthorized.
Unprocessable entity.
Too many requests.
Internal Server Error.
Service is unavailable.
GET /pos/v1/product-bundles HTTP/1.1
Host: api.mews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "286ef74f-e37f-477f-bcda-77f8fbfd13ea",
"type": "productBundles",
"attributes": {
"name": "Combo Meal",
"description": "A burger, fries, and drink",
"imageUrl": "https://api.mews-demo.com/pos/images/example.png",
"priceRange": {
"min": "10.00",
"max": "15.00"
},
"retailPriceInclTax": "15.00",
"createdAt": "2022-10-16T11:29:00Z",
"updatedAt": "2022-10-19T11:29:00Z"
},
"relationships": {
"productBundleItems": {
"data": [
{
"id": "c53372e2-9aa1-452a-8965-2ea3fa514fb2",
"type": "productBundleItems"
},
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "productBundleItems"
}
]
}
}
}
],
"included": [
{
"id": "c53372e2-9aa1-452a-8965-2ea3fa514fb2",
"type": "productBundleItems",
"attributes": {
"retailPriceInclTax": "5.00",
"groupName": "Lunch",
"groupId": "32fa9b40-ea21-44b5-b0e0-d4ae8b9dbe42",
"groupPosition": 1,
"createdAt": "2022-10-16T11:29:00Z",
"updatedAt": "2022-10-19T11:29:00Z"
},
"relationships": {
"product": {
"data": {
"id": "06382148-c76a-489d-b382-72fb7d7ab37b",
"type": "products"
}
},
"productVariant": {
"data": {
"id": "e727124a-d2bb-4002-98bd-81af6d788666",
"type": "productVariants"
}
}
}
},
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "productBundleItems",
"attributes": {
"retailPriceInclTax": "10.00",
"groupName": "Lunch",
"groupId": "32fa9b40-ea21-44b5-b0e0-d4ae8b9dbe42",
"groupPosition": 1,
"createdAt": "2022-10-16T11:29:00Z",
"updatedAt": "2022-10-19T11:29:00Z"
},
"relationships": {
"product": {
"data": {
"id": "0907e6d2-62c1-44cd-a886-f403ce9c7145",
"type": "products"
}
},
"productVariant": {
"data": null
}
}
}
],
"links": {
"prev": "https://api.mews-demo.com/pos/v1/product-bundles?page%5Bbefore%5D=NA&page%5Bsize%5D=1",
"next": "https://api.mews-demo.com/pos/v1/product-bundles?page%5Bafter%5D=NA&page%5Bsize%5D=1"
}
}Last updated
Was this helpful?