Download pricesheets endpoint

it is possible to download a CSV export of a product by running a POST on the endpoint "https://api.helloprint.com/rest/v1/products/{{productKey}}/prices/download"

This triggers an async process that will generate the requested export and send an email when ready to the email address that's connected to the apikey.

The endpoint uses the product key, this key can be found in the funnel, its the part before the "~" in the variant key:

730
{
  "callbackUrls": [
    "https://yoururl/"
  ]
}

Eample reponse [POST]:

{
    "product": "flyers",
    "fileName": "_flyers.csv",
    "downloadLink": "https://downloadlink/",
    "fileCreatedAt": "2022-02-21 11:00:54",
    "fileExpiresAt": "2022-02-22 11:00:54"
}