Barcoding
Notifications
Orders
Patients
- GETGet patients
- POSTCreate a patient
- GETGet a patient's details
- PUTUpdate a patient's details
- GETGet guardian relationship types
- GETGet a patient's orders
- GETGet a patient's risk factors
- POSTCreate risk factors
- POSTCreate a single risk factor
- PATCHConfirm risk factor match
- DELDeactivate a risk factor
- POSTAdd freeform risk factor text
Prescribers
Prescriptions
Products and Materials
Products and Materials Inventory
- GETGet inventory
- POSTCreate product inventory
- GETGet inventory lot details
- PUTUpdate inventory lot
- GETGet a prescription product inventory
- POSTCreate prescription product inventory
- GETGet a non-prescription product inventory
- POSTCreate non-prescription product inventory
- GETGet order material inventory
- POSTCreate order material product inventory
- PATCHAdjust inventory quantity
- GETGet inventory associations
- POSTCreate inventory association
- DELRemove inventory association
Reports
Search
Tasks
Webhooks
Search
Search products
Search products by name, SKU, or a substring.
GET
/
api
/
v1
/
search
/
products
Copy
curl --request GET \
--url https://api.byblend.com/api/v1/search/products \
--header 'Authorization: Bearer <token>'
Copy
{
"results": [
{
"rank": 0.7,
"result_type": "prescription",
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"current_stock": 927,
"reorder_threshold": 100,
"has_inventory": true,
"sku": "1234567890",
"name": "Mupirocin",
"description": "A topical cream that is used to treat skin infections.",
"product_code": "SUPERSPRAY15",
"category": "topicals",
"form": "cream",
"formula_id": 826271167,
"is_active": true,
"is_controlled_substance": false,
"price": 120,
"strength": "1%",
"unit_count": 100,
"unit_type": "mg"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Search query
Example:
"rapamycin"
Optional limit on the number of results to return. Max is 100, default is 50.
Example:
10
Response
200 - application/json
Successful response with array of products
The response is of type object
.
Copy
curl --request GET \
--url https://api.byblend.com/api/v1/search/products \
--header 'Authorization: Bearer <token>'
Copy
{
"results": [
{
"rank": 0.7,
"result_type": "prescription",
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"current_stock": 927,
"reorder_threshold": 100,
"has_inventory": true,
"sku": "1234567890",
"name": "Mupirocin",
"description": "A topical cream that is used to treat skin infections.",
"product_code": "SUPERSPRAY15",
"category": "topicals",
"form": "cream",
"formula_id": 826271167,
"is_active": true,
"is_controlled_substance": false,
"price": 120,
"strength": "1%",
"unit_count": 100,
"unit_type": "mg"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.