curl --request POST \
--url https://api.byblend.com/api/v1/products/prescription \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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%"
}'
{
"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%"
}
Add a new prescription product to the Blend inventory.
curl --request POST \
--url https://api.byblend.com/api/v1/products/prescription \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"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%"
}'
{
"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%"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Product created successfully
The response is of type object
.