This endpoint requires authentication. Include your Bearer token in the Authorization header.
 
Code Examples
const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/product/example-id/setdefaultsplit', {
  method: 'PUT',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "defaultSplit": [
      {
        "user": "sample-user",
        "share": 1
      }
    ]
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"