Skip to main content
GET
/
checklist
/
productsplits
Check Products Splits
curl --request GET \
  --url https://api.royalti.io/checklist/productsplits \
  --header 'Authorization: Bearer <token>'
{
  "all": [
    {
      "id": "p1b2c3d4-e5f6-7890-1234-567890abcdef"
    },
    {
      "id": "p1b2c3d4-e5f6-7890-1234-567890abcdef"
    }
  ],
  "defaultset": [
    {
      "id": "p1b2c3d4-e5f6-7890-1234-567890abcdef",
      "upc": "123456789012",
      "title": "Greatest Hits Album",
      "displayArtist": "Artist Name",
      "split": 100
    }
  ]
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/checklist/productsplits Retrieves information about products and their split configurations. Response includes:
  • all: List of all product IDs
  • defaultset: Products with default splits configured
Headers:
  • x-tenant-id: Required. The tenant ID
  • Authorization: Required. Bearer token for authentication
Method: GET Response: The response contains a list of product splits with their configurations.

Code Examples

const response = await fetch('https://api.royalti.io/checklist/productsplits', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Successfully retrieved product splits checklist

all
object[]
defaultset
object[]