GET
/
api
/
v1
/
products
/
inventory
/
{lot_id}
/
associations
curl --request GET \
  --url https://api.byblend.com/api/v1/products/inventory/{lot_id}/associations \
  --header 'Authorization: Bearer <token>'
{
  "prescription": [
    {
      "customer": "Health First Telemedicine Clinic",
      "customer_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "name": "Special Blend Product",
      "product_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "units_per_product": 100
    }
  ],
  "non_prescription": [
    {
      "customer": "Health First Telemedicine Clinic",
      "customer_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "name": "Special Blend Product",
      "product_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "units_per_product": 100
    }
  ],
  "order_material": [
    {
      "customer": "Health First Telemedicine Clinic",
      "customer_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "name": "Special Blend Product",
      "product_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
      "units_per_product": 100
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

lot_id
string
required

Unique (UUID) identifier for the inventory lot

Response

200 - application/json

Successful response with inventory associations

The response is of type object.