ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Parameters

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  workOrderId: string;
                  finishedProductId: null;
                  latestCost: null;
                  costHistory: never[];
              },
          >
          | NextResponse<
              {
                  workOrderId: string;
                  finishedProductId: string;
                  latestCost: {};
                  costHistory: {}[];
              },
          >,
      >