Skip to main content
PUT
/
screenings
/
{screeningPublicId}
/
components
/
{screeningComponentPublicId}
Update component on a screening
curl --request PUT \
  --url https://api.maalbar.dk/screenings/{screeningPublicId}/components/{screeningComponentPublicId} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "amount": 123,
  "excludedPackaging": [
    {
      "publicId": "scm_xxxxxxxxxxxx"
    }
  ],
  "excludePallet": true,
  "applicationWaste": 123
}
'
{
  "error": "Authentication required"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
amount
number
required
excludedPackaging
object[]
required
excludePallet
boolean
required
applicationWaste
number | null

Response

Unauthorized

error
string
Example:

"Authentication required"