curl --request POST \
--url https://api.royalti.io/product/{id}/deliveries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"providers": [
"spotify-ddex-sftp",
"apple-ddex-api"
],
"autoDeliver": true,
"settings": {
"releaseType": "Album"
}
}
'{
"status": "success",
"message": "Deliveries initiated successfully",
"data": {
"productId": "<string>",
"upc": "<string>",
"deliveries": [
{
"provider": "<string>",
"status": "<string>",
"deliveryId": "<string>"
}
]
}
}/product//deliveries
curl --request POST \
--url https://api.royalti.io/product/{id}/deliveries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"providers": [
"spotify-ddex-sftp",
"apple-ddex-api"
],
"autoDeliver": true,
"settings": {
"releaseType": "Album"
}
}
'{
"status": "success",
"message": "Deliveries initiated successfully",
"data": {
"productId": "<string>",
"upc": "<string>",
"deliveries": [
{
"provider": "<string>",
"status": "<string>",
"deliveryId": "<string>"
}
]
}
}POST
Path Parameter:
| Parameter | Type | Description |
|---|---|---|
| id | string | The unique identifier of the product |
| Parameter | Type | Description |
|---|---|---|
| providers | array/string | Provider ID(s) to deliver to |
| autoDeliver | boolean | Whether to automatically deliver (default: true) |
| settings | object | Optional DDEX settings override |
const response = await fetch('https://api.royalti.io/product/example-id/deliveries', {
method: 'POST',
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
"autoDeliver": true,
"settings": {}
})
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Product ID