POST
/
api
/
v1
/
products
/
non_prescription
curl --request POST \
  --url https://api.byblend.com/api/v1/products/non_prescription \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Krill Farms Fish Oil",
  "description": "A fish oil supplement complementary to prescribed products.",
  "category": "nutrition",
  "form": "liquid",
  "is_active": true,
  "price": 39.99,
  "unit_count": 1000,
  "unit_type": "ml"
}'
{
  "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": "Krill Farms Fish Oil",
  "description": "A fish oil supplement complementary to prescribed products.",
  "category": "nutrition",
  "form": "liquid",
  "is_active": true,
  "price": 39.99,
  "unit_count": 1000,
  "unit_type": "ml"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Product created successfully

The response is of type object.