Core API
...
Core API Docs
Products
Get Product Variant
GET
https://app.sparklayer.io/api/v1/variants/{id}
Live
Path Parameters
id
string
*
Header Parameters
Site-Id
string
*
Responses
200
Successful response
ProductVariant
product_id
string
id
string
created_at
string<date-time>
updated_at
string<date-time>
external_id
string
sku
string
barcode
string
weight_in_grams
number
tax_type
number
position
number
cart_image_url
string
rrp
ProductVariantRRP[]
options
ProductVariantOptions[]
status
string<pending | discontinued | suspended | live>
settings
ProductVariantSettings[]
stock
ProductStock-2[]
default
Error Response
Updated 01 Aug 2024
Did this page help you?