/checklist/productsplits
Retrieves information about products and their split configurations.
Response includes:
all
: List of all product IDsdefaultset
: Products with default splits configuredHeaders:
x-tenant-id
: Required. The tenant IDAuthorization
: Required. Bearer token for authenticationMethod: GET
Response: The response contains a list of product splits with their configurations.
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/checklist/productsplits \
--header 'Authorization: Bearer <token>'
{
"count": 89,
"productsplits": [
{
"productId": "p1b2c3d4-e5f6-7890-1234-567890abcdef",
"productTitle": "Greatest Hits Album",
"upc": "123456789012",
"splits": [
{
"userId": "u1b2c3d4-e5f6-7890-1234-567890abcdef",
"userName": "Main Artist",
"percentage": 60
},
{
"userId": "u9e8d7c6-b5a4-3210-9876-543210fedcba",
"userName": "Featured Artist",
"percentage": 40
}
]
}
]
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Successfully retrieved product splits checklist
The response is of type object
.
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/checklist/productsplits \
--header 'Authorization: Bearer <token>'
{
"count": 89,
"productsplits": [
{
"productId": "p1b2c3d4-e5f6-7890-1234-567890abcdef",
"productTitle": "Greatest Hits Album",
"upc": "123456789012",
"splits": [
{
"userId": "u1b2c3d4-e5f6-7890-1234-567890abcdef",
"userName": "Main Artist",
"percentage": 60
},
{
"userId": "u9e8d7c6-b5a4-3210-9876-543210fedcba",
"userName": "Featured Artist",
"percentage": 40
}
]
}
]
}