Type Alias LayoutPricesSuccessResponse

LayoutPricesSuccessResponse: {
    error?: never;
    layout: {
        priceScales: PriceScale[];
        taxCategory?: TaxCategory;
    };
    requestId: string;
    success?: true;
    tecsafeServices: (UnitPricing & {
        serviceId: string;
        taxCategory?: TaxCategory;
    })[];
}

Customer-specific prices in the session's currency and gross/net mode. Preserve requestId and serviceId so the widget can correlate the response. Preserve TECSAFE allowances and charges and include any shop adjustments. Tax categories, when supplied, refer to the session configuration.

Type declaration

  • Optionalerror?: never
  • layout: {
        priceScales: PriceScale[];
        taxCategory?: TaxCategory;
    }
  • requestId: string
  • Optionalsuccess?: true

    Omitted by existing integrations; both absence and true indicate success.

  • tecsafeServices: (UnitPricing & {
        serviceId: string;
        taxCategory?: TaxCategory;
    })[]