Listing bundle ingredients
Overview
This endpoint can be used to get a list of the ingredients (products) contained in a bundle. Send the product_id of a product of type bundle in the endpoint.
Method access
GET https://api.getbyrd.com/v2/warehouse/products/<product_id>/bundles
Request Headers
Authorization: Bearer token-from >
Authentication
Content-Type: application/json
User-Agent: your user-agent >
How to call the APIs
Successful response example
{
"data": [
{
"createdAt": "2023-01-31T16:07:26.625812+00:00",
"quantity": 2,
"updatedAt": "2023-01-31T16:07:26.625822+00:00",
"ingredient": {
"dangerousGoods": [],
"reorderPoint": 0,
"packagingUnitEnabled": false,
"createdAt": "2023-01-11T10:47:38.303159+00:00",
"active": true,
"purchasePrice": {
"taxFactor": "1.0",
"value": "10.00",
"currency": "EUR"
},
"deletedDate": null,
"unavailableStock": 0,
"isbn": null,
"changeRequests": null,
"dimensionsPhotoURLs": null,
"serialNumberEnabled": false,
"bsku": "BSKU-JDIWSCU2AW",
"weightEstimation": null,
"dangerousGoodsMSDSURL": null,
"unreleasedReservations": 0,
"originCountryCode": null,
"packagingUnits": [],
"customsTariffNumber": null,
"lotsEnabled": false,
"stocksByWarehouse": {},
"barcode": null,
"variantID": null,
"storages": [],
"availableStock": 0,
"deleted": false,
"user": {
"id": "0e035e62-07cf-4002-9295-474099d098d3"
},
"organic": false,
"shopID": null,
"isDangerousGoods": false,
"barcodeType": "code_128",
"productType": "product",
"fragile": false,
"sku": "E2ETESTPRODUCT2",
"physicalStock": 0,
"updatedAt": "2023-01-11T10:47:38.303165+00:00",
"retailPrice": null,
"upc": null,
"id": "0034d78c-aea6-47d6-8680-90411bd42868",
"productID": null,
"skipBarcodePick": false,
"purchasePriceEvidenceURL": null,
"ean": null,
"description": null,
"inventorySerialNumberEnabled": false,
"reservedStock": 0,
"userID": "0e035e62-07cf-4002-9295-474099d098d3",
"name": "E2ETESTPRODUCT2",
"dimensions": {
"length": null,
"createdAt": "2023-01-11T10:47:38.305268+00:00",
"sizeGroup": null,
"createdBy": "CUSTOMER",
"scannerIdentifier": null,
"updatedAt": "2023-01-11T10:47:38.305273+00:00",
"width": null,
"isHeightVariable": false,
"height": null,
"id": "2a736269-408e-491b-990f-401801301c50",
"weight": null
}
}
},
{
"createdAt": "2023-01-31T16:07:26.629746+00:00",
"quantity": 3,
"updatedAt": "2023-01-31T16:07:26.629753+00:00",
"ingredient": {
"dangerousGoods": [],
"reorderPoint": 0,
"packagingUnitEnabled": false,
"createdAt": "2023-01-11T10:47:18.535605+00:00",
"active": true,
"purchasePrice": {
"taxFactor": "1.0",
"value": "10.00",
"currency": "EUR"
},
"deletedDate": null,
"unavailableStock": 0,
"isbn": null,
"changeRequests": null,
"dimensionsPhotoURLs": null,
"serialNumberEnabled": false,
"bsku": "BSKU-1QW9RIQ7AB",
"weightEstimation": null,
"dangerousGoodsMSDSURL": null,
"unreleasedReservations": 0,
"originCountryCode": null,
"packagingUnits": [],
"customsTariffNumber": null,
"lotsEnabled": false,
"stocksByWarehouse": {},
"barcode": null,
"variantID": null,
"storages": [],
"availableStock": 0,
"deleted": false,
"user": {
"id": "0e035e62-07cf-4002-9295-474099d098d3"
},
"organic": false,
"shopID": null,
"isDangerousGoods": false,
"barcodeType": "code_128",
"productType": "product",
"fragile": false,
"sku": "E2ETESTPRODUCT1",
"physicalStock": 0,
"updatedAt": "2023-01-11T10:47:18.535612+00:00",
"retailPrice": null,
"upc": null,
"id": "5308b6a3-75f6-45cb-877c-8dc81a1d22e2",
"productID": null,
"skipBarcodePick": false,
"purchasePriceEvidenceURL": null,
"ean": null,
"description": null,
"inventorySerialNumberEnabled": false,
"reservedStock": 0,
"userID": "0e035e62-07cf-4002-9295-474099d098d3",
"name": "E2ETESTPRODUCT1",
"dimensions": {
"length": null,
"createdAt": "2023-01-11T10:47:18.537907+00:00",
"sizeGroup": null,
"createdBy": "CUSTOMER",
"scannerIdentifier": null,
"updatedAt": "2023-01-11T10:47:18.537912+00:00",
"width": null,
"isHeightVariable": false,
"height": null,
"id": "53c0de99-1d8d-41d7-8fe6-2ab7cf3b0f48",
"weight": null
}
}
}
]
}
Updated about 22 hours ago