Delete return link
curl --request DELETE \
--url https://api.quivo.co/returnLinks/{returnLinkId}import requests
url = "https://api.quivo.co/returnLinks/{returnLinkId}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.quivo.co/returnLinks/{returnLinkId}', 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.quivo.co/returnLinks/{returnLinkId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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.quivo.co/returnLinks/{returnLinkId}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.quivo.co/returnLinks/{returnLinkId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/returnLinks/{returnLinkId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"sellerId": 123,
"shippingServiceGroupId": 123,
"shipToAddress": {
"name1": "<string>",
"name2": "<string>",
"company": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
},
"defaultWeightKG": 123,
"weightInputVisible": true,
"id": 123,
"created": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"returnLink": "<string>",
"shippingServiceGroupName": "<string>"
}returnLinks
Delete return link
Delete an existing return link.
DELETE
/
returnLinks
/
{returnLinkId}
Delete return link
curl --request DELETE \
--url https://api.quivo.co/returnLinks/{returnLinkId}import requests
url = "https://api.quivo.co/returnLinks/{returnLinkId}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.quivo.co/returnLinks/{returnLinkId}', 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.quivo.co/returnLinks/{returnLinkId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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.quivo.co/returnLinks/{returnLinkId}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.quivo.co/returnLinks/{returnLinkId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/returnLinks/{returnLinkId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_body{
"sellerId": 123,
"shippingServiceGroupId": 123,
"shipToAddress": {
"name1": "<string>",
"name2": "<string>",
"company": "<string>",
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>"
},
"defaultWeightKG": 123,
"weightInputVisible": true,
"id": 123,
"created": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"returnLink": "<string>",
"shippingServiceGroupName": "<string>"
}Path Parameters
The unique identifier for a return link.
Response
200 - application/json
Returns confirmation of the return link deletion operation.
Return link configuration and details. Contains link validity, return conditions, associated order filters, and usage statistics.
Seller ID.
Shipping Service Group ID.
Required shipping service group for which to create a return link.
Detailed address information
Show child attributes
Show child attributes
Default weight in KG.
Indicates if weight input should be visible.
The unique identifier for the id
Timestamp when the item was created
The deleted at timestamp
Link or URL reference
The name of the shipping service group