curl --request GET \
--url https://api.byblend.com/api/v1/products \
--header 'Authorization: Bearer <token>'{
"non_prescription": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"sku": "1234567890",
"name": "Krill Farms Fish Oil",
"description": "A fish oil supplement complementary to prescribed products.",
"category": "nutrition",
"form": "liquid",
"is_active": true
}
],
"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%"
}
],
"order_material": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"sku": "1234567890",
"name": "Referral Brochure",
"description": "Customer brochure included in every shipment.",
"category": "marketing",
"current_stock": 927,
"reorder_threshold": 100,
"has_inventory": true,
"is_global": false
}
]
}Retrieve all products and materials available for ordering, in separate object arrays.
curl --request GET \
--url https://api.byblend.com/api/v1/products \
--header 'Authorization: Bearer <token>'{
"non_prescription": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"sku": "1234567890",
"name": "Krill Farms Fish Oil",
"description": "A fish oil supplement complementary to prescribed products.",
"category": "nutrition",
"form": "liquid",
"is_active": true
}
],
"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%"
}
],
"order_material": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"sku": "1234567890",
"name": "Referral Brochure",
"description": "Customer brochure included in every shipment.",
"category": "marketing",
"current_stock": 927,
"reorder_threshold": 100,
"has_inventory": true,
"is_global": false
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Optional type of product to retrieve, either 'prescription', 'non_prescription', or 'order_material'
"prescription"
Successful response with all products, or specific type of products.
Show child attributes
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"
"Krill Farms Fish Oil"
"A fish oil supplement complementary to prescribed products."
Optional category of the product
"nutrition"
Optional form of the product for customer use, if desired.
"liquid"
Whether the product is currently active for purchase
true
Show child attributes
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%"
Show child attributes
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"
"Referral Brochure"
"Customer brochure included in every shipment."
"marketing"
927
100
Whether the product has any inventory associated with it
true
Whether the material is customer-specific or Blend-wide (e.g. regulatory inserts)
false