Quote Reseller Order
curl --request POST \
--url https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
[]
]
}
'import requests
url = "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote"
payload = { "items": [[]] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({items: [[]]})
};
fetch('https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote', 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.sellauth.com/v1/customer-dashboard/reseller/orders/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'items' => [
[
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote"
payload := strings.NewReader("{\n \"items\": [\n []\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n []\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"items\": [\n []\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"unique_id": "9f2b3c4d5e6f7",
"currency": "USD",
"price": 225,
"price_usd": 225,
"has_tax_or_fees": false,
"requires_fulfillment": false,
"items": [
{
"product_id": 123,
"product_name": "Example Product",
"variant_id": 456,
"variant_name": "1 Month",
"quantity": 25,
"unit_price": 9,
"total_price": 225,
"reseller_discount": 25
}
],
"balance": 300,
"balance_after": 75,
"can_pay": true,
"expires_at": "2026-07-23T12:15:00.000000Z"
}{
"message": "You are not an approved reseller."
}{
"message": "Out of stock: Example Product - 1 Month."
}{
"message": "Product is not available for resellers."
}Reseller
Quote Reseller Order
Prices an order at your reseller rates and creates the invoice that Pay will charge to your balance. Nothing is deducted here. The quote is payable for 15 minutes; pass price_usd back as quoted_total_usd when paying. All items must share one currency.
POST
/
v1
/
customer-dashboard
/
reseller
/
orders
/
quote
Quote Reseller Order
curl --request POST \
--url https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
[]
]
}
'import requests
url = "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote"
payload = { "items": [[]] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({items: [[]]})
};
fetch('https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote', 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.sellauth.com/v1/customer-dashboard/reseller/orders/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'items' => [
[
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote"
payload := strings.NewReader("{\n \"items\": [\n []\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"items\": [\n []\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/customer-dashboard/reseller/orders/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"items\": [\n []\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"unique_id": "9f2b3c4d5e6f7",
"currency": "USD",
"price": 225,
"price_usd": 225,
"has_tax_or_fees": false,
"requires_fulfillment": false,
"items": [
{
"product_id": 123,
"product_name": "Example Product",
"variant_id": 456,
"variant_name": "1 Month",
"quantity": 25,
"unit_price": 9,
"total_price": 225,
"reseller_discount": 25
}
],
"balance": 300,
"balance_after": 75,
"can_pay": true,
"expires_at": "2026-07-23T12:15:00.000000Z"
}{
"message": "You are not an approved reseller."
}{
"message": "Out of stock: Example Product - 1 Month."
}{
"message": "Product is not available for resellers."
}Authorizations
Authenticate with a customer token, minted server-to-server with POST /v1/shops/{shopId}/customers/{customerId}/token and sent as a Bearer token. Reseller API keys are rejected with a 403 here.
Body
application/json
The items to order, 1 to 20.
Show child attributes
Show child attributes
Example:
[[]]
Response
Example:
true
Example:
"9f2b3c4d5e6f7"
Example:
"USD"
Example:
225
Example:
225
Example:
false
Example:
false
Show child attributes
Show child attributes
Example:
[
{
"product_id": 123,
"product_name": "Example Product",
"variant_id": 456,
"variant_name": "1 Month",
"quantity": 25,
"unit_price": 9,
"total_price": 225,
"reseller_discount": 25
}
]
Example:
300
Example:
75
Example:
true
Example:
"2026-07-23T12:15:00.000000Z"