This endpoint requires authentication. Include your Bearer token in the Authorization header.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Body
application/json
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/labels/{labelId}/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": "2fca1b81-2f97-4b02-92a2-899d17c756b8",
  "releaseType": "full"
}'{
  "status": "<string>",
  "data": {
    "LabelId": "<string>",
    "ProductId": "<string>",
    "releaseType": "<string>"
  }
}Add Product to Label
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/labels/{labelId}/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": "2fca1b81-2f97-4b02-92a2-899d17c756b8",
  "releaseType": "full"
}'{
  "status": "<string>",
  "data": {
    "LabelId": "<string>",
    "ProductId": "<string>",
    "releaseType": "<string>"
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/labels/example-id/products', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "ref": "#/components/schemas/LabelProductAssociation"
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"