GET /catalog/skus/{sku_id}

Get SKU information by ID. API Reference: Get Sku by ID

Request

Required Path Parameters:

sku_id
required

ID of the sku you are requesting.

Optional Query Parameters:

page

page number for categories you are requesting, if another page exists.

size

maximum number of items to return in this call.

Curl
curl -X GET https://sandbox-api.violet.io/v1/catalog/skus/{sku_id} \
--header "X-Violet-App-Id: your-app-id-here" \
--header "X-Violet-App-Secret: your-app-secret-here" \
--header "X-Violet-Token: your-token-here" \

Response

JSON
Response{
    "id": 10064,
    "offer_id": 10064,
    "merchant_id": 10000,
    "external_id": "13884047425654",
    "name": "GoPro - Karma Quadcopter with HERO6 Black - White - White",
    "in_stock": true,
    "qty_available": 9998,
    "inventory_tracked": true,
    "sale_price": 84999,
    "retail_price": 99999,
    "currency": "USD",
    "taxable": true,
    "tax_type": "DEFAULT",
    "albums": [],
    "variant_values": [
        {
            "variant": "Color",
            "value": "White"
        }
    ],
    "type": "PHYSICAL",
    "status": "AVAILABLE",
    "date_created": "2018-08-15T15:56:31+0000",
    "date_last_modified": "2022-05-12T16:30:20+0000",
    "sku_dimensions": {
        "weight": 13.45,
        "type": "SKU"
    }
}

Was this page helpful?