Auctions
Get merchant auction by slug
Get a single auction by its slug
GET
/
alpha
/
merchant
/
auctions
/
{slug}
Get merchant auction by slug
curl --request GET \
--url https://api.auctionnow.io/api/alpha/merchant/auctions/{slug} \
--header 'Authorization: <authorization>'import requests
url = "https://api.auctionnow.io/api/alpha/merchant/auctions/{slug}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.auctionnow.io/api/alpha/merchant/auctions/{slug}', 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.auctionnow.io/api/alpha/merchant/auctions/{slug}",
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: <authorization>"
],
]);
$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.auctionnow.io/api/alpha/merchant/auctions/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
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.auctionnow.io/api/alpha/merchant/auctions/{slug}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.auctionnow.io/api/alpha/merchant/auctions/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"_id": "<string>",
"_creationTime": 123,
"title": "<string>",
"description": "<string>",
"startingPrice": 1,
"startTime": 123,
"endTime": 123,
"shippingCostUS": 1,
"shippingCostInternational": 1,
"bidIncrement": 123,
"partyId": "<string>",
"slug": "<string>",
"handle": "<string>",
"binAble": true,
"binAmount": 123,
"productId": "<string>",
"externalProductId": "<string>",
"externalSubtenantId": "<string>",
"details": {},
"currentBidAmount": 123,
"productUrl": "https://myshop.auctionnow.io/my-product-123",
"isArchived": true,
"bidCount": 123,
"watcherCount": 123
},
"timestamp": 123,
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>"
}⌘I
Get merchant auction by slug
curl --request GET \
--url https://api.auctionnow.io/api/alpha/merchant/auctions/{slug} \
--header 'Authorization: <authorization>'import requests
url = "https://api.auctionnow.io/api/alpha/merchant/auctions/{slug}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.auctionnow.io/api/alpha/merchant/auctions/{slug}', 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.auctionnow.io/api/alpha/merchant/auctions/{slug}",
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: <authorization>"
],
]);
$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.auctionnow.io/api/alpha/merchant/auctions/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
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.auctionnow.io/api/alpha/merchant/auctions/{slug}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.auctionnow.io/api/alpha/merchant/auctions/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"_id": "<string>",
"_creationTime": 123,
"title": "<string>",
"description": "<string>",
"startingPrice": 1,
"startTime": 123,
"endTime": 123,
"shippingCostUS": 1,
"shippingCostInternational": 1,
"bidIncrement": 123,
"partyId": "<string>",
"slug": "<string>",
"handle": "<string>",
"binAble": true,
"binAmount": 123,
"productId": "<string>",
"externalProductId": "<string>",
"externalSubtenantId": "<string>",
"details": {},
"currentBidAmount": 123,
"productUrl": "https://myshop.auctionnow.io/my-product-123",
"isArchived": true,
"bidCount": 123,
"watcherCount": 123
},
"timestamp": 123,
"message": "<string>"
}{
"message": "<string>",
"error": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>"
}