curl --request GET \
--url https://api.byblend.com/api/v1/search/products \
--header 'Authorization: Bearer <token>'{
"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",
"sku": "1234567890",
"name": "Mupirocin",
"description": "A topical cream that is used to treat skin infections.",
"product_code": "SUPERSPRAY15",
"category": "topicals",
"form": "cream",
"is_active": true,
"label_orientation": "portrait",
"strength": "1%"
}
]
}Search products by name, SKU, or a substring.
curl --request GET \
--url https://api.byblend.com/api/v1/search/products \
--header 'Authorization: Bearer <token>'{
"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",
"sku": "1234567890",
"name": "Mupirocin",
"description": "A topical cream that is used to treat skin infections.",
"product_code": "SUPERSPRAY15",
"category": "topicals",
"form": "cream",
"is_active": true,
"label_orientation": "portrait",
"strength": "1%"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Search query
"rapamycin"
Optional limit on the number of results to return. Max is 100, default is 50.
10
Successful response with array of products
Show child attributes
Ranking score of the search result, from 0 to 1, indicating relevance to the search query
0.7
prescription Unique identifier
"0227d1e5-ba9a-42b5-8fe2-38882aa65708"
Date and time of creation
"2025-03-15T12:00:00Z"
Date and time of last update
"2025-03-15T12:00:00Z"
Unique inventory identifier for the product
"1234567890"
"Mupirocin"
"A topical cream that is used to treat skin infections."
Customer reference for the product for use in electronic prescriptions.
"SUPERSPRAY15"
Optional category of the product for customer use, if desired.
"topicals"
Optional form of the product for customer use, if desired.
"cream"
Whether the product is currently active for purchase or prescription
true
Orientation of the printed product label, either portrait or landscape.
"portrait"
Optional strength of the product for customer use, if desired.
"1%"