PUT
/
product
/
{id}
/
artists
Update Product Artists
curl --request PUT \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/{id}/artists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "artists": [
    "artist-id-1",
    "artist-id-2"
  ]
}'
{
  "message": "Artist added to product"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Product ID

Body

application/json

Response

200
application/json

Success

The response is of type object.