The
/product/{id}/setdefaultsplit
endpoint sets the default split configuration for a product based on the first associated artistβs default splits. If no artist is associated with the product, it will return an error.
Method:PUT
Path Parameter:
Parameter | Type | Description |
---|---|---|
id | string | The unique identifier of the product. |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Path Parameters
Parameter | Type | In | Required | Description |
---|---|---|---|---|
id | string | path | β | Product ID |
Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
defaultSplit | array | β |
Responses
β 200 - Success
β οΈ 401 - Unauthorized
β οΈ 404 - Not Found
β 500 - Internal Server Error
Tags
Product
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Product ID
Body
application/json
Response
Success