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
Product ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id} \
  --header 'Authorization: Bearer <token>'{
  "message": "Product retrieved successfully",
  "product": {
    "id": "77339e1c-f962-447c-bf13-8fc047d4f8d2",
    "upc": "AB12fdfdg348vvfv67890ff",
    "title": "Mavins sabi girl",
    "displayArtist": "arya star",
    "mainArtist": [
      "arya star"
    ],
    "type": "Audio",
    "format": "Single",
    "releaseDate": "2022-02-01",
    "mainGenre": [
      "Pop"
    ],
    "subGenre": [
      "Electronic"
    ],
    "label": "Example Label",
    "status": "Live",
    "distribution": "Example Distribution",
    "externalId": "product-external-123"
  }
}/product/
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id} \
  --header 'Authorization: Bearer <token>'{
  "message": "Product retrieved successfully",
  "product": {
    "id": "77339e1c-f962-447c-bf13-8fc047d4f8d2",
    "upc": "AB12fdfdg348vvfv67890ff",
    "title": "Mavins sabi girl",
    "displayArtist": "arya star",
    "mainArtist": [
      "arya star"
    ],
    "type": "Audio",
    "format": "Single",
    "releaseDate": "2022-02-01",
    "mainGenre": [
      "Pop"
    ],
    "subGenre": [
      "Electronic"
    ],
    "label": "Example Label",
    "status": "Live",
    "distribution": "Example Distribution",
    "externalId": "product-external-123"
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/product/example-id', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Product ID