curl --request GET \
--url https://api.snappy.com/public-api/v2/variants/{variantId} \
--header 'X-Api-Key: <api-key>'{
"id": "abc12345",
"title": "Product Title",
"category": "Electronics",
"variants": [
{
"id": "ab6789cd",
"description": "Variant description"
}
]
}Use this API to retrieve a specific product variant.
products:readcurl --request GET \
--url https://api.snappy.com/public-api/v2/variants/{variantId} \
--header 'X-Api-Key: <api-key>'{
"id": "abc12345",
"title": "Product Title",
"category": "Electronics",
"variants": [
{
"id": "ab6789cd",
"description": "Variant description"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.snappy.com/llms.txt
Use this file to discover all available pages before exploring further.
Company level authentication provides access to all resources under your company, including accounts, campaigns, gifts, and recipients.
POST /v2/authentication/apiKeys endpoint to generate a new API keyInclude your API key in the X-Api-Key header for every request:
X-Api-Key: YOUR_24_CHARACTER_API_KEY
For production environments, enable mutual TLS authentication:
enforceMtls: true when creating the API keyhttps://mtls-api.snappy.com/public-apiSource of the request
api_native, api_zapier, api_salesforce, api_ftp, api_make "api_native"
Variant ID
^[A-Za-z0-9]{8,}$"ab6789cd"
Company ID
^[A-Za-z0-9]{8,}$"12345678"
List of additional fields to include in response objects
1The fields to return additionally in response. Valid values are: mediaItems, tags, brand, optionAttributes, notices, pricing, supportedCountries, full.
mediaItems, tags, brand, optionAttributes, notices, pricing, supportedCountries, full ["full"]
Successful response
Response containing variant details.
Product ID
"abc12345"
Product title
"Product Title"
Product category
"Electronics"
Brand information for a product.
Show child attributes
{
"id": "abCd57eFG0",
"name": "Brand Name",
"description": "Brand Description"
}
Media item for a product.
Show child attributes
{
"position": 1,
"type": "image",
"publicCloudinaryId": "bnxjv94tmzq1w8eplk73ua_picture-1.png",
"src": "https://example.com/bnxjv94tmzq1w8eplk73ua_picture-1.png"
}
Product options and attributes.
Show child attributes
{
"takeYourPick": "Rainbow Bagel Making Kit",
"color": "Black",
"size": "S",
"scent": "Lavender",
"flavor": "Chocolate",
"beverageType": "Coffee"
}
Product tags
Show child attributes
Product variants
Show child attributes
Product types
The type of product.
digital, physical, base-product-swag, on-demand-swag, on-demand-plus-swag, premium-swag, experience, personalized Product media items
Show child attributes
Product notices
Show child attributes
{
"shipping": "Ships within 3-5 business days",
"warranty": "1 year warranty"
}
Was this page helpful?