Skip to main content
GET
/
returns
/
{return_request_id}
Get Return Request
curl --request GET \
  --url https://api.zinc.com/returns/{return_request_id} \
  --header 'Authorization: <api-key>'
import requests

url = "https://api.zinc.com/returns/{return_request_id}"

headers = {"Authorization": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};

fetch('https://api.zinc.com/returns/{return_request_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zinc.com/returns/{return_request_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.zinc.com/returns/{return_request_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.zinc.com/returns/{return_request_id}")
.header("Authorization", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.zinc.com/returns/{return_request_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "notes": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "resolution_notes": "<string>",
  "items": [],
  "label_urls": [],
  "merchant_return_id": "<string>"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
Retrieve a return request, including any return labels issued for it.
Each entry in label_urls is a signed URL that expires after 7 days. Re-fetch the return to refresh the URLs if a customer hasn’t downloaded the label in that window.

Authorizations

Authorization
string
header
required

Zinc API key (Bearer zn_...)

Headers

authorization
string | null

Path Parameters

return_request_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
order_id
string<uuid>
required
status
enum<string>
required
Available options:
open,
approved,
denied,
credited
reason
enum<string>
required

Universal return reason codes (Shopify + Amazon prepaid alignment).

Available options:
damaged,
not_delivered,
empty_box,
wrong_item,
defective,
not_as_described,
wrong_size,
no_longer_needed,
forced_cancellation,
other
notes
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
resolution_notes
string | null
items
ReturnRequestItem · object[]
label_urls
string[]
merchant_return_id
string | null