Reveni Get Return Label

Reveni get return label

This action retrieves a return label, and optionally a QR label, from Reveni. It takes as input the Label and QR URLs that can be found for each customer in their Reveni order object. Once retrieved, the labels are uploaded to DG storage, and the action outputs the URLs for download.

Inputs

In order to use the action in your flow you need to provide it with the following inputs:

InputTypeDescription
Return Label URLStringThis is the endpoint to call in order to retrieve the return label. This will be unique for each customer, and can be found under return_label.documents.label_url in the Reveni order object (use https://docs.digitalgenius.com/docs/reveni-get-return-by-order-number)
QR Label URLOptional StringThis is the endpoint to call in order to retrieve the QR label. This will be unique for each customer, and can be found under return_label.documents.qr_label_url in the Reveni order object (use https://docs.digitalgenius.com/docs/reveni-get-return-by-order-number). It's optional as most customers will not have a QR code
Reveni API KeyStringThe Reveni API Key
DG KeyStringThe DG dashboard Key
DG SecretStringThe DG dashboard Secret

Outputs

OutputTypeDescription
SuccessBooleanTrue if managed to retrieve a return label; False if none found.
Return Label Download URLStringThe URL to download the returns label
QR Label Download URLStringThe URL to download the QR label