> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maalbar.dk/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Screening

> Create a product and attach a screening to it.

A screening is always attached to a product. Create the product first, then create a screening for it.

## Create a product

Call [POST /v1/products](/api-reference/products/create-a-product) to create the product.

The response includes a `publicId` (e.g. `prd_xxxxxxxxxxxx`) — save this. You'll pass it as a path parameter in every subsequent product call, including creating the screening.

## Create a screening

Call [POST /v1/products/\{productId}/screenings](/api-reference/product/create-a-screening-for-a-product) using the product `publicId` from above.

The response includes a screening `publicId` (e.g. `scr_xxxxxxxxxxxx`) — save this. You'll use it when adding materials, packaging, and in all other screening-scoped calls.

## What to know about the fields

`transportLocation` takes a location `publicId` (`trl_` prefix). Fetch available locations from [GET /v1/locations](/api-reference/locations/get-all-locations) and use the `publicId` from that response. If no locations exist yet, see [Create a Location](/developer/quickstart/locations) first.

Several fields only apply to specific product types and can be ignored otherwise:

| Product type          | Relevant fields                                                                                                                              |
| :-------------------- | :------------------------------------------------------------------------------------------------------------------------------------------- |
| Electrical appliances | `energyOperationalConsumption`, `energyStandbyConsumption`                                                                                   |
| Lighting products     | `lightSocketType` (`None`, `E14`, `E27`, `G9`), `amountOfLightSockets`, `lightSourceOperationalConsumption`, `lightSourceStandbyConsumption` |

## Next

[Add Materials →](/developer/quickstart/materials)
or
[Add Packaging →](/developer/quickstart/packaging)
