Interact with Catalogs
Get Details about a SKU
Get details about a SKU given SKU ID
GET
/
catalog
/
skus
/
{sku_id}
Header
Path
Query
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/skus/{sku_id}
{
"id": 123,
"offer_id": 123,
"merchant_id": 123,
"external_id": "<string>",
"name": "<string>",
"asin": "<string>",
"gtin": "<string>",
"upc": "<string>",
"ean": "<string>",
"isbn": "<string>",
"in_stock": true,
"quantity_available": 123,
"inventory_tracked": true,
"sale_price": 123,
"retail_price": 123,
"currency": "<string>",
"presented_currency": "<string>",
"taxable": true,
"tax_type": "default",
"albums": [
{
"id": 123,
"parent_id": 123,
"type": "OFFER",
"name": "<string>",
"media": [],
"primary_media": {
"album_id": 123
}
}
],
"variant_values": [
{
"variant": "<string>",
"value": "<string>"
}
],
"type": "physical",
"status": "AVAILABLE",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"sku_dimensions": {
"sku_id": 123,
"weight": 123,
"height": 123,
"width": 123,
"length": 123,
"type": "SKU"
},
"display_order": 123
}
Note: For more details on this endpoint and the other possible filter options it can take, please refer to the API Reference
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
sku_id
integer
requiredQuery Parameters
base_currency
string
default: USDResponse
200 - application/json
id
integer
offer_id
integer
requiredID of the Offer
merchant_id
integer
requiredID of the Merchant
external_id
string
ID of the SKU on the External Ecom Platform
name
string
Sku Name
asin
string
Amazon Standard Identification Number
gtin
string
Global Trade Item Number
upc
string
Universal Product Code
ean
string
European Article Number
isbn
string
International Standard Book Number
in_stock
boolean
Is the Product in Stock
quantity_available
integer
Quantity Available
inventory_tracked
boolean
Is the SKUs inventory tracked
sale_price
integer
requiredSale Price of the SKU
retail_price
integer
Retail Price of the SKU
currency
string
requiredThe base currency of this SKU
presented_currency
string
The presented currency of this SKU
taxable
boolean
Is the product taxable
tax_type
enum<string>
Type of Tax on this SKU
Available options:
default
, apparel
, service
albums
object[]
Sku Albums
variant_values
object[]
Variant Values that apply to this SKU
type
enum<string>
requiredAvailable options:
physical
, digital
, virtual
status
enum<string>
SKU Status
Available options:
AVAILABLE
, UNAVAILABLE
, DISABLED_AVAILABLE
, DISABLED_UNAVAILABLE
, ARCHIVED
, FOR_DELETION
date_created
string
Date of SKU creation
date_last_modified
string
Date of last SKU update
sku_dimensions
object
Individual Sku Dimensions
display_order
integer
Order to display SKU
Was this page helpful?
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/skus/{sku_id}
{
"id": 123,
"offer_id": 123,
"merchant_id": 123,
"external_id": "<string>",
"name": "<string>",
"asin": "<string>",
"gtin": "<string>",
"upc": "<string>",
"ean": "<string>",
"isbn": "<string>",
"in_stock": true,
"quantity_available": 123,
"inventory_tracked": true,
"sale_price": 123,
"retail_price": 123,
"currency": "<string>",
"presented_currency": "<string>",
"taxable": true,
"tax_type": "default",
"albums": [
{
"id": 123,
"parent_id": 123,
"type": "OFFER",
"name": "<string>",
"media": [],
"primary_media": {
"album_id": 123
}
}
],
"variant_values": [
{
"variant": "<string>",
"value": "<string>"
}
],
"type": "physical",
"status": "AVAILABLE",
"date_created": "2023-11-07T05:31:56Z",
"date_last_modified": "2023-11-07T05:31:56Z",
"sku_dimensions": {
"sku_id": 123,
"weight": 123,
"height": 123,
"width": 123,
"length": 123,
"type": "SKU"
},
"display_order": 123
}