Skip to main content
Retrieves all available charges and fees that can be applied to a product order, including setup fees, decoration charges, and other applicable costs.

Method signature

await client.productPricingAndConfiguration.getAvailableCharges(params)

Parameters

productId
string
The unique identifier for the product. If not provided, returns all general charges.
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 charges, including:
  • Charge identifier and name
  • Charge type (setup, run, additional)
  • Description of the charge
  • Pricing information
  • Applicable conditions
  • Quantity-based pricing tiers

Example

const charges =
  await client.productPricingAndConfiguration.getAvailableCharges({
    productId: 'item_id',
    localizationCountry: 'US',
    localizationLanguage: 'en',
  });

console.log(charges);

Build docs developers (and LLMs) love