Skip to main content
POST
/
product
/
download
/
csv
Download Products CSV
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/download/csv \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productIds": [
    "<string>"
  ]
}'
This response does not have an example.
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/download/csv', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "productIds": [
      {}
    ]
  })
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

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

Body

application/json
productIds
string[]

Array of product IDs to include in the CSV

Response

Success

The response is of type file.