DocsCatalogueGet All Product Configurations

Get All Product Configurations

GET/api/offering/smartlink

Description

This endpoint returns a paginated list of all the available product configurations for a specific supplier. The returned data can be used to generate a deeplink to preselect the right product configuration on the Create Smartlink endpoint.

Note

The results are paginated with a default limit of 20 and can be controlled by setting the limit query parameter. The paginated results are capped at 1000 results.

Note

Virtual SKUs are only returned for product configurations with a maximum of 8 print areas. Configurations with more than 8 print areas will not include a virtualSkus array in the response.

Authentication

API Key Required

Pass your API key in the X-Api-Key header

Parameters

NameTypeRequiredDescription
supplierstring required Supplier Name Example: PF Concept
limitinteger optional Used to set the pagination size limit (Default: 20)
offsetinteger optional Used to determine the starting point of data to fetch.
virtual-skusboolean optional When set to true, each offering in the response is expanded with a virtualSkus array containing every valid combination of print position subset and print color count. See SKU Concepts for details. Example: true
max-colors-onlyboolean optional When set to true, restricts the virtualSkus array on each result to only the entries whose printColors equals the maximum number of colors available for that offering's print method (e.g. only the 4-color combinations for a 1–4 color screen-print configuration). Ignored unless virtual-skus=true is also set; ignored when virtual-skus is missing or false. Example: true

Response Headers

HeaderDescription
x-pagination-nextURL to fetch the next page of results. Absent when on the last page.
x-pagination-previousURL to fetch the previous page of results. Absent when on the first page.
x-total-recordsTotal number of product configurations matching the query.

Response Fields

Sort fields:
NameTypeRequiredDescription
skustring required The FastEditor SKU identifying this product configuration. Composed of the supplier baseSku and a print method identifier joined by # (format: {baseSku}#{printMethodIdentifier}). It identifies both the physical product and the decoration method, but does not encode print positions or color count — passing it to Create Smartlink without productAttributes lets the user customize all available print areas with the maximum allowed colors. See SKU Concepts for details.
baseSkustring required The supplier's base product SKU without any print configuration encoding. Multiple offerings can share the same baseSku when the product is available with multiple print methods. See SKU Concepts for details.
skuGroupstring required Identifier of the product group this configuration belongs to. Variants of the same product (different colors, sizes, etc.) share the same skuGroup.
printMethodstring required The FastEditor-normalized name of the print method used for this configuration (e.g. Pad printing, Digital printing, Screen printing). The supplier's own label for the same method is returned in supplierPrintMethodName. See the Print Methods guide for the full list of supported values.
printPositionstring required Human-readable label describing the print position(s) included in this configuration. For multi-position configurations, the individual positions are joined together (e.g. front - back).
printPositionsarray of string required List of individual print position codes included in this configuration (e.g. ["front", "back"]). Each entry corresponds to one printable area on the product.
printColorsinteger | string required Number of print colors supported by this configuration. Returned as an integer (e.g. 4) for fixed color counts, or as the string "full-color" for full-color printing.
productColorstring required Human-readable name of the product's base color for this offering (e.g. Grey, Red, Natural).
supplierPrintMethodNamestring required The supplier's own name for the print method used in this configuration. May differ from printMethod, which is the FastEditor-normalized label.
supplierPrintMethodCodestring required The supplier's internal code for the print method, as used in their catalogue.
supplierPrintAreaCodesarray of string required List of supplier-defined codes for each print area included in this configuration. The order matches printPositions.
supplierPrintAreaNamesarray of string required List of supplier-defined human-readable names for each print area included in this configuration. The order matches printPositions.
has3Dboolean required Indicates whether a 3D preview is available in the editor for this product configuration. When true, customers can view their personalized design on a 3D model of the product while editing.
virtualSkusarray of string optional Array of virtual SKU strings, each representing a valid combination of a print position subset and print color count for this offering. Only present when the request includes virtual-skus=true AND the configuration has 8 or fewer print areas. When max-colors-only=true is also set, this array is filtered to only the entries with the maximum print-color count available for the configuration's print method. See SKU Concepts for the format.

Example Request

curl -X GET "https://api.editor.staging.fasteditor.com/api/offering/smartlink?supplier=PF%20Concept&limit=VALUE&offset=VALUE&virtual-skus=true&max-colors-only=true" \
  -H "X-Api-Key: YOUR_API_KEY"

Example Response

200Success
Response Example
[
  {
    "sku": "10029601#1#front#40#35#4",
    "baseSku": "10029601",
    "skuGroup": "100296",
    "printMethod": "Pad printing",
    "printPosition": "front",
    "printPositions": [
      "front"
    ],
    "printColors": 4,
    "productColor": "Grey",
    "supplierPrintMethodName": "Padprint",
    "supplierPrintMethodCode": "1",
    "supplierPrintAreaCodes": [
      "front"
    ],
    "supplierPrintAreaNames": [
      "front"
    ],
    "has3D": true
  },
  {
    "sku": "10029602#1#front#40#35#4",
    "baseSku": "10029602",
    "skuGroup": "100296",
    "printMethod": "Pad printing",
    "printPosition": "front",
    "printPositions": [
      "front"
    ],
    "printColors": 4,
    "productColor": "Red",
    "supplierPrintMethodName": "Padprint",
    "supplierPrintMethodCode": "1",
    "supplierPrintAreaCodes": [
      "front"
    ],
    "supplierPrintAreaNames": [
      "front"
    ],
    "has3D": false
  }
]