latestOpenAPI 3.0.02026-08-105585620.8 KB

18e2f2e178dd

Catalog API

Get Variant

Returns information about a specific Variant and its Product

get/products/variant/{id}

Path parameters

idinteger required

Variant id

Response

OK

codeinteger

Response status code 200

Example response

{
  "code": 200,
  "result": {
    "variant": {
      "id": 100,
      "product_id": 12,
      "name": "Gildan 64000 Unisex Softstyle T-Shirt with Tear Away (Black / 2XL)",
      "size": "2XL",
      "color": "Black",
      "color_code": "#14191e",
      "image": "https://files.cdn.printful.com/products/12/629_1517916489.jpg",
      "price": "9.85",
      "in_stock": true,
      "availability_regions": {
        "US": "USA",
        "EU": "Europe"
      },
      "availability_status": [
        {
          "region": "US",
          "status": "in_stock"
        }
      ],
      "material": [
        {
          "name": "cotton",
          "percentage": 100
        }
      ]
    },
    "product": {
      "id": 13,
      "main_category_id": 24,
      "type": "T-SHIRT",
      "type_name": "T-Shirt",
      "title": "Unisex Staple T-Shirt | Bella + Canvas 3001",
      "brand": "Gildan",
      "model": "2200 Ultra Cotton Tank Top",
      "image": "https://files.cdn.printful.com/products/12/product_1550594502.jpg",
      "variant_count": 30,
      "currency": "EUR",
      "files": [
        {
          "id": "default",
          "type": "front",
          "title": "Front print",
          "additional_price": "2.22",
          "options": [
            {
              "id": "full_color",
              "type": "bool",
              "title": "Unlimited color",
              "additional_price": 3.25
            }
          ]
        }
      ],
      "options": [
        {
          "id": "embroidery_type",
          "title": "Embroidery type",
          "type": "radio",
          "values": {
            "flat": "Flat Embroidery",
            "3d": "3D Puff",
            "both": "Partial 3D Puff"
          },
          "additional_price_breakdown": {
            "flat": "0.00",
            "3d": "0.00",
            "both": "0.00"
          }
        }
      ],
      "avg_fulfillment_time": 4.3,
      "techniques": [
        {
          "key": "DTG",
          "display_name": "DTG printing"
        }
      ],
      "origin_country": "Nicaragua"
    }
  }
}