Skip to main content
Retrieves all available decoration colors for a specific decoration location on a product, including color codes and names.

Method signature

await client.productPricingAndConfiguration.getDecorationColors(params)

Parameters

locationId
string
required
The decoration location identifier
productId
string
required
The unique identifier for the product
decorationId
string
The specific decoration method identifier
localizationCountry
string
required
Country code for localization (e.g., “US”, “CA”)
localizationLanguage
string
required
Language code for localization (e.g., “en”, “fr”)

Returns

Returns a promise that resolves to an array of available decoration colors, including:
  • Color identifier and name
  • Color codes (Pantone, RGB, hex)
  • Color availability status
  • Color-specific pricing information
  • Color swatches or images

Example

const colors =
  await client.productPricingAndConfiguration.getDecorationColors({
    locationId: 'FRONT',
    productId: 'item_id',
    localizationCountry: 'US',
    localizationLanguage: 'en',
  });

console.log(colors);

Build docs developers (and LLMs) love