This paper proposes a novel approach to address the evolving landscape of service product design, particularly in collaboration with digital platform operators. By formulating a nonlinear hierarchical interactive optimization model (HIO) based on bilevel programming (BLP), the paper tackles the complexities of joint decision-making between service providers and digital platforms. At the upper level, the model optimizes digital platform selection, product attribute configuration, and pricing to maximize provider profit, while the lower level determines platform participation in codesign to maximize their own profits. Furthermore, a codesign incentive mechanism, encompassing revenue-sharing proportions and platform promotion efforts, is designed to incentivize collaboration.Applied to the tourism industry, the HIO model is solved using a nested genetic algorithm (NGA), allowing for sensitivity analyses on platform contribution and promotion efforts. Results indicate that increased platform participation in codesign may raise configuration complexity and costs for the service agency, potentially impacting profitability. Additionally, higher platform promotion efforts can drive profit growth for both parties, supporting long-term development. Ultimately, the HIO model demonstrates superior performance compared to traditional two-stage method (TSM), underscoring its applicability and effectiveness in addressing codesign challenges between service agencies and digital platforms.