List Shipping Dimensions
curl --request GET \
--url https://production-api.puppetvendors.com/shipping/dimensions \
--header 'x-access-token: <api-key>'import requests
url = "https://production-api.puppetvendors.com/shipping/dimensions"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://production-api.puppetvendors.com/shipping/dimensions', 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://production-api.puppetvendors.com/shipping/dimensions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <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://production-api.puppetvendors.com/shipping/dimensions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<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://production-api.puppetvendors.com/shipping/dimensions")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.puppetvendors.com/shipping/dimensions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_bodyShipping Operations
List Shipping Dimensions
Retrieve saved shipping dimension presets
GET
/
shipping
/
dimensions
List Shipping Dimensions
curl --request GET \
--url https://production-api.puppetvendors.com/shipping/dimensions \
--header 'x-access-token: <api-key>'import requests
url = "https://production-api.puppetvendors.com/shipping/dimensions"
headers = {"x-access-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};
fetch('https://production-api.puppetvendors.com/shipping/dimensions', 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://production-api.puppetvendors.com/shipping/dimensions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <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://production-api.puppetvendors.com/shipping/dimensions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-access-token", "<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://production-api.puppetvendors.com/shipping/dimensions")
.header("x-access-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production-api.puppetvendors.com/shipping/dimensions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'
response = http.request(request)
puts response.read_bodyV2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Retrieve saved shipping dimension presets for the vendor. Dimensions can be generic (reusable across products) or product-specific. These presets pre-fill package dimensions when fetching shipping rates.Use Cases
- List available dimension presets for a rate-fetch UI
- Filter product-specific dimensions for a particular product
- Audit saved dimension configurations
Query Parameters
string
Filter by dimension type. Must be
generic or productSpecific.string
Filter by Shopify product ID. Typically used with
type=productSpecific.string
Filter by dimension preset title.
Response
200
{
"success": true,
"data": [
{
"_id": "665a1b2e3d98f0001a2b3c50",
"type": "generic",
"title": "Small Box",
"dimensionUnit": "in",
"heightValue": 4,
"widthValue": 6,
"lengthValue": 8
},
{
"_id": "665a1b2e3d98f0001a2b3c51",
"type": "productSpecific",
"productId": "7890123456",
"title": "Widget Packaging",
"dimensionUnit": "cm",
"heightValue": 10,
"widthValue": 15,
"lengthValue": 20
}
]
}
Example
curl -X GET "https://production-api.puppetvendors.com/shipping/dimensions?type=generic" \
-H "x-access-token: YOUR_VENDOR_TOKEN"
Was this page helpful?